# 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 = "perspective_api" version = "1.0.0" authors = ["honestlysamuk"] exclude = ["src/main.rs"] description = "An unopinionated client and a somewhat opinionated service for the Perspective API." homepage = "https://github.com/honestlysamuk/perspective_api" documentation = "https://developers.perspectiveapi.com/s/?language=en_US" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/honestlysamuk/perspective_api" [dependencies.anyhow] version = "1.0.86" optional = true [dependencies.reqwest] version = "0.12.5" features = ["json"] [dependencies.serde] version = "1.0.205" features = ["derive"] [dependencies.serde_json] version = "1.0.122" [dependencies.thiserror] version = "1.0.63" [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.5.2" [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.tokio] version = "1" features = ["full"] [features] service = ["anyhow"] [lints.clippy] collapsible_match = "warn" expect_used = "warn" match_bool = "warn" match_ref_pats = "warn" match_same_arms = "warn" match_single_binding = "warn" needless_bool = "deny" needless_late_init = "warn" needless_match = "warn" redundant_guards = "warn" redundant_pattern = "warn" redundant_pattern_matching = "warn" single_match = "warn" single_match_else = "warn" unwrap_used = "warn"