# 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.60" name = "capped" version = "0.0.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Provides wrappers around common rust types with capped sizes" readme = "readme.md" keywords = [ "cap", "limit", ] categories = [ "config", "parsing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/RuairidhWilliamson/capped.git" [lib] name = "capped" path = "src/lib.rs" [dependencies.serde] version = "1.0" optional = true [dev-dependencies.serde_json] version = "1.0" [features] default = [] serde = ["dep:serde"] [lints.clippy] module_name_repetitions = "allow" option_if_let_else = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" unsafe_code = "warn"