diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2021-11-15 20:14:50 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2021-11-15 20:14:17 +0100 |
commit | 3d5a3545f7d900177ecee5046d6660f878d96537 (patch) | |
tree | 02d2693e1c6d90771cd1f104f606772db5edd998 /Cargo.toml | |
parent | 10f04a80a878fd164ec01d4832f11c3cd63712eb (diff) | |
download | vtcol-3d5a3545f7d900177ecee5046d6660f878d96537.tar.gz |
decontaminate library from clap and anyhow deps
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -13,17 +13,22 @@ readme = "README.rst" license = "GPL-3.0" edition = "2021" +[dependencies] +libc = "0.2" +clap = { version = "2.33", optional = true } +anyhow = { version = "1.0", optional = true } + +[features] +vtcol-bin = [ "anyhow", "clap" ] + [[bin]] -name = "vtcol" -path = "src/vtcol.rs" -test = false -doc = false +name = "vtcol" +path = "src/vtcol.rs" +test = false +doc = false +required-features = [ "vtcol-bin" ] [lib] # doctests suck doctest = false -[dependencies] -clap = "2.33" -libc = "0.2" -anyhow = "1.0" |