# 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 = "2021" name = "sentry_usage_accountant" version = "0.1.0" description = """ A library the Sentry application uses to account for usage of shared system resources broken down by feature. """ documentation = "https://docs.rs/sentry_usage_accountant" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/getsentry/rust-usage-accountant" [package.metadata."docs.rs"] all-features = true [[example]] name = "simple_produce" required-features = ["kafka"] [[example]] name = "simple_accountant" required-features = ["kafka"] [dependencies.chrono] version = "0.4.31" [dependencies.rdkafka] version = ">=0.29.0, <0.37.0" optional = true [dependencies.serde] version = "1.0.159" features = ["derive"] [dependencies.serde_json] version = "1.0.93" [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1.37" [dev-dependencies.clap] version = "4.4.6" features = ["derive"] [dev-dependencies.tracing-subscriber] version = "0.3.17" features = [ "env-filter", "json", "time", ] [features] kafka = ["dep:rdkafka"]