[package] name = "string_cache" version = "0.9.0" # Also update README.md when making a semver-breaking change authors = ["The Servo Project Developers"] description = "A string interning library for Rust, developed as part of the Servo project." license = "MIT OR Apache-2.0" repository = "https://github.com/servo/string-cache" documentation = "https://docs.rs/string_cache" edition = "2018" rust-version = "1.70.0" # Do not `exclude` ./string-cache-codegen because we want to include # ./string-cache-codegen/shared.rs, and `include` is a pain to use # (It has to be exhaustive.) # This means that packages for this crate include some unused files, # but they’re not too big so that shouldn’t be a problem. [lib] name = "string_cache" [features] serde_support = ["serde"] default = ["serde_support"] [dependencies] precomputed-hash = "0.1" serde = { version = "1", optional = true } malloc_size_of = { version = "0.1", default-features = false, optional = true } phf_shared = "0.13" new_debug_unreachable = "1.0.2" parking_lot = "0.12" [[test]] name = "small-stack" harness = false [workspace] members = [ "string-cache-codegen", "integration-tests", ]