mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 05:55:22 +00:00
build(deps): update dependencies
This includes: - mock_instant 0.5 -> 0.6 - rstest 0.24 -> 0.26 - rusqlite 0.34 -> 0.37 - schemars 0.8 -> 1.0 - serde-inline-default 0.2 -> 1.0 - tokio-tungstenite 0.26 -> 0.27 Only schemars update needs some minor code changes.
This commit is contained in:
parent
03a72736ea
commit
b97ce5f29c
5 changed files with 508 additions and 467 deletions
945
Cargo.lock
generated
945
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -27,20 +27,20 @@ thiserror = "2"
|
|||
url = { version = "2", features = ["serde"] }
|
||||
|
||||
[dependencies.rusqlite]
|
||||
version = "0.34"
|
||||
version = "0.37"
|
||||
optional = true
|
||||
|
||||
[dependencies.schemars]
|
||||
version = "0.8"
|
||||
version = "1"
|
||||
optional = true
|
||||
features = ["url"]
|
||||
features = ["url2"]
|
||||
|
||||
[dependencies.mock_instant]
|
||||
version = "0.5"
|
||||
version = "0.6"
|
||||
optional = true
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.5"
|
||||
criterion = "0.7"
|
||||
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
||||
expect-test = "1"
|
||||
# WAIT: https://github.com/dalek-cryptography/curve25519-dalek/issues/731
|
||||
|
|
|
@ -11,12 +11,12 @@ macro_rules! impl_json_schema_as {
|
|||
($($tt:tt)*) => {};
|
||||
}
|
||||
|
||||
// Workaround: https://github.com/GREsau/schemars/issues/267
|
||||
// TODO: https://github.com/GREsau/schemars/issues/267
|
||||
#[cfg(feature = "schemars")]
|
||||
macro_rules! impl_json_schema_as {
|
||||
($ty:ty => $as_ty:ty) => {
|
||||
impl schemars::JsonSchema for $ty {
|
||||
fn schema_name() -> String {
|
||||
fn schema_name() -> std::borrow::Cow<'static, str> {
|
||||
stringify!($ty).into()
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ macro_rules! impl_json_schema_as {
|
|||
concat!(module_path!(), "::", stringify!($ty)).into()
|
||||
}
|
||||
|
||||
fn json_schema(g: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema {
|
||||
fn json_schema(g: &mut schemars::SchemaGenerator) -> schemars::Schema {
|
||||
g.subschema_for::<$as_ty>()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ ed25519-dalek = { version = "2", features = ["pkcs8", "pem", "rand_core"] }
|
|||
humantime = "2"
|
||||
rand08 = { package = "rand", version = "0.8" }
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
rusqlite = { version = "0.34", features = ["rusqlite-macros"] }
|
||||
rusqlite = { version = "0.37", features = ["rusqlite-macros"] }
|
||||
serde_jcs = "0.1.0"
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["rt", "macros"] }
|
||||
|
|
|
@ -23,19 +23,19 @@ parking_lot = "0.12" # Maybe no better performance, just that we hate poisoning.
|
|||
paste = "1.0.15"
|
||||
rand = "0.9"
|
||||
reqwest = "0.12"
|
||||
rusqlite = { version = "0.34", features = ["rusqlite-macros"] }
|
||||
rusqlite = { version = "0.37", features = ["rusqlite-macros"] }
|
||||
rustix = { version = "1", features = ["net"] }
|
||||
sd-notify = "0.4"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde-constant = "0.1"
|
||||
serde-inline-default = "0.2"
|
||||
serde-inline-default = "1"
|
||||
serde_jcs = "0.1"
|
||||
serde_json = { version = "1", features = ["raw_value"] }
|
||||
serde_urlencoded = "0.7"
|
||||
sha2 = "0.10"
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal", "sync", "time"] }
|
||||
tokio-stream = { version = "0.1", features = ["sync"] }
|
||||
toml = "0.8"
|
||||
toml = "0.9"
|
||||
tower-http = { version = "0.6", features = ["cors", "limit", "set-header"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
|
@ -44,7 +44,7 @@ url = { version = "2", features = ["serde"] }
|
|||
blah-types = { path = "../blah-types", features = ["rusqlite"] }
|
||||
|
||||
[dependencies.mock_instant]
|
||||
version = "0.5"
|
||||
version = "0.6"
|
||||
optional = true
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -57,10 +57,10 @@ hyper-util = { version = "0.1", features = ["tokio"] }
|
|||
libc = "0.2"
|
||||
libtest-mimic = "0.8"
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
rstest = { version = "0.24", default-features = false }
|
||||
rstest = { version = "0.26", default-features = false }
|
||||
rustix = { version = "1", features = ["process"] }
|
||||
tempfile = "3"
|
||||
tokio-tungstenite = "0.26"
|
||||
tokio-tungstenite = "0.27"
|
||||
|
||||
[[test]]
|
||||
name = "socket_activate"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue