-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
76 lines (63 loc) · 1.59 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
authors = ["Nick Babcock <[email protected]>"]
name = "collectd-plugin"
version = "0.15.0"
description = "Provides ergonomic API ontop of collectd's C interface and macro for defining plugins easier"
repository = "https://github.com/nickbabcock/collectd-rust-plugin"
readme = "README.md"
keywords = ["collectd", "plugin"]
categories = ["external-ffi-bindings"]
license = "MIT"
edition = "2018"
[package.metadata.docs.rs]
features = ["stub"]
[badges]
travis-ci = { repository = "nickbabcock/collectd-rust-plugin" }
[build-dependencies]
regex = "1"
bindgen = { version = "0.69.1", optional = true }
[dependencies]
chrono = "0.4.0"
bitflags = "2.4"
memchr = "2"
log = "0.4"
env_logger = { version = "0.10", default-features = false }
serde = { version = "1", features = ["derive"], optional = true }
libc = { version = "0.2" }
[dev-dependencies]
serde = { version = "1", features = ["derive"] }
serde_test = "1.0"
criterion = "0.5"
log = { version = "0.4", features = ["serde"] }
num_cpus = "1.0"
anyhow = "1.0"
libc = "0.2"
trybuild = "1.0"
doc-comment = "0.3"
[features]
stub = []
regex_log_filter = ["env_logger/regex"]
default = ["serde"]
[[example]]
name = "myerror"
crate-type = ["cdylib"]
[[example]]
name = "readme"
crate-type = ["cdylib"]
[[example]]
name = "loadrust"
path = "examples/load.rs"
crate-type = ["cdylib"]
[[example]]
name = "load_with_metadata"
path = "examples/load_with_metadata.rs"
crate-type = ["cdylib"]
[[example]]
name = "write_logrs"
crate-type = ["cdylib"]
[[example]]
name = "write_graphite"
crate-type = ["cdylib"]
[[bench]]
name = "collectd_bench"
harness = false