# 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" rust-version = "1.81" name = "plausible-rs" version = "0.1.4" authors = ["Todd Everett Griffin "] build = false include = [ "**/*.rs", "Cargo.toml", ".clippy.toml", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust library for the Plausible Analytics API." homepage = "https://www.toddgriffin.me/" readme = "README.md" keywords = [ "plausible", "analytics", "api", "http", "client", ] categories = [ "web-programming", "api-bindings", ] license = "MIT" repository = "https://github.com/goddtriffin/plausible-rs" [lib] name = "plausible_rs" path = "src/lib.rs" [[example]] name = "event" path = "examples/event.rs" [[example]] name = "health" path = "examples/health.rs" [[test]] name = "event" path = "tests/event.rs" [[test]] name = "health" path = "tests/health.rs" [dependencies.bytes] version = "1.7.2" [dependencies.reqwest] version = "0.12.7" features = [ "json", "rustls-tls", ] default-features = false [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_json] version = "1.0.128" [dependencies.tokio] version = "1.40.0" features = ["full"] [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.allow_attributes] level = "forbid" priority = 1 [lints.clippy.cargo] level = "deny" priority = -1 [lints.clippy.complexity] level = "deny" priority = -1 [lints.clippy.correctness] level = "deny" priority = -1 [lints.clippy.multiple_crate_versions] level = "allow" priority = 1 [lints.clippy.nursery] level = "allow" priority = 0 [lints.clippy.pedantic] level = "deny" priority = -1 [lints.clippy.perf] level = "deny" priority = -1 [lints.clippy.style] level = "deny" priority = -1 [lints.clippy.suspicious] level = "deny" priority = -1 [lints.rust.unfulfilled_lint_expectations] level = "forbid" priority = 1 [lints.rust.unsafe_code] level = "forbid" priority = 1