# 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 = "struson" version = "0.5.0" authors = ["Marcono1234"] description = "A low-level streaming JSON reader and writer" readme = "README.md" keywords = [ "json", "streaming", "parser", ] categories = ["parser-implementations"] license = "MIT OR Apache-2.0" repository = "https://github.com/Marcono1234/struson" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release-debug] debug = 2 inherits = "release" [[bench]] name = "reader_benchmark" harness = false [[bench]] name = "reader_struct_benchmark" harness = false [[bench]] name = "writer_benchmark" harness = false [[bench]] name = "writer_struct_benchmark" harness = false [[bench]] name = "serde_serialize_benchmark" harness = false required-features = ["serde"] [[bench]] name = "serde_deserialize_benchmark" harness = false required-features = ["serde"] [dependencies.duplicate] version = "1.0.0" [dependencies.serde] version = "1.0.197" optional = true [dependencies.strum] version = "0.26.2" features = ["derive"] [dependencies.thiserror] version = "1.0.57" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.serde] version = "1.0.197" [dev-dependencies.serde_json] version = "1.0.114" [features] experimental = [] [lints.clippy] bool_assert_comparison = "allow" needless_return = "allow" [lints.rust] elided_lifetimes_in_paths = "warn" unsafe_code = "forbid"