2017-12-16 20:58:18 +00:00
|
|
|
[package]
|
|
|
|
name = "dnsbox-base"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Stefan Bühler <stbuehler@web.de>"]
|
2019-07-01 15:43:34 +00:00
|
|
|
edition = "2018"
|
2017-12-16 20:58:18 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
byteorder = "1.1.0"
|
|
|
|
bytes = "0.4"
|
2020-03-07 15:11:28 +00:00
|
|
|
cidr = "0.1.0"
|
2019-07-01 15:43:34 +00:00
|
|
|
data-encoding = "2.1.0"
|
2017-12-16 20:58:18 +00:00
|
|
|
dnsbox-derive = { path = "../dnsbox-derive" }
|
2019-07-01 15:43:34 +00:00
|
|
|
failure = "0.1.5"
|
|
|
|
lazy_static = "1.3.0"
|
2018-03-07 08:27:19 +00:00
|
|
|
log = "0.4"
|
2019-07-02 13:28:13 +00:00
|
|
|
smallvec = "0.6.10"
|
2019-09-08 15:06:38 +00:00
|
|
|
sha-1 = { version = "0.8.1", optional = true }
|
|
|
|
sha2 = { version = "0.8.0", optional = true }
|
|
|
|
gost94 = { version = "0.7.0", optional = true }
|
2019-09-08 18:17:29 +00:00
|
|
|
num-bigint = { version = "0.2.3", optional = true }
|
2017-12-21 12:32:14 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
no-unsafe = []
|
2019-09-08 15:06:38 +00:00
|
|
|
default = ['crypto']
|
2019-09-08 18:17:29 +00:00
|
|
|
crypto = ['sha-1', 'sha2', 'gost94', 'num-bigint']
|