diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-06 09:02:10 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-06 09:02:10 -0800 |
commit | d080927468c7e0e0d03e08ceb01fdab85c3ba9fd (patch) | |
tree | 4d4003e4a22b0de21c719c084824c9075302ded9 /nitrocli/Cargo.toml | |
parent | 75ecf543eb4077f6918fbb020c39315311a9decf (diff) | |
download | nitrocli-d080927468c7e0e0d03e08ceb01fdab85c3ba9fd.tar.gz nitrocli-d080927468c7e0e0d03e08ceb01fdab85c3ba9fd.tar.bz2 |
Do not intermix path and replace attributes in Cargo.toml
With the first usage of the nitrokey crate we have used the dependency's
path attribute to perform the replacement with a local version of the
source code, while most other dependencies are replaced using the
[replace] section.
Because the [replace] section is more flexible (it allows for
replacement of transitive dependencies), this change unifies all
dependencies to use it.
Diffstat (limited to 'nitrocli/Cargo.toml')
-rw-r--r-- | nitrocli/Cargo.toml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nitrocli/Cargo.toml b/nitrocli/Cargo.toml index ae27e63..279c6c9 100644 --- a/nitrocli/Cargo.toml +++ b/nitrocli/Cargo.toml @@ -43,7 +43,6 @@ incremental = false [dependencies.argparse] version = "0.2.2" -path = "../argparse" [dependencies.base32] version = "0.4.0" @@ -51,11 +50,9 @@ path = "../base32" [dependencies.libc] version = "0.2" -path = "../libc" [dependencies.nitrokey] version = "0.3.1" -path = "../nitrokey" [dev-dependencies.nitrokey-test] version = "0.1.1" @@ -64,9 +61,11 @@ version = "0.1.1" version = "1" [replace] +"argparse:0.2.2" = { path = "../argparse" } "base32:0.4.0" = { path = "../base32" } "cc:1.0.28" = { path = "../cc" } "libc:0.2.45" = { path = "../libc" } +"nitrokey:0.3.1" = { path = "../nitrokey" } "nitrokey-sys:3.4.1" = { path = "../nitrokey-sys" } "rand:0.6.1" = { path = "../rand" } "rustc_version:0.2.3" = { path = "../rustc_version" } |