-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
57 lines (51 loc) · 1.13 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
[package]
name = "violin"
version = "0.3.0"
edition = "2021"
description = "decentralized network coordinate system using the vivaldi algorithm"
documentation = "https://docs.rs/violin/"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/kbknapp/violin"
rust-version = "1.59.0" # MSRV
categories = [
"algorithms",
"network-programming",
"no-std"
]
include = [
"src/**/*",
"Cargo.toml",
"README.md"
]
keywords = [
"vivaldi",
"network",
"coordinate",
"latency",
"distance"
]
[[bench]]
name = "heap"
path = "benches/heap.rs"
harness = false
required-features = ["alloc"]
[[bench]]
name = "heapless"
path = "benches/heapless.rs"
harness = false
[dependencies]
rand = { version = "0.8.4", optional = true }
[dev-dependencies]
criterion = "0.4.0"
rand = "0.8.4"
[features]
default = ["std", "alloc"]
nightly = [] # Enable nightly or experiemental features
doc = [] # Used when compiling docs
std = ["rand/std"] # Enable stdlib support
alloc = ["rand/alloc"] # Enable heap allocations
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]