From d0d9683df8398696147e7ee1fcffb2e4e957008c Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 4 Apr 2020 14:39:19 -0700 Subject: Remove vendored dependencies While it appears that by now we actually can get successful builds without Cargo insisting on Internet access by virtue of using the --frozen flag, maintaining vendored dependencies is somewhat of a pain point. This state will also get worse with upcoming changes that replace argparse in favor of structopt and pull in a slew of new dependencies by doing so. Then there is also the repository structure aspect, which is non-standard due to the way we vendor dependencies and a potential source of confusion. In order to fix these problems, this change removes all the vendored dependencies we have. Delete subrepo argparse/:argparse Delete subrepo base32/:base32 Delete subrepo cc/:cc Delete subrepo cfg-if/:cfg-if Delete subrepo getrandom/:getrandom Delete subrepo lazy-static/:lazy-static Delete subrepo libc/:libc Delete subrepo nitrokey-sys/:nitrokey-sys Delete subrepo nitrokey/:nitrokey Delete subrepo rand/:rand --- nitrocli/Cargo.toml | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'nitrocli/Cargo.toml') diff --git a/nitrocli/Cargo.toml b/nitrocli/Cargo.toml index a18cae9..63e6409 100644 --- a/nitrocli/Cargo.toml +++ b/nitrocli/Cargo.toml @@ -47,7 +47,6 @@ version = "0.2.2" [dependencies.base32] version = "0.4.0" -path = "../base32" [dependencies.libc] version = "0.2" @@ -63,15 +62,3 @@ version = "0.1" [dev-dependencies.regex] version = "1" - -[patch.crates-io] -argparse = { path = "../argparse" } -base32 = { path = "../base32" } -cc = { path = "../cc" } -cfg-if = { path = "../cfg-if" } -getrandom = { path = "../getrandom" } -libc = { path = "../libc" } -nitrokey = { path = "../nitrokey" } -nitrokey-sys = { path = "../nitrokey-sys" } -lazy_static = { path = "../lazy-static" } -rand_core = { path = "../rand/rand_core" } -- cgit v1.2.1