online Minecraft written book viewer

refactor: prepare for sub-projects

kokirigla.de 2369d66c 0c4853e8

verified
+92 -43
+34 -20
Cargo.lock
··· 291 291 ] 292 292 293 293 [[package]] 294 + name = "borsh" 295 + version = "1.6.0" 296 + source = "registry+https://github.com/rust-lang/crates.io-index" 297 + checksum = "d1da5ab77c1437701eeff7c88d968729e7766172279eab0676857b3d63af7a6f" 298 + dependencies = [ 299 + "cfg_aliases", 300 + ] 301 + 302 + [[package]] 294 303 name = "brotli" 295 304 version = "8.0.2" 296 305 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 346 355 version = "1.0.4" 347 356 source = "registry+https://github.com/rust-lang/crates.io-index" 348 357 checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 358 + 359 + [[package]] 360 + name = "cfg_aliases" 361 + version = "0.2.1" 362 + source = "registry+https://github.com/rust-lang/crates.io-index" 363 + checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 349 364 350 365 [[package]] 351 366 name = "chrono" ··· 600 615 601 616 [[package]] 602 617 name = "foldhash" 603 - version = "0.1.5" 618 + version = "0.2.0" 604 619 source = "registry+https://github.com/rust-lang/crates.io-index" 605 - checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" 620 + checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" 606 621 607 622 [[package]] 608 623 name = "form_urlencoded" ··· 672 687 673 688 [[package]] 674 689 name = "hashbrown" 675 - version = "0.15.5" 690 + version = "0.16.1" 676 691 source = "registry+https://github.com/rust-lang/crates.io-index" 677 - checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" 692 + checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" 678 693 dependencies = [ 679 694 "allocator-api2", 680 695 "equivalent", ··· 682 697 ] 683 698 684 699 [[package]] 685 - name = "hashbrown" 686 - version = "0.16.1" 687 - source = "registry+https://github.com/rust-lang/crates.io-index" 688 - checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" 689 - 690 - [[package]] 691 700 name = "heck" 692 701 version = "0.5.0" 693 702 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 912 921 913 922 [[package]] 914 923 name = "lru" 915 - version = "0.12.5" 924 + version = "0.16.3" 916 925 source = "registry+https://github.com/rust-lang/crates.io-index" 917 - checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" 926 + checksum = "a1dc47f592c06f33f8e3aea9591776ec7c9f9e4124778ff8a3c3b87159f7e593" 918 927 dependencies = [ 919 - "hashbrown 0.15.5", 928 + "hashbrown 0.16.1", 920 929 ] 921 930 922 931 [[package]] ··· 984 993 "tracing", 985 994 "tracing-subscriber", 986 995 ] 996 + 997 + [[package]] 998 + name = "nara_text" 999 + version = "0.1.0" 987 1000 988 1001 [[package]] 989 1002 name = "nu-ansi-term" ··· 1258 1271 1259 1272 [[package]] 1260 1273 name = "serde_with" 1261 - version = "3.16.1" 1274 + version = "3.17.0" 1262 1275 source = "registry+https://github.com/rust-lang/crates.io-index" 1263 - checksum = "4fa237f2807440d238e0364a218270b98f767a00d3dada77b1c53ae88940e2e7" 1276 + checksum = "381b283ce7bc6b476d903296fb59d0d36633652b633b27f64db4fb46dcbfc3b9" 1264 1277 dependencies = [ 1265 1278 "base64", 1266 1279 "chrono", ··· 1277 1290 1278 1291 [[package]] 1279 1292 name = "serde_with_macros" 1280 - version = "3.16.1" 1293 + version = "3.17.0" 1281 1294 source = "registry+https://github.com/rust-lang/crates.io-index" 1282 - checksum = "52a8e3ca0ca629121f70ab50f95249e5a6f925cc0f6ffe8256c45b728875706c" 1295 + checksum = "a6d4e30573c8cb306ed6ab1dca8423eec9a463ea0e155f45399455e0368b27e0" 1283 1296 dependencies = [ 1284 1297 "darling", 1285 1298 "proc-macro2", ··· 1343 1356 1344 1357 [[package]] 1345 1358 name = "smol_str" 1346 - version = "0.2.2" 1359 + version = "0.3.5" 1347 1360 source = "registry+https://github.com/rust-lang/crates.io-index" 1348 - checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" 1361 + checksum = "0f7a918bd2a9951d18ee6e48f076843e8e73a9a5d22cf05bcd4b7a81bdd04e17" 1349 1362 dependencies = [ 1350 - "serde", 1363 + "borsh", 1364 + "serde_core", 1351 1365 ] 1352 1366 1353 1367 [[package]]
+54 -23
Cargo.toml
··· 1 + [workspace] 2 + resolver = "3" 3 + members = ["nara_text"] 4 + 5 + [workspace.package] 6 + version = "0.1.0" 7 + edition = "2024" 8 + 9 + [workspace.dependencies] 10 + ahash = "=0.8.12" 11 + anyhow = "=1.0.102" 12 + askama = "=0.15.4" 13 + askama_web = { version = "=0.15.1", features = ["axum-0.8", "tracing-0.1"] } 14 + axum = "=0.8.8" 15 + clap = { version = "=4.5.60", features = ["derive"] } 16 + crab_nbt = { version = "=0.2.11", features = ["serde"] } 17 + hex = "=0.4.3" 18 + html-escape = "=0.2.13" 19 + lru = "=0.16.3" 20 + serde = { version = "=1.0.228", features = ["derive"] } 21 + serde_json = "=1.0.149" 22 + serde_with = "=3.17.0" 23 + sha1 = "=0.11.0-rc.5" 24 + smol_str = "=0.3.5" 25 + strsim = "=0.11.1" 26 + thiserror = "=2.0.18" 27 + tokio = { version = "=1.49.0", features = ["full"] } 28 + tower-http = { version = "=0.6.8", features = ["compression-full"] } 29 + tracing = "=0.1.44" 30 + tracing-subscriber = "=0.3.22" 31 + 1 32 [package] 2 33 name = "nara" 3 - version = "0.1.0" 4 - edition = "2024" 34 + version.workspace = true 35 + edition.workspace = true 5 36 6 37 [dependencies] 7 - ahash = "0.8" 8 - anyhow = "1.0" 9 - askama = "0.15" 10 - askama_web = { version = "0.15", features = ["axum-0.8", "tracing-0.1"] } 11 - axum = "0.8" 12 - clap = { version = "4.5", features = ["derive"] } 13 - crab_nbt = { version = "0.2", features = ["serde"] } 14 - hex = "0.4" 15 - html-escape = "0.2" 16 - lru = "0.12" 17 - serde = { version = "1.0", features = ["derive"] } 18 - serde_json = "1.0" 19 - serde_with = "3.16" 20 - sha1 = "0.11.0-rc.5" 21 - smol_str = "0.2" 22 - strsim = "0.11" 23 - thiserror = "2.0" 24 - tokio = { version = "1.0", features = ["full"] } 25 - tower-http = { version = "0.6", features = ["compression-full"] } 26 - tracing = "0.1" 27 - tracing-subscriber = "0.3" 38 + ahash.workspace = true 39 + anyhow.workspace = true 40 + askama.workspace = true 41 + askama_web.workspace = true 42 + axum.workspace = true 43 + clap.workspace = true 44 + crab_nbt.workspace = true 45 + hex.workspace = true 46 + html-escape.workspace = true 47 + lru.workspace = true 48 + serde.workspace = true 49 + serde_json.workspace = true 50 + serde_with.workspace = true 51 + sha1.workspace = true 52 + smol_str.workspace = true 53 + strsim.workspace = true 54 + thiserror.workspace = true 55 + tokio.workspace = true 56 + tower-http.workspace = true 57 + tracing.workspace = true 58 + tracing-subscriber.workspace = true
+4
nara_text/Cargo.toml
··· 1 + [package] 2 + name = "nara_text" 3 + version.workspace = true 4 + edition.workspace = true
nara_text/src/lib.rs

This is a binary file and will not be displayed.