Minor linting and README changes
This commit is contained in:
parent
d2accbd38d
commit
df61b2c779
3 changed files with 24 additions and 24 deletions
31
Cargo.toml
31
Cargo.toml
|
|
@ -11,13 +11,13 @@ documentation = "https://en.jutty.dev/node/Documentation"
|
|||
edition = "2024"
|
||||
rust-version= "1.91.1"
|
||||
|
||||
[package.metadata.bacon.jobs.fmt-check]
|
||||
command = [ "cargo", "fmt", "--check", "--", "--color=always" ]
|
||||
need_stdout = true
|
||||
|
||||
[package.metadata.bacon.jobs.fmt]
|
||||
command = [ "cargo", "fmt" ]
|
||||
need_stdout = true
|
||||
[dependencies]
|
||||
axum = "0.8.7"
|
||||
tokio = { version = "1.48.0", features = ["rt-multi-thread"] }
|
||||
tera = { version = "1.20.1", features = ["builtins"] }
|
||||
serde_json = "1.0.145"
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
toml = "0.9.8"
|
||||
|
||||
[lints.rust]
|
||||
# levels: allow, expect, warn, force-warn, deny, forbid
|
||||
|
|
@ -28,14 +28,6 @@ nonstandard-style = "warn"
|
|||
future-incompatible = "warn"
|
||||
keyword-idents = "warn"
|
||||
|
||||
[dependencies]
|
||||
axum = "0.8.7"
|
||||
tokio = { version = "1.48.0", features = ["rt-multi-thread"] }
|
||||
tera = { version = "1.20.1", features = ["builtins"] }
|
||||
serde_json = "1.0.145"
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
toml = "0.9.8"
|
||||
|
||||
[lints.clippy]
|
||||
# levels: allow, warn, deny, forbid
|
||||
|
||||
|
|
@ -154,7 +146,6 @@ arithmetic_side_effects = "warn"
|
|||
as_conversions = "warn"
|
||||
as_pointer_underscore = "warn"
|
||||
as_underscore = "warn"
|
||||
default_numeric_fallback = "warn"
|
||||
deref_by_slicing = "warn"
|
||||
empty_drop = "warn"
|
||||
empty_enum_variants_with_brackets = "warn"
|
||||
|
|
@ -210,3 +201,11 @@ wildcard_enum_match_arm = "warn"
|
|||
# cargo
|
||||
negative_feature_names = "warn"
|
||||
redundant_feature_names = "warn"
|
||||
|
||||
[package.metadata.bacon.jobs.fmt-check]
|
||||
command = [ "cargo", "fmt", "--check", "--", "--color=always" ]
|
||||
need_stdout = true
|
||||
|
||||
[package.metadata.bacon.jobs.fmt]
|
||||
command = [ "cargo", "fmt" ]
|
||||
need_stdout = true
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -10,11 +10,11 @@ You can learn more and see what en looks like by visiting the [homepage](https:/
|
|||
|
||||
## Roadmap
|
||||
|
||||
- [ ] Strip/render some syntax in Tree text preview
|
||||
- [ ] Add tests
|
||||
- [ ] Richer text formatting
|
||||
- [x] Headers
|
||||
- [x] Preformatted blocks
|
||||
- [ ] Inline code
|
||||
- [x] Inline code
|
||||
- [x] Anchor rendering
|
||||
- [ ] Automatic anchors
|
||||
- [x] External anchors
|
||||
|
|
@ -22,18 +22,19 @@ You can learn more and see what en looks like by visiting the [homepage](https:/
|
|||
- [ ] Lists
|
||||
- [ ] Checkboxes
|
||||
- [ ] Move this roadmap to en
|
||||
- [ ] Begin centralizing state
|
||||
- [ ] Render to filesystem
|
||||
- [ ] Full-text search
|
||||
- [ ] Connection kinds
|
||||
- [ ] Mutual
|
||||
- [ ] Category <-> Membership
|
||||
- [ ] Opposite <-> Equivalent
|
||||
- [ ] Contrast <-> Similar
|
||||
- [ ] Cognate <-> Unrelated
|
||||
- [ ] Specialization <-> Generalization
|
||||
- [ ] Custom connection kinds
|
||||
- [ ] Strip/render some syntax in Tree text preview
|
||||
- [ ] Begin centralizing state
|
||||
- [ ] Full-text search
|
||||
- [ ] Render to filesystem
|
||||
- [ ] Reduce O(n) calls in the formats module
|
||||
- [ ] Add tests
|
||||
- [ ] Multi-file graphs
|
||||
- [ ] Multi-graph
|
||||
- [ ] Themes
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#[test]
|
||||
fn add() {
|
||||
let e = 0_i32;
|
||||
let n = 0_i32;
|
||||
let e = 0;
|
||||
let n = 0;
|
||||
assert_eq!(e, n);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue