forked from capsule-rs/capsule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (53 loc) · 1.88 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "capsule"
version = "0.1.4"
authors = ["Capsule Developers <[email protected]>"]
license = "Apache-2.0"
edition = "2018"
readme = "../README.md"
repository = "https://github.com/capsule-rs/capsule"
keywords = ["nfv", "network-functions", "packet-processing", "packet-parsing", "dpdk"]
categories = ["network-programming", "development-tools::ffi"]
documentation = "https://docs.rs/capsule/0.1.4/capsule/"
description = """
A framework for network function development. Written in Rust, inspired by
NetBricks and built on Intel's Data Plane Development Kit.
"""
[lib]
name = "capsule"
path = "src/lib.rs"
doctest = false
[dependencies]
anyhow = "1.0"
capsule-ffi = { version = "0.1.4", path = "../ffi" }
capsule-macros = { version = "0.1.4", path = "../macros" }
clap = "2.33"
criterion = { version = "0.3", optional = true }
futures-preview = "=0.3.0-alpha.19"
libc = "0.2"
metrics-core = { version = "0.5", optional = true }
metrics-runtime = { version = "0.13", optional = true, default-features = false }
once_cell = "1.7"
proptest = { version = "1.0", optional = true }
regex = "1"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
tokio = "=0.2.0-alpha.6"
tokio-executor = { version = "=0.2.0-alpha.6", features = ["current-thread", "threadpool"] }
tokio-net = { version = "=0.2.0-alpha.6", features = ["signal"] }
tokio-timer = "=0.3.0-alpha.6"
toml = "0.5"
tracing = "0.1"
[dev-dependencies]
criterion = "0.3"
proptest = { version = "1.0", default-features = false, features = ["default-code-coverage"] }
[features]
default = ["metrics"]
compile_failure = [] # compiler tests to check mutability rules are followed
full = ["metrics", "pcap-dump", "testils"]
metrics = ["metrics-core", "metrics-runtime"]
pcap-dump = []
testils = ["criterion", "proptest"]
[package.metadata.docs.rs]
features = ["capsule-ffi/rustdoc", "full"]
rustdoc-args = ["--cfg", "docsrs"]