mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-20 05:37:56 +00:00
Update dependencies.
There are still a few dependencies left to update, but these updates require additional code changes.
This commit is contained in:
parent
de656cf885
commit
a22ed43883
1430
Cargo.lock
generated
1430
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
28
Cargo.toml
28
Cargo.toml
@ -1,19 +1,15 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
members = [
|
members = [
|
||||||
"chirpstack",
|
"chirpstack",
|
||||||
"chirpstack-integration",
|
"chirpstack-integration",
|
||||||
"lrwn",
|
"lrwn",
|
||||||
"lrwn-filters",
|
"lrwn-filters",
|
||||||
"backend",
|
"backend",
|
||||||
"api/rust",
|
"api/rust",
|
||||||
]
|
]
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = 'z'
|
opt-level = 'z'
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
||||||
[patch.crates-io]
|
|
||||||
# Remove if diesel-async > 0.4.1
|
|
||||||
diesel-async = { git = "https://github.com/weiznich/diesel_async.git", rev = "017ebe2fb7a2709ab5db92148dea5ce812a35e09" }
|
|
||||||
|
4
api/rust/Cargo.toml
vendored
4
api/rust/Cargo.toml
vendored
@ -25,11 +25,11 @@
|
|||||||
"codegen",
|
"codegen",
|
||||||
"prost",
|
"prost",
|
||||||
], default-features = false, optional = true }
|
], default-features = false, optional = true }
|
||||||
tokio = { version = "1.37", features = ["macros"], optional = true }
|
tokio = { version = "1.38", features = ["macros"], optional = true }
|
||||||
pbjson = { version = "0.6", optional = true }
|
pbjson = { version = "0.6", optional = true }
|
||||||
pbjson-types = { version = "0.6", optional = true }
|
pbjson-types = { version = "0.6", optional = true }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
diesel = { version = "2.1", features = ["postgres_backend"], optional = true }
|
diesel = { version = "2.2", features = ["postgres_backend"], optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { version = "0.11", features = [
|
tonic-build = { version = "0.11", features = [
|
||||||
|
@ -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.36", features = ["macros"] }
|
tokio = { version = "1.38", features = ["macros"] }
|
||||||
chirpstack_api = { path = "../api/rust", default-features = false, features = [
|
chirpstack_api = { path = "../api/rust", default-features = false, features = [
|
||||||
"json",
|
"json",
|
||||||
] }
|
] }
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
], default-features = true }
|
], default-features = true }
|
||||||
async-trait = "0.1.79"
|
async-trait = "0.1.79"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tokio = { version = "1.36", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1.38", features = ["macros", "rt-multi-thread"] }
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.5"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
toml = "0.8"
|
toml = "0.8"
|
||||||
|
@ -20,11 +20,11 @@
|
|||||||
serde_urlencoded = "0.7"
|
serde_urlencoded = "0.7"
|
||||||
humantime-serde = "1.1"
|
humantime-serde = "1.1"
|
||||||
toml = "0.8"
|
toml = "0.8"
|
||||||
handlebars = "5.1"
|
handlebars = "6.0"
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
email_address = "0.2"
|
email_address = "0.2"
|
||||||
diesel = { version = "2.1", features = [
|
diesel = { version = "2.2", features = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"uuid",
|
"uuid",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@ -32,8 +32,8 @@
|
|||||||
"64-column-tables",
|
"64-column-tables",
|
||||||
"postgres_backend",
|
"postgres_backend",
|
||||||
] }
|
] }
|
||||||
diesel_migrations = { version = "2.1" }
|
diesel_migrations = { version = "2.2" }
|
||||||
diesel-async = { version = "0.4", features = [
|
diesel-async = { version = "0.5", features = [
|
||||||
"deadpool",
|
"deadpool",
|
||||||
"postgres",
|
"postgres",
|
||||||
"async-connection-wrapper",
|
"async-connection-wrapper",
|
||||||
@ -91,7 +91,7 @@
|
|||||||
tonic = "0.11"
|
tonic = "0.11"
|
||||||
tonic-web = "0.11"
|
tonic-web = "0.11"
|
||||||
tonic-reflection = "0.11"
|
tonic-reflection = "0.11"
|
||||||
tokio = { version = "1.36", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1.38", features = ["macros", "rt-multi-thread"] }
|
||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
prost-types = "0.12"
|
prost-types = "0.12"
|
||||||
prost = "0.12"
|
prost = "0.12"
|
||||||
@ -105,7 +105,7 @@
|
|||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
http-body = "0.4"
|
http-body = "0.4"
|
||||||
rust-embed = "8.3"
|
rust-embed = "8.5"
|
||||||
mime_guess = "2.0"
|
mime_guess = "2.0"
|
||||||
tower-http = { version = "0.4", features = ["trace", "auth"] }
|
tower-http = { version = "0.4", features = ["trace", "auth"] }
|
||||||
|
|
||||||
@ -144,8 +144,8 @@
|
|||||||
] }
|
] }
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.5"
|
||||||
uuid = { version = "1.8", features = ["v4", "serde"] }
|
uuid = { version = "1.10", features = ["v4", "serde"] }
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
aes = "0.8"
|
aes = "0.8"
|
||||||
@ -160,7 +160,7 @@
|
|||||||
# Development and testing
|
# Development and testing
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
httpmock = "0.7.0"
|
httpmock = "0.7.0"
|
||||||
bytes = "1.5"
|
bytes = "1.6"
|
||||||
dotenv = "0.15"
|
dotenv = "0.15"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -35,8 +35,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(Codec::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,8 +124,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(IntegrationKind::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,8 +57,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(DeviceClass::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,8 +142,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(MulticastGroupSchedulingType::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,14 +16,14 @@
|
|||||||
cmac = { version = "0.7", optional = true }
|
cmac = { version = "0.7", optional = true }
|
||||||
aes = { version = "0.8", optional = true }
|
aes = { version = "0.8", optional = true }
|
||||||
serde = { version = "1.0", features = ["derive"], optional = true }
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
||||||
diesel = { version = "2.1", features = ["postgres_backend"], optional = true }
|
diesel = { version = "2.2", features = ["postgres_backend"], optional = true }
|
||||||
|
|
||||||
# Error handling
|
# Error handling
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.5"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -64,8 +64,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(CommonName::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -178,8 +178,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(Revision::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -263,8 +263,8 @@ where
|
|||||||
*const str: deserialize::FromSql<Text, DB>,
|
*const str: deserialize::FromSql<Text, DB>,
|
||||||
{
|
{
|
||||||
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
fn from_sql(value: <DB as Backend>::RawValue<'_>) -> deserialize::Result<Self> {
|
||||||
let string = String::from_sql(value)?;
|
let string = <*const str>::from_sql(value)?;
|
||||||
Ok(MacVersion::from_str(&string)?)
|
Ok(Self::from_str(unsafe { &*string })?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user