Skip to content

Commit 9492d54

Browse files
committed
chore: bump various dependencies
1 parent 2997580 commit 9492d54

File tree

9 files changed

+88
-119
lines changed

9 files changed

+88
-119
lines changed

Cargo.lock

Lines changed: 72 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ connection-string = "0.2"
6262
convert_case = "0.11"
6363
cruet = "0.15"
6464
cuid = { git = "https://github.com/prisma/cuid-rust", branch = "v1.3.3-wasm32-unknown-unknown" }
65-
derive_more = "0.99"
65+
derive_more = { version = "2", features = ["display", "constructor"] }
6666
either = "1"
6767
enumflags2 = "0.7"
6868
env_logger = "0.11"
@@ -72,23 +72,23 @@ hashbrown = "0.16"
7272
hex = "0.4"
7373
indoc = "2"
7474
indexmap = { version = "2", features = ["serde"] }
75-
itertools = "0.13"
75+
itertools = "0.14"
7676
jsonrpc-core = "18"
7777
log = "0.4"
7878
lru-cache = "0.1"
7979
lsp-types = "0.95"
80-
mobc = "0.8"
80+
mobc = "0.9"
8181
mongodb = { version = "3", features = [
8282
"zstd-compression",
8383
"zlib-compression",
8484
"snappy-compression",
8585
] }
8686
mysql_async = { git = "https://github.com/prisma/mysql_async", branch = "vendored-openssl" }
87-
names = { version = "0.11", default-features = false }
87+
names = { version = "0.14", default-features = false }
8888
native-tls = "0.2"
8989
nom = "7"
9090
num_cpus = "1"
91-
parse-hyperlinks = "0.23"
91+
parse-hyperlinks = "0.28"
9292
paste = "1"
9393
percent-encoding = "2"
9494
pest = "2"
@@ -122,7 +122,7 @@ tempfile = "3"
122122
tiberius = { git = "https://github.com/prisma/tiberius", branch = "main", default-features = false }
123123
tokio = { version = "1", features = ["sync"] }
124124
tokio-postgres = { git = "https://github.com/prisma/rust-postgres", branch = "pgbouncer-mode" }
125-
tokio-tungstenite = "0.26"
125+
tokio-tungstenite = "0.28"
126126
tokio-util = "0.7"
127127
tracing = "0.1"
128128
tracing-error = "0.2"

libs/crosstarget-utils/src/common/regex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use derive_more::Display;
22

33
#[derive(Debug, Display)]
4-
#[display(fmt = "Regular expression error: {message}")]
4+
#[display("Regular expression error: {message}")]
55
pub struct RegExpError {
66
pub message: String,
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use derive_more::Display;
22

33
#[derive(Debug, Display)]
4-
#[display(fmt = "Failed to spawn a future")]
4+
#[display("Failed to spawn a future")]
55
pub struct SpawnError;
66

77
impl std::error::Error for SpawnError {}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use derive_more::Display;
22

33
#[derive(Debug, Display)]
4-
#[display(fmt = "Operation timed out")]
4+
#[display("Operation timed out")]
55
pub struct TimeoutError;
66

77
impl std::error::Error for TimeoutError {}

libs/crosstarget-utils/src/wasm/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl std::ops::Add<Duration> for SystemTime {
6767
}
6868

6969
#[derive(Clone, Debug, Display)]
70-
#[display(fmt = "second time provided was later than self")]
70+
#[display("second time provided was later than self")]
7171
pub struct SystemTimeError(Duration);
7272

7373
impl SystemTimeError {

libs/telemetry/src/id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use derive_more::Display;
88
use serde::{Deserialize, Serialize};
99

1010
#[derive(Debug, Display, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
11-
#[display(fmt = "{_0}")]
11+
#[display("{_0}")]
1212
#[repr(transparent)]
1313
struct SerializableNonZeroU64(NonZeroU64);
1414

libs/telemetry/src/traceparent.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use thiserror::Error;
77
///
88
/// [W3C Trace Context spec]: https://www.w3.org/TR/trace-context/#traceparent-header-field-values
99
#[derive(Display, Debug, Copy, Clone, PartialEq, Eq, Hash)]
10-
#[display(fmt = "00-{trace_id}-{span_id}-{flags}")]
10+
#[display("00-{trace_id}-{span_id}-{flags}")]
1111
pub struct TraceParent {
1212
trace_id: TraceId,
1313
span_id: SpanId,
@@ -88,17 +88,17 @@ macro_rules! parseable_from_hex {
8888
}
8989

9090
#[derive(Display, Debug, Copy, Clone, PartialEq, Eq, Hash)]
91-
#[display(fmt = "{_0:032x}")]
91+
#[display("{_0:032x}")]
9292
pub struct TraceId(u128);
9393
parseable_from_hex!(TraceId, u128);
9494

9595
#[derive(Display, Debug, Copy, Clone, PartialEq, Eq, Hash)]
96-
#[display(fmt = "{_0:016x}")]
96+
#[display("{_0:016x}")]
9797
pub struct SpanId(u64);
9898
parseable_from_hex!(SpanId, u64);
9999

100100
#[derive(Display, Debug, Copy, Clone, PartialEq, Eq, Hash)]
101-
#[display(fmt = "{_0:02x}")]
101+
#[display("{_0:02x}")]
102102
pub struct TraceFlags(u8);
103103
parseable_from_hex!(TraceFlags, u8);
104104

query-engine/connector-test-kit-rs/query-tests-setup/src/runner/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use derive_more::Display;
33
use serde::{Deserialize, Serialize};
44

55
#[derive(Debug, Clone, Hash, Eq, PartialEq, Serialize, Deserialize, Display)]
6-
#[display(fmt = "{_0}")]
6+
#[display("{_0}")]
77
pub struct TxId(String);
88

99
impl Default for TxId {

0 commit comments

Comments
 (0)