diff --git a/Cargo.lock b/Cargo.lock index 7a8c0418..d466e81a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,7 +102,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.61", "time", ] @@ -263,9 +263,9 @@ dependencies = [ [[package]] name = "async-process" -version = "2.2.3" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7eda79bbd84e29c2b308d1dc099d7de8dcc7035e48f4bf5dc4a531a44ff5e2a" +checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ "async-channel 2.3.1", "async-io 2.3.3", @@ -278,7 +278,6 @@ dependencies = [ "futures-lite 2.3.0", "rustix 0.38.34", "tracing", - "windows-sys 0.52.0", ] [[package]] @@ -1236,7 +1235,7 @@ dependencies = [ "pin-project-lite", "rand", "smol", - "thiserror", + "thiserror 2.0.11", "tokio", ] @@ -1256,7 +1255,7 @@ dependencies = [ "serde", "serde_json", "smol", - "thiserror", + "thiserror 2.0.11", ] [[package]] @@ -1284,7 +1283,7 @@ dependencies = [ "rustls-pki-types", "serde", "smol", - "thiserror", + "thiserror 2.0.11", "tokio", "url", ] @@ -1316,7 +1315,7 @@ dependencies = [ "serde", "sha2", "smol", - "thiserror", + "thiserror 2.0.11", "tokio-rustls", "x509-parser", "yasna", @@ -1524,9 +1523,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "option-ext" @@ -1673,9 +1672,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -1749,7 +1748,7 @@ checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.61", ] [[package]] @@ -1870,9 +1869,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.9.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e696e35370c65c9c541198af4543ccd580cf17fc25d8e05c5a242b202488c55" +checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" [[package]] name = "rustls-webpki" @@ -2063,9 +2062,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "2.0.68" +version = "2.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9" +checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" dependencies = [ "proc-macro2", "quote", @@ -2089,7 +2088,16 @@ version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.61", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -2103,6 +2111,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "time" version = "0.3.36" @@ -2220,7 +2239,7 @@ dependencies = [ "log", "rand", "sha1", - "thiserror", + "thiserror 1.0.61", "utf-8", ] @@ -2581,7 +2600,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.61", "time", ] diff --git a/Cargo.toml b/Cargo.toml index c4ee6f7d..4488ae4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,12 +25,12 @@ karyon_jsonrpc_macro = { path = "jsonrpc/impl", version = "0.2.1", default-featu karyon_p2p = { path = "p2p", version = "0.2.1", default-features = false } log = "0.4" -thiserror = "1.0" +thiserror = "2.0" chrono = "0.4" rand = "0.8" url = "2.5" parking_lot = "0.12" -once_cell = "1.19" +once_cell = "1.20" semver = "1.0" sha2 = "0.10" @@ -38,7 +38,7 @@ sha2 = "0.10" async-channel = "2.3" async-trait = "0.1" pin-project-lite = "0.2" -async-process = "2.2" +async-process = "2.3" smol = "2.0" tokio = "1.38" futures-util = { version = "0.3", default-features = false } @@ -58,7 +58,7 @@ syn = "2.0" async-tungstenite = { version = "0.28", default-features = false } # tls -rustls-pki-types = "1.9" +rustls-pki-types = "1.10" futures-rustls = "0.26" tokio-rustls = "0.26" rcgen = "0.13"