Skip to content

Commit

Permalink
Use patch to override dependencies in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiming Jing committed Apr 9, 2018
1 parent 6c4c160 commit dda088a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,19 @@ ecdsa = ["rustls/ecdsa"]
verifier = ["rustls/dangerous_configuration"]
nightly = []


[dependencies]
rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalink", default-features = false }
rustls = "0.12"
ring = { version = "0.13.0-alpha", features = ["rsa_signing", ] }
webpki = "0.18.0-alpha"
webpki-roots = "0.14.0"
libc = "0.2"
lazy_static = "1.0.0"
enum_to_str_derive = { git = "https://github.com/kevinis/enum_to_str_derive.git" }

[patch.crates-io]
rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalink", default-features = false }
sct = { git = "https://github.com/mesalock-linux/sct.rs", branch = "mesalink", default-features = false }

[dev-dependencies]
log = "0.4"
env_logger = "0.4.2"
Expand Down

0 comments on commit dda088a

Please sign in to comment.