| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.70.0" |
| 15 |
name = "string_cache" |
| 16 |
version = "0.9.0" |
| 17 |
authors = ["The Servo Project Developers"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "A string interning library for Rust, developed as part of the Servo project." |
| 25 |
documentation = "https://docs.rs/string_cache" |
| 26 |
readme = "README.md" |
| 27 |
license = "MIT OR Apache-2.0" |
| 28 |
repository = "https://github.com/servo/string-cache" |
| 29 |
|
| 30 |
[lib] |
| 31 |
name = "string_cache" |
| 32 |
path = "src/lib.rs" |
| 33 |
|
| 34 |
[[example]] |
| 35 |
name = "simple" |
| 36 |
path = "examples/simple.rs" |
| 37 |
|
| 38 |
[[test]] |
| 39 |
name = "small-stack" |
| 40 |
path = "tests/small-stack.rs" |
| 41 |
harness = false |
| 42 |
|
| 43 |
[dependencies.malloc_size_of] |
| 44 |
version = "0.1" |
| 45 |
optional = true |
| 46 |
default-features = false |
| 47 |
|
| 48 |
[dependencies.new_debug_unreachable] |
| 49 |
version = "1.0.2" |
| 50 |
|
| 51 |
[dependencies.parking_lot] |
| 52 |
version = "0.12" |
| 53 |
|
| 54 |
[dependencies.phf_shared] |
| 55 |
version = "0.13" |
| 56 |
|
| 57 |
[dependencies.precomputed-hash] |
| 58 |
version = "0.1" |
| 59 |
|
| 60 |
[dependencies.serde] |
| 61 |
version = "1" |
| 62 |
optional = true |
| 63 |
|
| 64 |
[features] |
| 65 |
default = ["serde_support"] |
| 66 |
serde_support = ["serde"] |