diff --git a/Cargo.toml b/Cargo.toml index b941f2d..799dcc9 100644 --- a/Cargo.toml +++ b/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 diff --git a/README.md b/README.md index 08107a5..c1889b4 100644 --- a/README.md +++ b/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 diff --git a/tests/smoke.rs b/tests/smoke.rs index 70e3018..7b5e39d 100644 --- a/tests/smoke.rs +++ b/tests/smoke.rs @@ -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); }