Skip to content

Commit 6c0b9a4

Browse files
committed
Improve internal sub-crate dependency
Instead of `patch.crates-io` globally, the internal sub-crate dependency should use `foo = { version = "0.1.0", path = "../foo" }`. For more detail, please read https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-path-dependencies Signed-off-by: Gris Ge <[email protected]>
1 parent eae528f commit 6c0b9a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ description = "netlink packet types for the netfilter subprotocol"
1414
[dependencies]
1515
anyhow = "1.0.32"
1616
byteorder = "1.3.4"
17-
netlink-packet-core = "0.4"
18-
netlink-packet-utils = "0.5"
17+
netlink-packet-core = { version = "0.4.2", path = "../netlink-packet-core" }
18+
netlink-packet-utils = { version = "0.5.1", path = "../netlink-packet-utils" }
1919
bitflags = "1.2.1"
2020
libc = "0.2.77"
2121
derive_more = "0.99.16"
2222

2323
[dev-dependencies]
24-
netlink-sys = "0.8"
24+
netlink-sys = { version = "0.8.2", path = "../netlink-sys" }

0 commit comments

Comments
 (0)