# 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.0" name = "hipstr" version = "0.6.0" authors = ["Polazarus "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Yet another string for Rust: zero-cost borrow and slicing, inline representation for small strings, (atomic) reference counting""" readme = "README.md" keywords = [ "string", "refcount", "inline", "arc_str", "cow", ] categories = [ "memory-management", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/polazarus/hipstr" [lib] name = "hipstr" path = "src/lib.rs" [[test]] name = "basic" path = "tests/basic.rs" [dependencies.bstr] version = "1.9.1" features = ["alloc"] optional = true [dependencies.serde] version = "1.0.69" features = [] optional = true default-features = false [dependencies.serde_bytes] version = "0.11.5" features = ["alloc"] optional = true default-features = false [dependencies.sptr] version = "0.3.2" [dev-dependencies.fastrand] version = "2.0.0" [dev-dependencies.serde] version = "1.0.69" features = [ "derive", "alloc", ] default-features = false [dev-dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dev-dependencies.serde_test] version = "1.0.176" [features] bstr = ["dep:bstr"] default = ["std"] serde = [ "dep:serde", "dep:serde_bytes", ] std = ["serde/std"] unstable = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(coverage_nightly)"]