forked from servo/string-cache
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
39 lines (33 loc) · 1.05 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "string_cache"
version = "0.8.4" # 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"
[[test]]
name = "small-stack"
harness = false
[workspace]
members = [
"string-cache-codegen",
"integration-tests",
]