Skip to content

Commit

Permalink
chore: move rcgen to workspace dependency
Browse files Browse the repository at this point in the history
Pull-Request: #5446.
  • Loading branch information
jxs authored Jun 6, 2024
1 parent 01f7b40 commit 8f42576
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ tracing = "0.1.37"
tracing-subscriber = "0.3"
futures = "0.3.30"
ring = "0.17.8"
rcgen = "0.11.3"

[patch.crates-io]

Expand Down
2 changes: 1 addition & 1 deletion transports/tls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ futures = { workspace = true }
futures-rustls = { workspace = true }
libp2p-core = { workspace = true }
libp2p-identity = { workspace = true }
rcgen = "0.11.3"
rcgen = { workspace = true }
ring = { workspace = true }
thiserror = "1.0.61"
webpki = { version = "0.101.4", package = "rustls-webpki", features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion transports/webrtc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ libp2p-identity = { workspace = true }
libp2p-webrtc-utils = { workspace = true }
multihash = { workspace = true }
rand = "0.8"
rcgen = "0.11.3"
rcgen = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
stun = "0.5"
thiserror = "1"
Expand Down
2 changes: 1 addition & 1 deletion transports/websocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ libp2p-tcp = { workspace = true, features = ["async-io"] }
libp2p-dns = { workspace = true, features = ["async-std"] }
libp2p-identity = { workspace = true, features = ["rand"] }
async-std = { version = "1.6.5", features = ["attributes"] }
rcgen = "0.11.3"
rcgen = { workspace = true }

# Passing arguments to the docsrs builder in order to properly document cfg's.
# More information: https://docs.rs/about/builds#cross-compiling
Expand Down

0 comments on commit 8f42576

Please sign in to comment.