Skip to content

Commit d54c912

Browse files
authored
fix: Remove versions from local dev-dependencies (#378)
This way, cargo will not verify the versions when publishing, removing the need to use `cargo-hack` for publishing.
1 parent fc4492f commit d54c912

File tree

11 files changed

+15
-16
lines changed

11 files changed

+15
-16
lines changed

.craft.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ artifactProvider:
44
name: none
55
targets:
66
- name: crates
7-
noDevDeps: true
87
- name: github
98
- name: registry
109
sdks:

sentry-actix/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ actix-web = { version = "3", default-features = false }
1717
futures-util = { version = "0.3.5", default-features = false }
1818

1919
[dev-dependencies]
20-
sentry = { version = "0.23.0", path = "../sentry", features = ["test"] }
20+
sentry = { path = "../sentry", features = ["test"] }
2121
actix-rt = "2.1.0"
2222
futures = "0.3"

sentry-anyhow/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ sentry-core = { version = "0.23.0", path = "../sentry-core" }
2121
anyhow = "1.0.39"
2222

2323
[dev-dependencies]
24-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
24+
sentry = { path = "../sentry", default-features = false, features = ["test"] }

sentry-contexts/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ uname = "0.1.1"
2626
rustc_version = "0.4.0"
2727

2828
[dev-dependencies]
29-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
29+
sentry = { path = "../sentry", default-features = false, features = ["test"] }

sentry-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"]
3939
# Because we re-export all the public API in `sentry`, we actually run all the
4040
# doctests using the `sentry` crate. This also takes care of the doctest
4141
# limitation documented in https://github.com/rust-lang/rust/issues/45599.
42-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
42+
sentry = { path = "../sentry", default-features = false, features = ["test"] }
4343
thiserror = "1.0.15"
4444
anyhow = "1.0.30"
4545
tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros"] }

sentry-log/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ sentry-core = { version = "0.23.0", path = "../sentry-core" }
1616
log = { version = "0.4.8", features = ["std"] }
1717

1818
[dev-dependencies]
19-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
19+
sentry = { path = "../sentry", default-features = false, features = ["test"] }
2020
pretty_env_logger = "0.4.0"

sentry-panic/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ sentry-core = { version = "0.23.0", path = "../sentry-core" }
1616
sentry-backtrace = { version = "0.23.0", path = "../sentry-backtrace" }
1717

1818
[dev-dependencies]
19-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
19+
sentry = { path = "../sentry", default-features = false, features = ["test"] }

sentry-slog/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ slog = { version = "2.5.2", features = ["nested-values"] }
1717
serde_json = "1.0.46"
1818

1919
[dev-dependencies]
20-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
20+
sentry = { path = "../sentry", default-features = false, features = ["test"] }
2121
serde = "1.0.117"
2222
erased-serde = "0.3.12"

sentry-tower/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ sentry-core = { version = "0.23.0", path = "../sentry-core", default-features =
1919
[dev-dependencies]
2020
anyhow = "1"
2121
prost = "0.8"
22-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
23-
sentry-anyhow = { version = "0.23.0", path = "../sentry-anyhow" }
22+
sentry = { path = "../sentry", default-features = false, features = ["test"] }
23+
sentry-anyhow = { path = "../sentry-anyhow" }
2424
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
2525
tonic = { version = "0.5", features = ["transport"] }
2626
tower = { version = "0.4", features = ["util", "timeout"] }

sentry-tracing/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ tracing-subscriber = { version = "0.3.1", default-features = false, features = [
1818

1919
[dev-dependencies]
2020
log = "0.4"
21-
sentry = { version = "0.23.0", path = "../sentry", default-features = false, features = ["test"] }
21+
sentry = { path = "../sentry", default-features = false, features = ["test"] }
2222
tracing = "0.1"
2323
tokio = { version = "1.8", features = ["rt-multi-thread", "macros", "time"] }

sentry/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ serde_json = { version = "1.0.48", optional = true }
6565
tokio = { version = "1.0", features = ["rt"], optional = true }
6666

6767
[dev-dependencies]
68-
sentry-anyhow = { version = "0.23.0", path = "../sentry-anyhow" }
69-
sentry-log = { version = "0.23.0", path = "../sentry-log" }
70-
sentry-slog = { version = "0.23.0", path = "../sentry-slog" }
71-
sentry-tower = { version = "0.23.0", path = "../sentry-tower" }
72-
sentry-tracing = { version = "0.23.0", path = "../sentry-tracing" }
68+
sentry-anyhow = { path = "../sentry-anyhow" }
69+
sentry-log = { path = "../sentry-log" }
70+
sentry-slog = { path = "../sentry-slog" }
71+
sentry-tower = { path = "../sentry-tower" }
72+
sentry-tracing = { path = "../sentry-tracing" }
7373
log_ = { package = "log", version = "0.4.8", features = ["std"] }
7474
slog_ = { package = "slog", version = "2.5.2" }
7575
tower_ = { package = "tower", version = "0.4", features = ["util"] }

0 commit comments

Comments
 (0)