diff --git a/Cargo.lock b/Cargo.lock index 78843c6f..dc6fa2bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,12 +11,6 @@ dependencies = [ "gimli", ] -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "adler2" version = "2.0.1" @@ -340,7 +334,7 @@ dependencies = [ "tower", "tower-layer", "tower-service", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -359,7 +353,7 @@ dependencies = [ "sync_wrapper", "tower-layer", "tower-service", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -411,7 +405,7 @@ dependencies = [ "addr2line", "cfg-if", "libc", - "miniz_oxide 0.8.9", + "miniz_oxide", "object", "rustc-demangle", "windows-link", @@ -676,17 +670,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" -[[package]] -name = "chacha20" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" -dependencies = [ - "cfg-if", - "cpufeatures 0.3.0", - "rand_core 0.10.0", -] - [[package]] name = "chrono" version = "0.4.44" @@ -866,14 +849,14 @@ checksum = "75984efb6ed102a0d42db99afb6c1948f0380d1d91808d5529916e6c08b49d8d" [[package]] name = "console" -version = "0.15.11" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" +checksum = "03e45a4a8926227e4197636ba97a9fc9b00477e9f4bd711395687c5f0734bec4" dependencies = [ "encode_unicode", "libc", "once_cell", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -905,7 +888,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "688d7fbb8092b8de775ef2536f36c8c31f2bc4006ece2e8d8ad2d17d00ce0a2a" dependencies = [ "loom", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -952,15 +935,6 @@ dependencies = [ "libc", ] -[[package]] -name = "cpufeatures" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" -dependencies = [ - "libc", -] - [[package]] name = "crc32fast" version = "1.5.0" @@ -1012,14 +986,15 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crossterm" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6" +checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b" dependencies = [ "bitflags", "crossterm_winapi", + "document-features", "parking_lot", - "rustix 0.38.44", + "rustix", "winapi", ] @@ -1067,13 +1042,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures", "curve25519-dalek-derive", "digest", "fiat-crypto", "rustc_version", "subtle", - "zeroize", ] [[package]] @@ -1282,6 +1256,15 @@ dependencies = [ "syn", ] +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + [[package]] name = "dunce" version = "1.0.5" @@ -1321,10 +1304,8 @@ dependencies = [ "curve25519-dalek", "ed25519", "rand_core 0.6.4", - "serde", "sha2", "subtle", - "zeroize", ] [[package]] @@ -1506,7 +1487,7 @@ dependencies = [ "bit_field", "half", "lebe", - "miniz_oxide 0.8.9", + "miniz_oxide", "rayon-core", "smallvec", "zune-inflate", @@ -1587,7 +1568,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" dependencies = [ "crc32fast", - "miniz_oxide 0.8.9", + "miniz_oxide", ] [[package]] @@ -1810,7 +1791,6 @@ dependencies = [ "js-sys", "libc", "r-efi", - "rand_core 0.10.0", "wasip2", "wasip3", "wasm-bindgen", @@ -1902,7 +1882,7 @@ dependencies = [ "slab", "tokio", "tokio-util", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -2029,7 +2009,7 @@ dependencies = [ "thiserror 2.0.18", "tinyvec", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "url", ] @@ -2051,7 +2031,7 @@ dependencies = [ "smallvec", "thiserror 2.0.18", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -2182,7 +2162,7 @@ dependencies = [ "system-configuration", "tokio", "tower-service", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "windows-registry", ] @@ -2504,9 +2484,9 @@ dependencies = [ "serde_json", "smol_str", "thiserror 2.0.18", - "tiff 0.6.1", + "tiff 0.11.3", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "trait-variant", "url", "viuer", @@ -2548,7 +2528,7 @@ dependencies = [ "k256", "miette", "multibase", - "rand 0.8.5", + "rand 0.9.2", "reqwest", "serde", "serde_html_form", @@ -2557,8 +2537,8 @@ dependencies = [ "tokio", "tower", "tower-http", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing-subscriber 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", + "tracing-subscriber", ] [[package]] @@ -2590,7 +2570,7 @@ dependencies = [ "oxilangtag", "p256", "postcard", - "rand 0.10.0", + "rand 0.9.2", "regex", "regex-automata", "regex-lite", @@ -2607,7 +2587,7 @@ dependencies = [ "tokio", "tokio-tungstenite-wasm", "tokio-util", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "trait-variant", "url", "zstd", @@ -2650,7 +2630,7 @@ dependencies = [ "serde_json", "thiserror 2.0.18", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "trait-variant", "url", "urlencoding", @@ -2730,6 +2710,7 @@ dependencies = [ "n0-future", "p256", "rand 0.8.5", + "rand_core 0.6.4", "rouille", "serde", "serde_html_form", @@ -2738,7 +2719,7 @@ dependencies = [ "smol_str", "thiserror 2.0.18", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "trait-variant", "url", "webbrowser", @@ -2761,7 +2742,7 @@ dependencies = [ "multihash", "n0-future", "p256", - "rand 0.8.5", + "rand 0.9.2", "serde", "serde_bytes", "serde_ipld_dagcbor", @@ -2843,12 +2824,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "jpeg-decoder" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229d53d58899083193af11e15917b5640cd40b29ff475a1fe4ef725deb02d0f2" - [[package]] name = "js-sys" version = "0.3.91" @@ -2907,10 +2882,8 @@ dependencies = [ "serde", "serde_bytes", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing 0.1.44 (git+https://github.com/tokio-rs/tracing)", - "tracing-subscriber 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing-subscriber 0.3.22 (git+https://github.com/tokio-rs/tracing)", + "tracing", + "tracing-subscriber", ] [[package]] @@ -2968,12 +2941,6 @@ dependencies = [ "redox_syscall 0.7.3", ] -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - [[package]] name = "linux-raw-sys" version = "0.12.1" @@ -2986,6 +2953,12 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" +[[package]] +name = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" + [[package]] name = "lock_api" version = "0.4.14" @@ -3010,8 +2983,8 @@ dependencies = [ "cfg-if", "generator", "scoped-tls", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing-subscriber 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", + "tracing-subscriber", ] [[package]] @@ -3053,7 +3026,7 @@ dependencies = [ "mycelium-bitfield", "pin-project", "portable-atomic", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -3184,7 +3157,7 @@ dependencies = [ "crossbeam-channel", "crossbeam-utils", "dashmap", - "getrandom 0.2.17", + "getrandom 0.4.1", "once_cell", "smallvec", "tagptr", @@ -3204,16 +3177,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "miniz_oxide" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" -dependencies = [ - "adler", - "autocfg", -] - [[package]] name = "miniz_oxide" version = "0.8.9" @@ -3790,7 +3753,7 @@ dependencies = [ "crc32fast", "fdeflate", "flate2", - "miniz_oxide 0.8.9", + "miniz_oxide", ] [[package]] @@ -3974,7 +3937,7 @@ dependencies = [ "socket2 0.6.2", "thiserror 2.0.18", "tokio", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "web-time", ] @@ -3996,7 +3959,7 @@ dependencies = [ "slab", "thiserror 2.0.18", "tinyvec", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "web-time", ] @@ -4010,7 +3973,7 @@ dependencies = [ "libc", "once_cell", "socket2 0.6.2", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", "windows-sys 0.60.2", ] @@ -4050,17 +4013,6 @@ dependencies = [ "rand_core 0.9.5", ] -[[package]] -name = "rand" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" -dependencies = [ - "chacha20", - "getrandom 0.4.1", - "rand_core 0.10.0", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -4099,12 +4051,6 @@ dependencies = [ "getrandom 0.3.4", ] -[[package]] -name = "rand_core" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" - [[package]] name = "rand_xorshift" version = "0.4.0" @@ -4414,19 +4360,6 @@ dependencies = [ "semver", ] -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" -dependencies = [ - "bitflags", - "errno", - "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", -] - [[package]] name = "rustix" version = "1.1.4" @@ -4436,7 +4369,7 @@ dependencies = [ "bitflags", "errno", "libc", - "linux-raw-sys 0.12.1", + "linux-raw-sys", "windows-sys 0.61.2", ] @@ -4790,7 +4723,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures", "digest", ] @@ -4807,7 +4740,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures", "digest", ] @@ -5077,7 +5010,7 @@ dependencies = [ "fastrand", "getrandom 0.4.1", "once_cell", - "rustix 1.1.4", + "rustix", "windows-sys 0.61.2", ] @@ -5107,7 +5040,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" dependencies = [ - "rustix 1.1.4", + "rustix", "windows-sys 0.60.2", ] @@ -5181,27 +5114,30 @@ dependencies = [ [[package]] name = "tiff" -version = "0.6.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a53f4706d65497df0c4349241deddf35f84cee19c87ed86ea8ca590f4464437" +checksum = "af9605de7fee8d9551863fd692cce7637f548dbd9db9180fcc07ccc6d26c336f" dependencies = [ - "jpeg-decoder", - "miniz_oxide 0.4.4", + "fax", + "flate2", + "half", + "quick-error 2.0.1", "weezl", + "zune-jpeg 0.4.21", ] [[package]] name = "tiff" -version = "0.10.3" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af9605de7fee8d9551863fd692cce7637f548dbd9db9180fcc07ccc6d26c336f" +checksum = "b63feaf3343d35b6ca4d50483f94843803b0f51634937cc2ec519fc32232bc52" dependencies = [ "fax", "flate2", "half", "quick-error 2.0.1", "weezl", - "zune-jpeg 0.4.21", + "zune-jpeg 0.5.12", ] [[package]] @@ -5414,7 +5350,7 @@ dependencies = [ "tokio", "tower-layer", "tower-service", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -5438,7 +5374,7 @@ dependencies = [ "tower", "tower-layer", "tower-service", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] @@ -5461,18 +5397,8 @@ checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" dependencies = [ "log", "pin-project-lite", - "tracing-attributes 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing-core 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "tracing" -version = "0.1.44" -source = "git+https://github.com/tokio-rs/tracing#efc690fa6bd1d9c3a57528b9bc8ac80504a7a6ed" -dependencies = [ - "pin-project-lite", - "tracing-attributes 0.1.31 (git+https://github.com/tokio-rs/tracing)", - "tracing-core 0.1.36 (git+https://github.com/tokio-rs/tracing)", + "tracing-attributes", + "tracing-core", ] [[package]] @@ -5486,16 +5412,6 @@ dependencies = [ "syn", ] -[[package]] -name = "tracing-attributes" -version = "0.1.31" -source = "git+https://github.com/tokio-rs/tracing#efc690fa6bd1d9c3a57528b9bc8ac80504a7a6ed" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "tracing-core" version = "0.1.36" @@ -5506,14 +5422,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-core" -version = "0.1.36" -source = "git+https://github.com/tokio-rs/tracing#efc690fa6bd1d9c3a57528b9bc8ac80504a7a6ed" -dependencies = [ - "valuable", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -5522,17 +5430,7 @@ checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ "log", "once_cell", - "tracing-core 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "git+https://github.com/tokio-rs/tracing#efc690fa6bd1d9c3a57528b9bc8ac80504a7a6ed" -dependencies = [ - "log", - "once_cell", - "tracing-core 0.1.36 (git+https://github.com/tokio-rs/tracing)", + "tracing-core", ] [[package]] @@ -5549,26 +5447,9 @@ dependencies = [ "smallvec", "thread_local", "time", - "tracing 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing-core 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", - "tracing-log 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.22" -source = "git+https://github.com/tokio-rs/tracing#efc690fa6bd1d9c3a57528b9bc8ac80504a7a6ed" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex-automata", - "sharded-slab", - "smallvec", - "thread_local", - "tracing 0.1.44 (git+https://github.com/tokio-rs/tracing)", - "tracing-core 0.1.36 (git+https://github.com/tokio-rs/tracing)", - "tracing-log 0.2.0 (git+https://github.com/tokio-rs/tracing)", + "tracing", + "tracing-core", + "tracing-log", ] [[package]] @@ -5812,16 +5693,15 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "viuer" -version = "0.9.2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ae7c6870b98c838123f22cac9a594cbe2d74ea48d79271c08f8c9e680b40fac" +checksum = "da3a696d8afebb0cae4b263ff8cae3286b20ea88df0a82187b13ee6fe8398dce" dependencies = [ "ansi_colours", "base64 0.22.1", "console", "crossterm", "image", - "lazy_static", "tempfile", "termcolor", ] @@ -6220,15 +6100,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-sys" version = "0.60.2" diff --git a/Cargo.toml b/Cargo.toml index 4626c41e..3a17eed1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,9 +34,11 @@ serde_html_form = { version = "0.3", default-features = false } serde_ipld_dagcbor = { version = "0.6", default-features = false } serde_repr = { version = "0.1" } serde_bytes = { version = "0.11", default-features = false } +serde_path_to_error = "0.1" facet = "0.6" facet-json = "0.6" cfg-if = "1.0" +anyhow = "1.0" # Error handling miette = "7.6" @@ -54,18 +56,34 @@ smol_str = { version = "0.3", features = ["serde"] } url = { version = "2.5", default-features = false, features = ["serde"] } cid = { version = "0.11.1", default-features = false, features = ["serde", "alloc"] } ipld-core = { version = "0.4.3", default-features = false, features = ["serde"] } +multibase = { version = "0.9.1", default-features = false } multihash = { version = "0.19", default-features = false, features = ["alloc"] } dashmap = "6.1" mini-moka = "0.10" indexmap = { version = "*", default-features = false, features = ["alloc"] } +iroh-car = "0.5" +smallvec = "1.15" +ouroboros = "0.18" +maitake-sync = { version = "0.2", default-features = false } +spin = { version = "0.10", default-features = false } +hashbrown = { version = "0.16" } +once_cell = "1.21" +crossbeam-channel = "0.5" +crossbeam-utils = "0.8" +tagptr = "0.2" # Proc macros proc-macro2 = "1.0" quote = "1.0" syn = "2.0" heck = "0.5" +inventory = "0.3" itertools = "0.14" prettyplease = "0.2" +proptest = "1.10" +tempfile = "3.26" +glob = "0.3" +walkdir = "2.5" # HTTP http = { version = "1.4", default-features = false } @@ -73,18 +91,19 @@ reqwest = { version = "0.13", default-features = false } # Async and runtimes tokio = { version = "1", default-features = false } +futures = { version = "0.3", default-features = false } n0-future = "0.1" # Observability tracing = "0.1" +tracing-subscriber = { version = "0.3", default-features = false } # Encoding and crypto building blocks base64 = { version = "0.22", default-features = false, features = ["alloc"] } percent-encoding = { version = "2.3", default-features = false, features = ["alloc"] } urlencoding = { version = "2.1.3", default-features = false } -rand_core = { version = "0.10", default-features = false, features = [ - "alloc", -] } +rand = { version = "0.9", default-features = false } +rand_core = { version = "0.9.5", default-features = false } sha2 = "0.10" # Time @@ -92,8 +111,23 @@ chrono = { version = "0.4", default-features = false, features = ["serde"] } # Crypto curves and JOSE p256 = "0.13" +k256 = "0.13" +elliptic-curve = "0.13" +ed25519-dalek = { version = "2", default-features = false } +jose-jwa = "0.1" jose-jwk = "0.1" # Text processing regex = { version = "1.12", default-features = false } +regex-lite = "0.1" webpage = { version = "2.0", default-features = false } +unicode-segmentation = "1.12" +oxilangtag = { version = "0.1", default-features = false } +axum-test = "18.7" +axum = "0.8" +axum-macros = "0.5" +tower-http = "0.6" +tower = { version = "0.5", default-features = false } +viuer = "0.11" +tiff = "0.11" +image = "0.25" diff --git a/crates/jacquard-api/Cargo.toml b/crates/jacquard-api/Cargo.toml index 6dfdbde5..48c71956 100644 --- a/crates/jacquard-api/Cargo.toml +++ b/crates/jacquard-api/Cargo.toml @@ -25,7 +25,7 @@ rustversion = "1.0" serde.workspace = true serde_ipld_dagcbor.workspace = true thiserror.workspace = true -unicode-segmentation = "1.12" +unicode-segmentation.workspace = true serde_bytes.workspace = true diff --git a/crates/jacquard-axum/Cargo.toml b/crates/jacquard-axum/Cargo.toml index 8ba87efa..397fcc4c 100644 --- a/crates/jacquard-axum/Cargo.toml +++ b/crates/jacquard-axum/Cargo.toml @@ -20,21 +20,21 @@ name = "axum_server" path = "../../examples/axum_server.rs" [dependencies] -axum = "0.8.6" +axum.workspace = true bytes.workspace = true jacquard = { version = "0.9", path = "../jacquard", default-features = false, features = ["api"] } jacquard-common = { version = "0.9", path = "../jacquard-common", features = ["reqwest-client"] } jacquard-derive = { version = "0.9", path = "../jacquard-derive" } jacquard-identity = { version = "0.9", path = "../jacquard-identity", optional = true } miette.workspace = true -multibase = { version = "0.9.1", optional = true } +multibase = { workspace = true, optional = true } serde.workspace = true serde_html_form.workspace = true serde_json.workspace = true thiserror.workspace = true tokio.workspace = true -tower-http = { version = "0.6.6", features = ["trace", "tracing"] } -tracing = "0.1.41" +tower-http = { workspace = true, features = ["trace", "tracing"] } +tracing.workspace = true [features] default = ["service-auth"] @@ -42,15 +42,15 @@ service-auth = ["jacquard-common/service-auth", "dep:jacquard-identity", "dep:mu tracing = [] [dev-dependencies] -axum-macros = "0.5.0" -axum-test = "18.1.0" +axum-macros.workspace = true +axum-test.workspace = true base64.workspace = true chrono.workspace = true -k256 = { version = "0.13", features = ["ecdsa"] } +k256 = { workspace = true, features = ["ecdsa"] } miette = { workspace = true, features = ["fancy"] } -rand = "0.8" +rand.workspace = true reqwest.workspace = true serde_json.workspace = true #tokio-test = "0.4.4" -tower = { version = "0.5", features = ["util"] } -tracing-subscriber = { version = "0.3.20", features = ["env-filter", "time"] } +tower = { workspace = true, features = ["util"] } +tracing-subscriber = { workspace = true, features = ["env-filter", "time"] } diff --git a/crates/jacquard-common/Cargo.toml b/crates/jacquard-common/Cargo.toml index 0b33f74e..9dfcad32 100644 --- a/crates/jacquard-common/Cargo.toml +++ b/crates/jacquard-common/Cargo.toml @@ -20,7 +20,7 @@ std = [ "regex?/std", "rand/std", "rand/std_rng", - "rand/sys_rng", + "rand/os_rng", "rand/thread_rng", "serde_json/std", "serde/std", @@ -61,12 +61,12 @@ bytes.workspace = true chrono.workspace = true cid.workspace = true ipld-core.workspace = true -oxilangtag = { version = "0.1", default-features = false, features = ["alloc", "serde"] } +oxilangtag = { workspace = true, features = ["alloc", "serde"] } miette = { workspace = true, optional = true } # also need to gate this to std only -multibase = { version = "0.9.1", default-features = false } -multihash = { version = "0.19.3", default-features = false, features = ["alloc"] } -ouroboros = "0.18.5" -rand = { version = "0.10.0", default-features = false, features = ["alloc"] } +multibase.workspace = true +multihash.workspace = true +ouroboros.workspace = true +rand = { workspace = true, features = ["alloc"] } serde.workspace = true serde_html_form.workspace = true # need to check these at workspace level serde_json.workspace = true @@ -75,9 +75,9 @@ thiserror.workspace = true url.workspace = true http.workspace = true serde_bytes.workspace = true -spin = { version = "0.10", default-features = false, features = ["lazy"] } -maitake-sync = { version = "0.2", default-features = false } -hashbrown = "0.16" +spin = { workspace = true, features = ["lazy"] } +maitake-sync.workspace = true +hashbrown.workspace = true reqwest = { workspace = true, optional = true, features = ["json", "gzip", "charset"] } serde_ipld_dagcbor.workspace = true @@ -87,22 +87,22 @@ tokio = { workspace = true, default-features = false, features = ["sync"], optio # Streaming support (optional) n0-future = { workspace = true, optional = true } -futures = { version = "0.3", optional = true, default-features = false, features = ["alloc"] } +futures = { workspace = true, optional = true, features = ["alloc"] } tokio-tungstenite-wasm = { version = "0.8", default-features = false, optional = true } -ciborium = { version = "0.2.0", default-features = false, optional = true } -ciborium-io = { version = "0.2.0", default-features = false, optional = true } +ciborium = { version = "0.2", default-features = false, optional = true } +ciborium-io = { version = "0.2", default-features = false, optional = true } zstd = { version = "0.13", optional = true } postcard = { version = "1.1.3" } # regex-automata for no_std embedded, regex-lite for wasm, full regex with std on native regex-automata = { version = "0.4", default-features = false, features = ["alloc", "meta", "nfa-pikevm", "syntax"] } -regex = { version = "1.11.3", default-features = false, features = ["perf-literal"], optional = true } +regex = { workspace = true, default-features = false, features = ["perf-literal"], optional = true } [target.'cfg(target_family = "wasm")'.dependencies] getrandom = { version = "0.4.1", features = ["wasm_js"] } chrono = { workspace = true, features = ["wasmbind"] } getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] } -regex-lite = "0.1" +regex-lite.workspace = true #ring = { version = "0.17", features = ["wasm32_unknown_unknown_js"]} reqwest = { workspace = true, optional = true, features = [ "json", "gzip", "rustls"] } tokio-tungstenite-wasm = { version = "0.8", features = [], optional = true } @@ -114,9 +114,8 @@ tokio-tungstenite-wasm = { version = "0.8", features = ["rustls-tls-native-roots [dependencies.ed25519-dalek] -version = "2" +workspace = true optional = true -default-features = false features = ["pkcs8"] [dependencies.k256] @@ -131,7 +130,7 @@ optional = true features = ["arithmetic"] [dev-dependencies] -tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] } +tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread"] } futures-lite = "2.6" [package.metadata.docs.rs] diff --git a/crates/jacquard-derive/Cargo.toml b/crates/jacquard-derive/Cargo.toml index 17a3163f..b17db781 100644 --- a/crates/jacquard-derive/Cargo.toml +++ b/crates/jacquard-derive/Cargo.toml @@ -22,9 +22,9 @@ quote.workspace = true syn.workspace = true [dev-dependencies] -inventory = "0.3" +inventory.workspace = true jacquard-common = { version = "0.9", path = "../jacquard-common" } jacquard-lexicon = { version = "0.9", path = "../jacquard-lexicon" } serde.workspace = true serde_json.workspace = true -unicode-segmentation = "1.12" +unicode-segmentation.workspace = true diff --git a/crates/jacquard-lexgen/Cargo.toml b/crates/jacquard-lexgen/Cargo.toml index 48e335ea..0f8a8ae6 100644 --- a/crates/jacquard-lexgen/Cargo.toml +++ b/crates/jacquard-lexgen/Cargo.toml @@ -30,8 +30,8 @@ path = "../../examples/extract_inventory.rs" [dependencies] clap.workspace = true -glob = "0.3" -inventory = "0.3" +glob.workspace = true +inventory.workspace = true jacquard-api = { version = "0.9", path = "../jacquard-api", default-features = false, features = [ "minimal" ] } jacquard-common = { version = "0.9", features = [ "reqwest-client" ], path = "../jacquard-common" } jacquard-derive = { version = "0.9", path = "../jacquard-derive" } @@ -43,14 +43,14 @@ reqwest = { workspace = true, features = ["json", "http2", "system-proxy", "rust serde.workspace = true serde_json = { workspace = true, features = ["preserve_order"] } syn.workspace = true -tempfile = "3.24" +tempfile.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["full"] } toml = "1.0" -walkdir = "2.5" +walkdir.workspace = true [dev-dependencies] -tempfile = { version = "3.23.0" } +tempfile.workspace = true [build-dependencies] clap.workspace = true diff --git a/crates/jacquard-lexicon/Cargo.toml b/crates/jacquard-lexicon/Cargo.toml index c9a4039a..79ac0ab8 100644 --- a/crates/jacquard-lexicon/Cargo.toml +++ b/crates/jacquard-lexicon/Cargo.toml @@ -19,7 +19,7 @@ codegen = ["dep:prettyplease", "dep:syn", "dep:quote", "dep:proc-macro2", "dep:h cid.workspace = true dashmap.workspace = true heck = { workspace = true, optional = true } -inventory = "0.3" +inventory.workspace = true jacquard-common = { version = "0.9", path = "../jacquard-common" } miette = { workspace = true } multihash.workspace = true @@ -27,7 +27,7 @@ prettyplease = { workspace = true, optional = true } proc-macro2 = { workspace = true, optional = true } quote = { workspace = true, optional = true } serde.workspace = true -serde_path_to_error = "0.1" +serde_path_to_error.workspace = true serde_ipld_dagcbor.workspace = true serde_json.workspace = true serde_repr.workspace = true @@ -35,9 +35,9 @@ serde_with.workspace = true sha2.workspace = true syn = { workspace = true, optional = true } thiserror.workspace = true -unicode-segmentation = "1.12" +unicode-segmentation.workspace = true [dev-dependencies] bytes = { workspace = true } jacquard-derive = { version = "0.9", path = "../jacquard-derive"} -tempfile = { version = "3.23.0" } +tempfile.workspace = true diff --git a/crates/jacquard-oauth/Cargo.toml b/crates/jacquard-oauth/Cargo.toml index a00f6f48..dc8b6dd4 100644 --- a/crates/jacquard-oauth/Cargo.toml +++ b/crates/jacquard-oauth/Cargo.toml @@ -28,19 +28,20 @@ serde_json = { workspace = true } url = { workspace = true } smol_str = { workspace = true } base64.workspace = true -sha2 = { version = "0.10" } +sha2.workspace = true thiserror = { workspace = true } serde_html_form = { workspace = true } miette = { workspace = true } p256 = { workspace = true, features = ["ecdsa"] } -jose-jwa = "0.1" +jose-jwa.workspace = true jose-jwk = { workspace = true, features = ["p256"] } chrono.workspace = true -elliptic-curve = "0.13.8" +elliptic-curve.workspace = true http.workspace = true bytes.workspace = true -rand = { version = "0.8.5", features = ["small_rng"] } -dashmap = "6.1.0" +rand = { version = "0.8.5", features = ["std", "small_rng"] } +rand_core = { version = "0.6.4", features = ["alloc"] } +dashmap.workspace = true tokio = { workspace = true, default-features = false, features = ["sync"] } trait-variant.workspace = true n0-future = { workspace = true, optional = true } diff --git a/crates/jacquard-repo/Cargo.toml b/crates/jacquard-repo/Cargo.toml index 157cb313..6008124a 100644 --- a/crates/jacquard-repo/Cargo.toml +++ b/crates/jacquard-repo/Cargo.toml @@ -22,21 +22,21 @@ jacquard-derive = { path = "../jacquard-derive", version = "0.9" } # Serialization serde.workspace = true serde_ipld_dagcbor.workspace = true -serde_bytes = "0.11" +serde_bytes.workspace = true # IPLD primitives cid.workspace = true -multihash = "0.19.3" +multihash.workspace = true # CAR file I/O -iroh-car = "0.5" +iroh-car.workspace = true # Data types bytes.workspace = true smol_str.workspace = true # Hashing -sha2 = "0.10" +sha2.workspace = true # Error handling thiserror.workspace = true @@ -49,18 +49,18 @@ tokio = { workspace = true, default-features = false, features = ["fs", "io-util # Crypto (for commit signing/verification) -ed25519-dalek = { version = "2", features = ["rand_core"] } -k256 = { version = "0.13", features = ["ecdsa", "sha256"] } -p256 = { version = "0.13", features = ["ecdsa", "sha256"] } +ed25519-dalek = { workspace = true, features = ["rand_core"] } +k256 = { workspace = true, features = ["ecdsa", "sha256"] } +p256 = { workspace = true, features = ["ecdsa", "sha256"] } [dev-dependencies] serde_ipld_dagjson = "0.2" tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "fs"] } -tempfile = "3.14" -rand = "0.8" +tempfile.workspace = true +rand.workspace = true hex = "0.4" -anyhow = "1.0" -serde_json = "1.0" +anyhow.workspace = true +serde_json.workspace = true [package.metadata.docs.rs] all-features = true diff --git a/crates/jacquard/Cargo.toml b/crates/jacquard/Cargo.toml index ad71ed1f..420eb23c 100644 --- a/crates/jacquard/Cargo.toml +++ b/crates/jacquard/Cargo.toml @@ -171,7 +171,7 @@ regex = { workspace = true, default-features = false, features = ["std", "perf-l [target.'cfg(target_family = "wasm")'.dependencies] getrandom = { version = "0.4.1", features = ["wasm_js"] } -regex-lite = "0.1" +regex-lite.workspace = true #ring = { version = "0.17", features = ["wasm32_unknown_unknown_js"]} reqwest = { workspace = true } @@ -182,9 +182,9 @@ gloo-storage = "0.3" clap.workspace = true miette = { workspace = true, features = ["fancy"] } tokio = { workspace = true, features = ["signal"] } -viuer = { version = "0.9", features = ["print-file"] } -tiff = { version = "0.6.0-alpha" } -image = { version = "0.25" } +viuer = { workspace = true, features = ["print-file"] } +tiff.workspace = true +image.workspace = true [package.metadata.docs.rs] features = ["api_all", "derive", "dns", "streaming"] diff --git a/crates/lazy-collections/Cargo.toml b/crates/lazy-collections/Cargo.toml index fa4b532e..bef24200 100644 --- a/crates/lazy-collections/Cargo.toml +++ b/crates/lazy-collections/Cargo.toml @@ -55,7 +55,7 @@ postcard = { version = "1.1.3", features = ["embedded-io-06"] } embedded-io = { version = "0.6" } embedded-io-async = { version = "0.6" } embedded-io-adapters = { version = "0.6" } -maitake-sync = { version = "0.2", features = ["core-error"] } +maitake-sync = { workspace = true, features = ["core-error"] } tokio = { workspace = true, default-features = false, features = ["sync"], optional = true } n0-future = { workspace = true, optional = true } pin-project = "1" @@ -64,12 +64,12 @@ managed = "0.8.0" buffer = "0.1" lock_api = "0.4" -tracing = { git = "https://github.com/tokio-rs/tracing", default-features = false, features = ["attributes"] } +tracing = { workspace = true, optional = true, features = ["attributes"] } [dev-dependencies] -proptest = "1" -tracing-subscriber = { git = "https://github.com/tokio-rs/tracing", features = ["fmt", "env-filter"] } -tracing = { git = "https://github.com/tokio-rs/tracing", default-features = false, features = ["attributes", "std"] } +proptest.workspace = true +tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] } +tracing = { workspace = true, features = ["attributes", "std"] } [target.'cfg(loom)'.dependencies] diff --git a/crates/mini-moka-wasm/Cargo.toml b/crates/mini-moka-wasm/Cargo.toml index a55a1ef0..67f28df1 100644 --- a/crates/mini-moka-wasm/Cargo.toml +++ b/crates/mini-moka-wasm/Cargo.toml @@ -21,27 +21,27 @@ js = ["dep:web-time"] sync = ["dashmap"] [dependencies] -crossbeam-channel = "0.5.5" -crossbeam-utils = "0.8" -smallvec = "1.8" -tagptr = "0.2" +crossbeam-channel.workspace = true +crossbeam-utils.workspace = true +smallvec.workspace = true +tagptr.workspace = true web-time = { version = "1.1.0", optional = true } # Opt-out serde and stable_deref_trait features # https://github.com/Manishearth/triomphe/pull/5 -triomphe = { version = "0.1.13", default-features = false } +triomphe = { version = "0.1", default-features = false } # Optional dependencies (enabled by default) -dashmap = { version = "6.1", optional = true } +dashmap = { workspace = true, optional = true } [dev-dependencies] -anyhow = "1.0.19" -getrandom = "0.2" -once_cell = "1.7" -wasm-bindgen-test = "0.3.50" +anyhow.workspace = true +getrandom = "0.4" +once_cell.workspace = true +wasm-bindgen-test = "0.3" [target.wasm32-unknown-unknown.dev-dependencies] -getrandom = { version="0.2", features = ["js"] } +getrandom = { version="0.4", features = ["wasm_js"] } [target.'cfg(trybuild)'.dev-dependencies] trybuild = "1.0"