# 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 = "faststr" version = "0.2.23" authors = ["Volo Team "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Faststr is a string library that reduces the cost of clone." readme = "README.md" keywords = [ "string", "str", "volo", ] license = "MIT OR Apache-2.0" repository = "https://github.com/volo-rs/faststr" [profile.bench] opt-level = 3 lto = true debug = 2 [lib] name = "faststr" path = "src/lib.rs" [[bench]] name = "faststr" path = "benches/faststr.rs" harness = false [dependencies.bytes] version = "1" default-features = false [dependencies.itoa] version = "1" optional = true [dependencies.redis] version = "0.26" optional = true default-features = false [dependencies.ryu] version = "1" optional = true [dependencies.serde] version = "1" optional = true default-features = false [dependencies.simdutf8] version = "0.1" features = ["aarch64_neon"] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.static_assertions] version = "1" [features] default = ["std"] redis = [ "std", "dep:redis", "itoa", "ryu", ] redis-unsafe = ["redis"] serde = ["serde/alloc"] serde-unsafe = ["serde"] std = [ "bytes/std", "simdutf8/std", "serde?/std", ]