Skip to content

Commit 9fccb63

Browse files
authored
rust-sdk: add version to local dependencies (#3489)
Cargo will use the local path dependency for development but ignore the path key and instead use the specified version to resolve the dependency when published. Issue: #3446
1 parent 613790b commit 9fccb63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/rust-sdk/perfetto-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ default = ["vendored"]
2121
vendored = ["perfetto/vendored"]
2222

2323
[dependencies]
24-
perfetto = { path = "../perfetto", default-features = false }
24+
perfetto = { path = "../perfetto", version = "0.1.0", default-features = false }
2525
syn = { version = "1.0.5", features = ["full"] }
2626
quote = "1.0.8"
2727
proc-macro2 = "1.0"

contrib/rust-sdk/perfetto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ intrinsics = []
1919
vendored = ["perfetto-sys/vendored"]
2020

2121
[dependencies]
22-
perfetto-sys = { path = "../perfetto-sys", default-features = false }
22+
perfetto-sys = { path = "../perfetto-sys", version = "0.1.0", default-features = false }
2323
bitflags = "2"
2424
paste = "1"
2525
thiserror = "1"

0 commit comments

Comments
 (0)