# 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 = "gstr" version = "0.2.0" authors = ["orzogc "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An immutable string implementation optimized for small strings and comparison." homepage = "https://github.com/orzogc/gstr" readme = "README.md" keywords = [ "string", "immutable", ] categories = ["no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/orzogc/gstr" [package.metadata.docs.rs] features = [ "serde", "rkyv", ] rustdoc-args = ["--generate-link-to-definition"] [lib] name = "gstr" path = "src/lib.rs" [[bench]] name = "compare_with_string" path = "benches/compare_with_string.rs" harness = false [dependencies.rkyv] version = "0.8" optional = true default-features = false [dependencies.serde] version = "1" features = ["alloc"] optional = true default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.proptest] version = "1.5.0" features = ["std"] default-features = false [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rkyv] version = "0.8" features = ["alloc"] default-features = false [dev-dependencies.serde_json] version = "1.0.128" features = ["alloc"] default-features = false [features] default = ["std"] nightly_test = [] proptest_miri = ["nightly_test"] rkyv = ["dep:rkyv"] serde = ["dep:serde"] std = [] [lints.clippy] doc_markdown = "warn" manual_let_else = "warn" match_same_arms = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" ref_as_ptr = "warn" semicolon_if_nothing_returned = "warn" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" [lints.rust] missing_docs = "warn" unsafe_op_in_unsafe_fn = "warn"