Update dependencies.

This commit is contained in:
Orne Brocaar 2024-12-05 12:18:27 +00:00
parent 30b1e0301a
commit 8aff4490f9
6 changed files with 626 additions and 340 deletions

946
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
[dependencies] [dependencies]
serde = { version = "1.0", features = ["derive", "rc"] } serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0" serde_json = "1.0"
thiserror = "1.0" thiserror = "2.0"
anyhow = "1.0" anyhow = "1.0"
tracing = "0.1" tracing = "0.1"
hex = "0.4" hex = "0.4"
@ -19,7 +19,7 @@
"rustls-tls", "rustls-tls",
], default-features = false } ], default-features = false }
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "1.41", features = ["macros"] } tokio = { version = "1.42", features = ["macros"] }
chirpstack_api = { path = "../api/rust", default-features = false, features = [ chirpstack_api = { path = "../api/rust", default-features = false, features = [
"json", "json",
] } ] }

View File

@ -23,7 +23,7 @@
], default-features = true } ], default-features = true }
async-trait = "0.1" async-trait = "0.1"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] } tokio = { version = "1.42", features = ["macros", "rt-multi-thread"] }
lazy_static = "1.5" lazy_static = "1.5"
serde_json = "1.0" serde_json = "1.0"
toml = "0.8" toml = "0.8"

View File

@ -74,7 +74,7 @@
lapin = { version = "2.5", default-features = false } lapin = { version = "2.5", default-features = false }
tokio-executor-trait = "2.1" tokio-executor-trait = "2.1"
tokio-reactor-trait = "1.1" tokio-reactor-trait = "1.1"
rdkafka = { version = "0.36", default-features = false, features = [ rdkafka = { version = "0.37", default-features = false, features = [
"tokio", "tokio",
"cmake-build", "cmake-build",
] } ] }
@ -83,7 +83,7 @@
tonic = "0.12" tonic = "0.12"
tonic-web = "0.12" tonic-web = "0.12"
tonic-reflection = "0.12" tonic-reflection = "0.12"
tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] } tokio = { version = "1.42", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1" tokio-stream = "0.1"
prost-types = "0.13" prost-types = "0.13"
prost = "0.13" prost = "0.13"
@ -102,7 +102,7 @@
tower-http = { version = "0.6", features = ["trace", "auth"] } tower-http = { version = "0.6", features = ["trace", "auth"] }
# Error handling # Error handling
thiserror = "1.0" thiserror = "2.0"
anyhow = "1.0" anyhow = "1.0"
# Authentication # Authentication
@ -133,7 +133,7 @@
hex = "0.4" hex = "0.4"
# Codecs # Codecs
rquickjs = { version = "0.6", features = [ rquickjs = { version = "0.8", features = [
"bindgen", "bindgen",
"loader", "loader",
"array-buffer", "array-buffer",

View File

@ -227,7 +227,7 @@ pub mod test {
let out = decode(Utc::now(), 10, &vars, &decoder, &[0x01, 0x02, 0x03]).await; let out = decode(Utc::now(), 10, &vars, &decoder, &[0x01, 0x02, 0x03]).await;
assert_eq!( assert_eq!(
"JS error: Error:4:24 'foo' is not defined\n at decodeUplink (eval_script:4:24)\n at <eval> (eval_script:8:9)\n", "JS error: Error: foo is not defined\n at decodeUplink (eval_script:3:1)\n at <eval> (eval_script:8:9)\n",
out.err().unwrap().to_string() out.err().unwrap().to_string()
); );
} }
@ -368,7 +368,7 @@ pub mod test {
}; };
let out = encode(10, &vars, &encoder, &input).await; let out = encode(10, &vars, &encoder, &input).await;
assert_eq!("JS error: Error:4:24 'foo' is not defined\n at encodeDownlink (eval_script:4:24)\n at <eval> (eval_script:8:9)\n", out.err().unwrap().to_string()); assert_eq!("JS error: Error: foo is not defined\n at encodeDownlink (eval_script:3:1)\n at <eval> (eval_script:8:9)\n", out.err().unwrap().to_string());
} }
#[tokio::test] #[tokio::test]

View File

@ -19,7 +19,7 @@
diesel = { version = "2.2", optional = true } diesel = { version = "2.2", optional = true }
# Error handling # Error handling
thiserror = "1.0" thiserror = "2.0"
anyhow = "1.0" anyhow = "1.0"
# Misc # Misc