# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "collectd-plugin" version = "0.15.0" authors = ["Nick Babcock "] description = "Provides ergonomic API ontop of collectd's C interface and macro for defining plugins easier" readme = "README.md" keywords = [ "collectd", "plugin", ] categories = ["external-ffi-bindings"] license = "MIT" repository = "https://github.com/nickbabcock/collectd-rust-plugin" [package.metadata.docs.rs] features = ["stub"] [[example]] name = "myerror" crate-type = ["cdylib"] [[example]] name = "readme" crate-type = ["cdylib"] [[example]] name = "loadrust" crate-type = ["cdylib"] path = "examples/load.rs" [[example]] name = "load_with_metadata" crate-type = ["cdylib"] path = "examples/load_with_metadata.rs" [[example]] name = "write_logrs" crate-type = ["cdylib"] [[example]] name = "write_graphite" crate-type = ["cdylib"] [[bench]] name = "collectd_bench" harness = false [dependencies.bitflags] version = "2.4" [dependencies.chrono] version = "0.4.0" [dependencies.env_logger] version = "0.10" default-features = false [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.memchr] version = "2" [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.libc] version = "0.2" [dev-dependencies.log] version = "0.4" features = ["serde"] [dev-dependencies.num_cpus] version = "1.0" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_test] version = "1.0" [dev-dependencies.trybuild] version = "1.0" [build-dependencies.bindgen] version = "0.69.1" optional = true [build-dependencies.regex] version = "1" [features] default = ["serde"] regex_log_filter = ["env_logger/regex"] stub = [] [badges.travis-ci] repository = "nickbabcock/collectd-rust-plugin"