rust-dnsbox/lib/dnsbox-base/Cargo.toml

26 lines
613 B
TOML

[package]
name = "dnsbox-base"
version = "0.1.0"
authors = ["Stefan Bühler <stbuehler@web.de>"]
edition = "2018"
[dependencies]
byteorder = "1.1.0"
bytes = "0.4"
cidr = "0.1.0"
data-encoding = "2.1.0"
dnsbox-derive = { path = "../dnsbox-derive" }
failure = "0.1.5"
lazy_static = "1.3.0"
log = "0.4"
smallvec = "0.6.10"
sha-1 = { version = "0.8.1", optional = true }
sha2 = { version = "0.8.0", optional = true }
gost94 = { version = "0.7.0", optional = true }
num-bigint = { version = "0.2.3", optional = true }
[features]
no-unsafe = []
default = ['crypto']
crypto = ['sha-1', 'sha2', 'gost94', 'num-bigint']