[package] name = "string_cache" version = "0.8.7" # 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" # 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" once_cell = "1.10.0" serde = { version = "1", optional = true } phf_shared = "0.10" new_debug_unreachable = "1.0.2" parking_lot = "0.12" [[test]] name = "small-stack" harness = false [workspace] members = [ "string-cache-codegen", "integration-tests", ]