-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
60 lines (49 loc) · 1.61 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
59
60
[package]
name = "rustposix"
version = "0.1.0"
authors = ["Nicholas Smith Renner <[email protected]>", "Jonathan Eli Singer <[email protected]>", "Tristan J. Brigham <[email protected]>"]
edition = "2018"
[lib]
path = "src/lib.rs"
# cdylib is a dynamically linkable library, which is great for linking into
# C programs and similar. rlib is needed for the criterion benchmarking libary
# and creates one of Rust's static libraries. We are currently not generating
# dylib files which are Rust's internal (non-stable) ABI.
# Source: https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3
crate-type = ["cdylib","rlib"]
test = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0", features = ["derive", "rc"] }
serde_cbor = "0.10"
libc = "0.2"
ringbuf = "0.2.6"
dashmap = { version = "5.1", features=["serde"] }
parking_lot = "0.12"
rand = "0.8.4"
lazy_static = "1.4.0"
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"]}
tempfile = "3.2.0"
grcov="0.8.19" # code coverage
[[bin]]
name = "lind_fs_utils"
path = "src/tools/fs_utils.rs"
# many benchmarks follow. Don't put any non-benchmarks below this...
[[bench]]
name = "gen_getid"
path = "benches/gen_getid.rs"
harness= false
[[bench]]
name = "fs_open_close"
path = "benches/fs_open_close.rs"
harness= false
[[bench]]
name = "fs_read_write"
path = "benches/fs_read_write.rs"
harness= false
[[bench]]
name = "fs_read_write_seek"
path = "benches/fs_read_write_seek.rs"
harness= false
# Don't put any thing below this... benchmarks above!