67 lines
1.5 KiB
TOML
67 lines
1.5 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2018"
|
|
rust-version = "1.70.0"
|
|
name = "string_cache"
|
|
version = "0.9.0"
|
|
authors = ["The Servo Project Developers"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A string interning library for Rust, developed as part of the Servo project."
|
|
documentation = "https://docs.rs/string_cache"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/servo/string-cache"
|
|
|
|
[lib]
|
|
name = "string_cache"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "simple"
|
|
path = "examples/simple.rs"
|
|
|
|
[[test]]
|
|
name = "small-stack"
|
|
path = "tests/small-stack.rs"
|
|
harness = false
|
|
|
|
[dependencies.malloc_size_of]
|
|
version = "0.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.new_debug_unreachable]
|
|
version = "1.0.2"
|
|
|
|
[dependencies.parking_lot]
|
|
version = "0.12"
|
|
|
|
[dependencies.phf_shared]
|
|
version = "0.13"
|
|
|
|
[dependencies.precomputed-hash]
|
|
version = "0.1"
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[features]
|
|
default = ["serde_support"]
|
|
serde_support = ["serde"]
|