Debian Codegraph @

debian/missing-sources/string_cache/Cargo.toml.orig

raw
1 [package]
2 name = "string_cache"
3 version = "0.9.0" # Also update README.md when making a semver-breaking change
4 authors = ["The Servo Project Developers"]
5 description = "A string interning library for Rust, developed as part of the Servo project."
6 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/servo/string-cache"
8 documentation = "https://docs.rs/string_cache"
9 edition = "2018"
10 rust-version = "1.70.0"
11
12 # Do not `exclude` ./string-cache-codegen because we want to include
13 # ./string-cache-codegen/shared.rs, and `include` is a pain to use
14 # (It has to be exhaustive.)
15 # This means that packages for this crate include some unused files,
16 # but they’re not too big so that shouldn’t be a problem.
17
18 [lib]
19 name = "string_cache"
20
21 [features]
22 serde_support = ["serde"]
23 default = ["serde_support"]
24
25 [dependencies]
26 precomputed-hash = "0.1"
27 serde = { version = "1", optional = true }
28 malloc_size_of = { version = "0.1", default-features = false, optional = true }
29 phf_shared = "0.13"
30 new_debug_unreachable = "1.0.2"
31 parking_lot = "0.12"
32
33 [[test]]
34 name = "small-stack"
35 harness = false
36
37 [workspace]
38 members = [
39 "string-cache-codegen",
40 "integration-tests",
41 ]