build(deps): bump thiserror from 1.0.68 to 2.0.4 (#3417)

* build(deps): bump thiserror from 1.0.68 to 2.0.4

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.68 to 2.0.4.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.4)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deny): allow duplicate versions of thiserror

* chore(detect): fix thiserror usage

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Gould <ver@buoyant.io>
This commit is contained in:
dependabot[bot] 2024-12-06 19:53:44 +00:00 committed by GitHub
parent a39eb30614
commit 1653b08068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
38 changed files with 108 additions and 86 deletions

View File

@ -87,7 +87,7 @@ dependencies = [
"nom", "nom",
"num-traits", "num-traits",
"rusticata-macros", "rusticata-macros",
"thiserror", "thiserror 1.0.69",
"time", "time",
] ]
@ -861,7 +861,7 @@ dependencies = [
"ipnet", "ipnet",
"once_cell", "once_cell",
"rand", "rand",
"thiserror", "thiserror 1.0.69",
"tinyvec", "tinyvec",
"tokio", "tokio",
"tracing", "tracing",
@ -884,7 +884,7 @@ dependencies = [
"rand", "rand",
"resolv-conf", "resolv-conf",
"smallvec", "smallvec",
"thiserror", "thiserror 1.0.69",
"tokio", "tokio",
"tracing", "tracing",
] ]
@ -1292,7 +1292,7 @@ dependencies = [
"http", "http",
"ipnet", "ipnet",
"linkerd-dns-name", "linkerd-dns-name",
"thiserror", "thiserror 2.0.4",
] ]
[[package]] [[package]]
@ -1311,7 +1311,7 @@ dependencies = [
"linkerd-tonic-stream", "linkerd-tonic-stream",
"rangemap", "rangemap",
"regex", "regex",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tonic", "tonic",
@ -1334,7 +1334,7 @@ dependencies = [
"pprof", "pprof",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tower", "tower",
"tracing", "tracing",
@ -1400,7 +1400,7 @@ dependencies = [
"regex", "regex",
"semver", "semver",
"serde_json", "serde_json",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tonic", "tonic",
@ -1421,7 +1421,7 @@ dependencies = [
"linkerd-proxy-client-policy", "linkerd-proxy-client-policy",
"linkerd-proxy-server-policy", "linkerd-proxy-server-policy",
"once_cell", "once_cell",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-test", "tokio-test",
"tonic", "tonic",
@ -1457,7 +1457,7 @@ dependencies = [
"once_cell", "once_cell",
"parking_lot", "parking_lot",
"rangemap", "rangemap",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-test", "tokio-test",
"tonic", "tonic",
@ -1535,7 +1535,7 @@ dependencies = [
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"prometheus-client", "prometheus-client",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-rustls", "tokio-rustls",
"tokio-test", "tokio-test",
@ -1562,7 +1562,7 @@ dependencies = [
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"regex", "regex",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-test", "tokio-test",
@ -1585,7 +1585,7 @@ dependencies = [
"linkerd-error", "linkerd-error",
"linkerd-io", "linkerd-io",
"linkerd-stack", "linkerd-stack",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tower", "tower",
"tracing", "tracing",
@ -1613,7 +1613,7 @@ dependencies = [
"hickory-resolver", "hickory-resolver",
"linkerd-dns-name", "linkerd-dns-name",
"linkerd-error", "linkerd-error",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tracing", "tracing",
] ]
@ -1622,7 +1622,7 @@ dependencies = [
name = "linkerd-dns-name" name = "linkerd-dns-name"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"thiserror", "thiserror 2.0.4",
"untrusted", "untrusted",
] ]
@ -1647,7 +1647,7 @@ name = "linkerd-error"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"futures", "futures",
"thiserror", "thiserror 2.0.4",
] ]
[[package]] [[package]]
@ -1668,7 +1668,7 @@ dependencies = [
"pin-project", "pin-project",
"quickcheck", "quickcheck",
"rand", "rand",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
] ]
@ -1789,7 +1789,7 @@ dependencies = [
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"prometheus-client", "prometheus-client",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
] ]
@ -1820,7 +1820,7 @@ dependencies = [
"linkerd-stack", "linkerd-stack",
"linkerd-tracing", "linkerd-tracing",
"parking_lot", "parking_lot",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tower", "tower",
"tracing", "tracing",
@ -1835,7 +1835,7 @@ dependencies = [
"maplit", "maplit",
"rand", "rand",
"regex", "regex",
"thiserror", "thiserror 2.0.4",
"tracing", "tracing",
"url", "url",
] ]
@ -1851,7 +1851,7 @@ dependencies = [
"linkerd-stack", "linkerd-stack",
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tracing", "tracing",
] ]
@ -1883,7 +1883,7 @@ name = "linkerd-http-version"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"http", "http",
"thiserror", "thiserror 2.0.4",
] ]
[[package]] [[package]]
@ -1894,7 +1894,7 @@ dependencies = [
"linkerd-error", "linkerd-error",
"linkerd-metrics", "linkerd-metrics",
"prometheus-client", "prometheus-client",
"thiserror", "thiserror 2.0.4",
"tracing", "tracing",
"url", "url",
] ]
@ -1987,7 +1987,7 @@ dependencies = [
"ring", "ring",
"rustls-pemfile", "rustls-pemfile",
"rustls-webpki", "rustls-webpki",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-rustls", "tokio-rustls",
"tracing", "tracing",
@ -2075,7 +2075,7 @@ dependencies = [
"linkerd-pool", "linkerd-pool",
"linkerd-stack", "linkerd-stack",
"parking_lot", "parking_lot",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tower-test", "tower-test",
"tracing", "tracing",
@ -2169,7 +2169,7 @@ dependencies = [
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"prometheus-client", "prometheus-client",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-test", "tokio-test",
@ -2197,7 +2197,7 @@ dependencies = [
"once_cell", "once_cell",
"prost-types", "prost-types",
"quickcheck", "quickcheck",
"thiserror", "thiserror 2.0.4",
"tonic", "tonic",
] ]
@ -2260,7 +2260,7 @@ dependencies = [
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"rand", "rand",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-test", "tokio-test",
"tower", "tower",
@ -2283,7 +2283,7 @@ dependencies = [
"linkerd2-proxy-api", "linkerd2-proxy-api",
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tonic", "tonic",
"tracing", "tracing",
@ -2297,7 +2297,7 @@ dependencies = [
"linkerd-error", "linkerd-error",
"linkerd-proxy-core", "linkerd-proxy-core",
"pin-project", "pin-project",
"thiserror", "thiserror 2.0.4",
"tower", "tower",
"tracing", "tracing",
] ]
@ -2315,7 +2315,7 @@ dependencies = [
"maplit", "maplit",
"prost-types", "prost-types",
"quickcheck", "quickcheck",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
] ]
@ -2333,7 +2333,7 @@ dependencies = [
"rcgen", "rcgen",
"simple_asn1", "simple_asn1",
"spiffe-proto", "spiffe-proto",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-test", "tokio-test",
"tonic", "tonic",
@ -2363,7 +2363,7 @@ dependencies = [
"prost-types", "prost-types",
"quickcheck", "quickcheck",
"rand", "rand",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tonic", "tonic",
"tower", "tower",
@ -2395,7 +2395,7 @@ dependencies = [
"linkerd-io", "linkerd-io",
"linkerd-stack", "linkerd-stack",
"socket2", "socket2",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tracing", "tracing",
@ -2438,7 +2438,7 @@ dependencies = [
"linkerd-error", "linkerd-error",
"linkerd-stack", "linkerd-stack",
"parking_lot", "parking_lot",
"thiserror", "thiserror 2.0.4",
"tracing", "tracing",
] ]
@ -2463,7 +2463,7 @@ dependencies = [
"prost-types", "prost-types",
"quickcheck", "quickcheck",
"regex", "regex",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tonic", "tonic",
@ -2488,7 +2488,7 @@ dependencies = [
"linkerd-tracing", "linkerd-tracing",
"parking_lot", "parking_lot",
"pin-project", "pin-project",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tokio-test", "tokio-test",
"tokio-util", "tokio-util",
@ -2544,7 +2544,7 @@ dependencies = [
"linkerd-stack", "linkerd-stack",
"linkerd-tracing", "linkerd-tracing",
"pin-project", "pin-project",
"thiserror", "thiserror 2.0.4",
"tokio", "tokio",
"tower", "tower",
"tracing", "tracing",
@ -2560,7 +2560,7 @@ dependencies = [
"linkerd2-proxy-api", "linkerd2-proxy-api",
"rand", "rand",
"regex", "regex",
"thiserror", "thiserror 2.0.4",
"tracing", "tracing",
] ]
@ -2611,7 +2611,7 @@ dependencies = [
"linkerd-error", "linkerd-error",
"linkerd-stack", "linkerd-stack",
"rand", "rand",
"thiserror", "thiserror 1.0.69",
"tower", "tower",
"tracing", "tracing",
] ]
@ -2692,7 +2692,7 @@ dependencies = [
"prost", "prost",
"prost-types", "prost-types",
"quickcheck", "quickcheck",
"thiserror", "thiserror 1.0.69",
"tonic", "tonic",
] ]
@ -2954,7 +2954,7 @@ dependencies = [
"futures-sink", "futures-sink",
"js-sys", "js-sys",
"pin-project-lite", "pin-project-lite",
"thiserror", "thiserror 1.0.69",
"tracing", "tracing",
] ]
@ -2981,7 +2981,7 @@ dependencies = [
"opentelemetry", "opentelemetry",
"percent-encoding", "percent-encoding",
"rand", "rand",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -3111,7 +3111,7 @@ dependencies = [
"smallvec", "smallvec",
"symbolic-demangle", "symbolic-demangle",
"tempfile", "tempfile",
"thiserror", "thiserror 1.0.69",
] ]
[[package]] [[package]]
@ -3564,7 +3564,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085"
dependencies = [ dependencies = [
"num-bigint", "num-bigint",
"num-traits", "num-traits",
"thiserror", "thiserror 1.0.69",
"time", "time",
] ]
@ -3701,18 +3701,38 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "1.0.68" version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl 1.0.69",
]
[[package]]
name = "thiserror"
version = "2.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f49a1853cf82743e3b7950f77e0f4d622ca36cf4317cba00c767838bac8d490"
dependencies = [
"thiserror-impl 2.0.4",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "1.0.68" version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "thiserror-impl"
version = "2.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -4409,7 +4429,7 @@ dependencies = [
"nom", "nom",
"oid-registry", "oid-registry",
"rusticata-macros", "rusticata-macros",
"thiserror", "thiserror 1.0.69",
"time", "time",
] ]

View File

@ -66,6 +66,8 @@ skip = [
{ name = "hashbrown", version = "0.12" }, { name = "hashbrown", version = "0.12" },
] ]
skip-tree = [ skip-tree = [
# thiserror v2 is still propagating through the ecosystem
{ name = "thiserror", version = "1" },
] ]
[sources] [sources]

View File

@ -10,7 +10,7 @@ publish = false
http = "0.2" http = "0.2"
ipnet = "2.10" ipnet = "2.10"
linkerd-dns-name = { path = "../dns/name" } linkerd-dns-name = { path = "../dns/name" }
thiserror = "1" thiserror = "2"
[lints.rust] [lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }

View File

@ -29,7 +29,7 @@ linkerd-opentelemetry = { path = "../opentelemetry" }
linkerd-tonic-stream = { path = "../tonic-stream" } linkerd-tonic-stream = { path = "../tonic-stream" }
rangemap = "1" rangemap = "1"
regex = "1" regex = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["rt"] } tokio = { version = "1", features = ["rt"] }
tokio-stream = { version = "0.1", features = ["time", "sync"] } tokio-stream = { version = "0.1", features = ["time", "sync"] }
tonic = { version = "0.10", default-features = false, features = ["prost"] } tonic = { version = "0.10", default-features = false, features = ["prost"] }

View File

@ -23,7 +23,7 @@ futures = { version = "0.3", default-features = false }
pprof = { version = "0.14", optional = true, features = ["prost-codec"] } pprof = { version = "0.14", optional = true, features = ["prost-codec"] }
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["macros", "sync", "parking_lot"] } tokio = { version = "1", features = ["macros", "sync", "parking_lot"] }
tracing = "0.1" tracing = "0.1"

View File

@ -23,7 +23,7 @@ ipnet = "2.10"
prometheus-client = "0.22" prometheus-client = "0.22"
regex = "1" regex = "1"
serde_json = "1" serde_json = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["macros", "sync", "parking_lot"] } tokio = { version = "1", features = ["macros", "sync", "parking_lot"] }
tokio-stream = { version = "0.1", features = ["time"] } tokio-stream = { version = "0.1", features = ["time"] }
tonic = { version = "0.10", default-features = false, features = ["prost"] } tonic = { version = "0.10", default-features = false, features = ["prost"] }

View File

@ -14,7 +14,7 @@ linkerd-app-inbound = { path = "../inbound" }
linkerd-app-outbound = { path = "../outbound" } linkerd-app-outbound = { path = "../outbound" }
linkerd-proxy-client-policy = { path = "../../proxy/client-policy" } linkerd-proxy-client-policy = { path = "../../proxy/client-policy" }
once_cell = "1" once_cell = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["sync"] } tokio = { version = "1", features = ["sync"] }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }
tower = { version = "0.4", default-features = false } tower = { version = "0.4", default-features = false }

View File

@ -34,7 +34,7 @@ linkerd2-proxy-api = { workspace = true, features = ["inbound"] }
once_cell = "1" once_cell = "1"
parking_lot = "0.12" parking_lot = "0.12"
rangemap = "1" rangemap = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["sync"] } tokio = { version = "1", features = ["sync"] }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.4", features = ["util"] }

View File

@ -27,7 +27,7 @@ once_cell = "1"
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
prometheus-client = "0.22" prometheus-client = "0.22"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["sync"] } tokio = { version = "1", features = ["sync"] }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.4", features = ["util"] }

View File

@ -32,7 +32,7 @@ tokio-stream = { version = "0.1", features = ["sync"] }
tonic = { version = "0.10", default-features = false, optional = true } tonic = { version = "0.10", default-features = false, optional = true }
tower = { version = "0.4", default-features = false } tower = { version = "0.4", default-features = false }
tracing = "0.1" tracing = "0.1"
thiserror = "1" thiserror = "2"
[dependencies.tracing-subscriber] [dependencies.tracing-subscriber]
version = "0.3" version = "0.3"

View File

@ -13,6 +13,6 @@ linkerd-error = { path = "../error" }
linkerd-io = { path = "../io" } linkerd-io = { path = "../io" }
linkerd-stack = { path = "../stack" } linkerd-stack = { path = "../stack" }
tokio = { version = "1", features = ["time"] } tokio = { version = "1", features = ["time"] }
thiserror = "1" thiserror = "2"
tower = "0.4" tower = "0.4"
tracing = "0.1" tracing = "0.1"

View File

@ -31,7 +31,7 @@ pub trait Detect<I>: Clone + Send + Sync + 'static {
pub type Result<P> = StdResult<Option<P>, DetectTimeoutError<P>>; pub type Result<P> = StdResult<Option<P>, DetectTimeoutError<P>>;
#[derive(Error)] #[derive(Error)]
#[error("{} protocol detection timed out after {0:?}", std::any::type_name::<P>())] #[error("{typ} protocol detection timed out after {0:?}", typ=std::any::type_name::<P>())]
pub struct DetectTimeoutError<P>(time::Duration, std::marker::PhantomData<P>); pub struct DetectTimeoutError<P>(time::Duration, std::marker::PhantomData<P>);
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug)]

View File

@ -10,7 +10,7 @@ publish = false
futures = { version = "0.3", default-features = false } futures = { version = "0.3", default-features = false }
linkerd-dns-name = { path = "./name" } linkerd-dns-name = { path = "./name" }
linkerd-error = { path = "../error" } linkerd-error = { path = "../error" }
thiserror = "1" thiserror = "2"
tracing = "0.1" tracing = "0.1"
hickory-resolver = "0.24.1" hickory-resolver = "0.24.1"
tokio = { version = "1", features = ["rt", "sync", "time"] } tokio = { version = "1", features = ["rt", "sync", "time"] }

View File

@ -7,5 +7,5 @@ edition = "2021"
publish = false publish = false
[dependencies] [dependencies]
thiserror = "1" thiserror = "2"
untrusted = "0.9" untrusted = "0.9"

View File

@ -10,4 +10,4 @@ publish = false
futures = { version = "0.3", default-features = false } futures = { version = "0.3", default-features = false }
[dev-dependencies] [dev-dependencies]
thiserror = "1" thiserror = "2"

View File

@ -9,7 +9,7 @@ publish = false
[dependencies] [dependencies]
futures = { version = "0.3", default-features = false } futures = { version = "0.3", default-features = false }
rand = { version = "0.8", features = ["small_rng"] } rand = { version = "0.8", features = ["small_rng"] }
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["time"] } tokio = { version = "1", features = ["time"] }
pin-project = "1" pin-project = "1"

View File

@ -20,7 +20,7 @@ http-body = "0.4"
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
prometheus-client = "0.22" prometheus-client = "0.22"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["time"] } tokio = { version = "1", features = ["time"] }
linkerd-error = { path = "../../error" } linkerd-error = { path = "../../error" }

View File

@ -15,7 +15,7 @@ parking_lot = "0.12"
tokio = { version = "1", features = ["macros", "rt"] } tokio = { version = "1", features = ["macros", "rt"] }
tower = { version = "0.4", features = ["retry"] } tower = { version = "0.4", features = ["retry"] }
tracing = "0.1" tracing = "0.1"
thiserror = "1" thiserror = "2"
linkerd-http-box = { path = "../box" } linkerd-http-box = { path = "../box" }
linkerd-error = { path = "../../error" } linkerd-error = { path = "../../error" }

View File

@ -12,7 +12,7 @@ proto = ["linkerd2-proxy-api"]
http = "0.2" http = "0.2"
regex = "1" regex = "1"
rand = "0.8" rand = "0.8"
thiserror = "1" thiserror = "2"
tracing = "0.1" tracing = "0.1"
url = "2" url = "2"

View File

@ -15,7 +15,7 @@ http = "0.2"
http-body = "0.4" http-body = "0.4"
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", default-features = false } tokio = { version = "1", default-features = false }
tracing = "0.1" tracing = "0.1"

View File

@ -11,4 +11,4 @@ HTTP version types.
[dependencies] [dependencies]
http = "0.2" http = "0.2"
thiserror = "1" thiserror = "2"

View File

@ -8,7 +8,7 @@ publish = false
[dependencies] [dependencies]
prometheus-client = "0.22" prometheus-client = "0.22"
thiserror = "1" thiserror = "2"
tracing = "0.1" tracing = "0.1"
url = "2.5.4" url = "2.5.4"

View File

@ -14,7 +14,7 @@ futures = { version = "0.3", default-features = false }
ring = { version = "0.17", features = ["std"] } ring = { version = "0.17", features = ["std"] }
rustls-pemfile = "1.0" rustls-pemfile = "1.0"
rustls-webpki = { version = "0.101.5", features = ["std"] } rustls-webpki = { version = "0.101.5", features = ["std"] }
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["macros", "rt", "sync"] } tokio = { version = "1", features = ["macros", "rt", "sync"] }
tokio-rustls = { version = "0.24", features = ["dangerous_configuration"] } tokio-rustls = { version = "0.24", features = ["dangerous_configuration"] }
tracing = "0.1" tracing = "0.1"

View File

@ -7,7 +7,7 @@ publish = false
[dependencies] [dependencies]
parking_lot = "0.12" parking_lot = "0.12"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["sync", "time"] } tokio = { version = "1", features = ["sync", "time"] }
tower-test = "0.4" tower-test = "0.4"
tracing = "0.1" tracing = "0.1"

View File

@ -11,7 +11,7 @@ futures = { version = "0.3", default-features = false }
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
prometheus-client = "0.22" prometheus-client = "0.22"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["rt", "sync", "time"] } tokio = { version = "1", features = ["rt", "sync", "time"] }
tokio-util = "0.7" tokio-util = "0.7"
tracing = "0.1" tracing = "0.1"

View File

@ -22,7 +22,7 @@ http = "0.2"
once_cell = { version = "1" } once_cell = { version = "1" }
prost-types = { version = "0.12", optional = true } prost-types = { version = "0.12", optional = true }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }
thiserror = { version = "1", optional = true } thiserror = { version = "2", optional = true }
linkerd-error = { path = "../../error" } linkerd-error = { path = "../../error" }
linkerd-exp-backoff = { path = "../../exp-backoff" } linkerd-exp-backoff = { path = "../../exp-backoff" }

View File

@ -34,7 +34,7 @@ hyper-balance = { path = "../../../hyper-balance" }
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
rand = "0.8" rand = "0.8"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["rt", "sync", "time"] } tokio = { version = "1", features = ["rt", "sync", "time"] }
tower = { version = "0.4", default-features = false } tower = { version = "0.4", default-features = false }
tracing = "0.1" tracing = "0.1"

View File

@ -16,7 +16,7 @@ linkerd-metrics = { path = "../../metrics" }
linkerd-stack = { path = "../../stack" } linkerd-stack = { path = "../../stack" }
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["time", "sync"] } tokio = { version = "1", features = ["time", "sync"] }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }
tracing = "0.1" tracing = "0.1"

View File

@ -13,7 +13,7 @@ Utilities for working with `Resolve` implementations
futures = { version = "0.3", default-features = false } futures = { version = "0.3", default-features = false }
linkerd-error = { path = "../../error" } linkerd-error = { path = "../../error" }
linkerd-proxy-core = { path = "../core" } linkerd-proxy-core = { path = "../core" }
thiserror = "1" thiserror = "2"
tower = "0.4" tower = "0.4"
tracing = "0.1" tracing = "0.1"
pin-project = "1" pin-project = "1"

View File

@ -15,7 +15,7 @@ governor = { version = "0.7", default-features = false, features = ["std"] }
ipnet = "2" ipnet = "2"
http = "0.2" http = "0.2"
prost-types = { version = "0.12", optional = true } prost-types = { version = "0.12", optional = true }
thiserror = "1" thiserror = "2"
linkerd-http-route = { path = "../../http/route" } linkerd-http-route = { path = "../../http/route" }
linkerd-identity = { path = "../../identity" } linkerd-identity = { path = "../../identity" }

View File

@ -21,7 +21,7 @@ tower = "0.4"
tracing = "0.1" tracing = "0.1"
x509-parser = "0.16.0" x509-parser = "0.16.0"
asn1 = { version = "0.6", package = "simple_asn1" } asn1 = { version = "0.6", package = "simple_asn1" }
thiserror = "1" thiserror = "2"
[dev-dependencies] [dev-dependencies]
rcgen = "0.12.0" rcgen = "0.12.0"

View File

@ -22,7 +22,7 @@ linkerd-tls = { path = "../../tls" }
parking_lot = "0.12" parking_lot = "0.12"
prost-types = "0.12" prost-types = "0.12"
rand = { version = "0.8" } rand = { version = "0.8" }
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["time"] } tokio = { version = "1", features = ["time"] }
tower = { version = "0.4", default-features = false } tower = { version = "0.4", default-features = false }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }

View File

@ -15,7 +15,7 @@ linkerd-error = { path = "../../error" }
linkerd-io = { path = "../../io" } linkerd-io = { path = "../../io" }
linkerd-stack = { path = "../../stack" } linkerd-stack = { path = "../../stack" }
socket2 = "0.5" socket2 = "0.5"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["macros", "net"] } tokio = { version = "1", features = ["macros", "net"] }
tokio-stream = { version = "0.1", features = ["net"] } tokio-stream = { version = "0.1", features = ["net"] }
tracing = "0.1" tracing = "0.1"

View File

@ -9,7 +9,7 @@ publish = false
ahash = "0.8" ahash = "0.8"
futures = { version = "0.3", default-features = false } futures = { version = "0.3", default-features = false }
parking_lot = "0.12" parking_lot = "0.12"
thiserror = "1" thiserror = "2"
tracing = "0.1" tracing = "0.1"
linkerd-error = { path = "../error" } linkerd-error = { path = "../error" }
linkerd-stack = { path = "../stack" } linkerd-stack = { path = "../stack" }

View File

@ -22,7 +22,7 @@ tokio = { version = "1", features = ["macros", "rt", "sync", "time"] }
tokio-stream = { version = "0.1", features = ["sync"] } tokio-stream = { version = "0.1", features = ["sync"] }
tonic = { version = "0.10", default-features = false } tonic = { version = "0.10", default-features = false }
tower = { version = "0.4.13", features = ["retry", "util"] } tower = { version = "0.4.13", features = ["retry", "util"] }
thiserror = "1" thiserror = "2"
tracing = "0.1" tracing = "0.1"
linkerd-addr = { path = "../addr" } linkerd-addr = { path = "../addr" }

View File

@ -17,7 +17,7 @@ futures = { version = "0.3", default-features = false }
linkerd-error = { path = "../error" } linkerd-error = { path = "../error" }
parking_lot = "0.12" parking_lot = "0.12"
pin-project = "1" pin-project = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["macros", "rt", "sync", "time"] } tokio = { version = "1", features = ["macros", "rt", "sync", "time"] }
tokio-util = { version = "0.7" } tokio-util = { version = "0.7" }
tower = { version = "0.4", features = ["buffer", "filter", "spawn-ready", "util"] } tower = { version = "0.4", features = ["buffer", "filter", "spawn-ready", "util"] }

View File

@ -17,7 +17,7 @@ linkerd-identity = { path = "../identity" }
linkerd-io = { path = "../io" } linkerd-io = { path = "../io" }
linkerd-stack = { path = "../stack" } linkerd-stack = { path = "../stack" }
pin-project = "1" pin-project = "1"
thiserror = "1" thiserror = "2"
tokio = { version = "1", features = ["macros", "time"] } tokio = { version = "1", features = ["macros", "time"] }
tower = "0.4" tower = "0.4"
tracing = "0.1" tracing = "0.1"

View File

@ -11,7 +11,7 @@ proto = ["linkerd2-proxy-api"]
[dependencies] [dependencies]
regex = "1" regex = "1"
rand = "0.8" rand = "0.8"
thiserror = "1" thiserror = "2"
tracing = "0.1" tracing = "0.1"
linkerd-tls = { path = "../" } linkerd-tls = { path = "../" }
linkerd-dns = { path = "../../dns" } linkerd-dns = { path = "../../dns" }