Update dependencies.

This commit is contained in:
Orne Brocaar 2024-10-29 16:21:24 +00:00
parent 2b5b54a7b7
commit 3d470c6a14
5 changed files with 244 additions and 201 deletions

391
Cargo.lock generated

File diff suppressed because it is too large Load Diff

2
api/rust/Cargo.toml vendored
View File

@ -24,7 +24,7 @@
"codegen", "codegen",
"prost", "prost",
], default-features = false, optional = true } ], default-features = false, optional = true }
tokio = { version = "1.40", features = ["macros"], optional = true } tokio = { version = "1.41", features = ["macros"], optional = true }
pbjson = { version = "0.7", optional = true } pbjson = { version = "0.7", optional = true }
pbjson-types = { version = "0.7", optional = true } pbjson-types = { version = "0.7", optional = true }
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }

View File

@ -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.40", features = ["macros"] } tokio = { version = "1.41", 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.40", features = ["macros", "rt-multi-thread"] } tokio = { version = "1.41", 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

@ -20,7 +20,7 @@
serde_urlencoded = "0.7" serde_urlencoded = "0.7"
humantime-serde = "1.1" humantime-serde = "1.1"
toml = "0.8" toml = "0.8"
handlebars = "6.1" handlebars = "6.2"
# Database # Database
email_address = "0.2" email_address = "0.2"
@ -35,7 +35,7 @@
"async-connection-wrapper", "async-connection-wrapper",
] } ] }
tokio-postgres = { version = "0.7", optional = true } tokio-postgres = { version = "0.7", optional = true }
tokio-postgres-rustls = { version = "0.12", optional = true } tokio-postgres-rustls = { version = "0.13", optional = true }
bigdecimal = "0.4" bigdecimal = "0.4"
redis = { version = "0.27", features = ["tls-rustls", "tokio-rustls-comp"] } redis = { version = "0.27", features = ["tls-rustls", "tokio-rustls-comp"] }
deadpool-redis = { version = "0.18", features = ["cluster", "serde"] } deadpool-redis = { version = "0.18", features = ["cluster", "serde"] }
@ -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.40", features = ["macros", "rt-multi-thread"] } tokio = { version = "1.41", 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"
@ -116,7 +116,7 @@
"ring", "ring",
] } ] }
rustls-native-certs = "0.8" rustls-native-certs = "0.8"
rustls-pemfile = "2.1" rustls-pemfile = "2.2"
pem = "3.0" pem = "3.0"
x509-parser = "0.16" x509-parser = "0.16"
rsa = "0.9" rsa = "0.9"
@ -142,14 +142,14 @@
# Misc # Misc
lazy_static = "1.5" lazy_static = "1.5"
uuid = { version = "1.10", features = ["v4", "serde"] } uuid = { version = "1.11", features = ["v4", "serde"] }
chrono = "0.4" chrono = "0.4"
async-trait = "0.1" async-trait = "0.1"
aes = "0.8" aes = "0.8"
rand = "0.8" rand = "0.8"
base64 = "0.22" base64 = "0.22"
async-recursion = "1.1" async-recursion = "1.1"
regex = "1.10" regex = "1.11"
petgraph = "0.6" petgraph = "0.6"
prometheus-client = "0.22" prometheus-client = "0.22"
pin-project = "1.1" pin-project = "1.1"
@ -160,7 +160,7 @@
# Development and testing # Development and testing
[dev-dependencies] [dev-dependencies]
httpmock = "0.7.0" httpmock = "0.7.0"
bytes = "1.7" bytes = "1.8"
dotenv = "0.15" dotenv = "0.15"
[features] [features]
@ -238,16 +238,16 @@
maintainer-scripts = "debian/" maintainer-scripts = "debian/"
systemd-units = { enable = true } systemd-units = { enable = true }
[package.metadata.deb.variants.postgres] [package.metadata.deb.variants.postgres]
name = "chirpstack" name = "chirpstack"
suggests = "postgresql, mosquitto, redis" suggests = "postgresql, mosquitto, redis"
conflicts = "chirpstack-sqlite" conflicts = "chirpstack-sqlite"
[package.metadata.deb.variants.sqlite] [package.metadata.deb.variants.sqlite]
default-features = false default-features = false
features = ["sqlite"] features = ["sqlite"]
suggests = "mosquitto, redis" suggests = "mosquitto, redis"
conflicts = "chirpstack" conflicts = "chirpstack"
[package.metadata.generate-rpm] [package.metadata.generate-rpm]
auto-req = "no" auto-req = "no"
@ -271,12 +271,12 @@ chmod 640 /etc/chirpstack/*.toml
{ source = "rpm/chirpstack.service", dest = "/lib/systemd/system/chirpstack.service" }, { source = "rpm/chirpstack.service", dest = "/lib/systemd/system/chirpstack.service" },
] ]
[package.metadata.generate-rpm.variants.postgres] [package.metadata.generate-rpm.variants.postgres]
name = "chirpstack" name = "chirpstack"
[package.metadata.generate-rpm.variants.postgres.conflicts] [package.metadata.generate-rpm.variants.postgres.conflicts]
chirpstack-sqlite = "*" chirpstack-sqlite = "*"
[package.metadata.generate-rpm.variants.sqlite] [package.metadata.generate-rpm.variants.sqlite]
name = "chirpstack-sqlite" name = "chirpstack-sqlite"
[package.metadata.generate-rpm.variants.sqlite.conflicts] [package.metadata.generate-rpm.variants.sqlite.conflicts]
chirpstack = "*" chirpstack = "*"