forked from anderslanglands/ustr
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (39 loc) · 1.08 KB
/
Cargo.toml
File metadata and controls
44 lines (39 loc) · 1.08 KB
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
40
41
42
43
44
[package]
name = "ustr"
version = "0.9.0"
authors = ["Anders Langlands <anderslanglands@gmail.com>"]
edition = "2018"
license = "BSD-2-Clause-Patent"
description = "Fast, FFI-friendly string interning."
documentation = "https://docs.rs/ustr"
repository = "https://github.com/anderslanglands/ustr"
readme = "README.md"
keywords = ["string", "interning", "FFI"]
categories = ["caching", "data-structures"]
[badges]
travis-ci = {repository = "anderslanglands/ustr", branch="master"}
[dependencies]
lazy_static = "1.4.0"
spin = {version = "0.7.1", optional = true}
fasthash = {version = "0.4.0", optional = true}
byteorder = "1.3.2"
serde = {version="1.0", optional = true}
parking_lot = {version = "0.12.1", optional = true}
ahash = {version = "^0.7"}
[dev-dependencies]
criterion = "0.3.4"
crossbeam-utils = "0.8.1"
crossbeam-channel = "0.5.0"
string-interner = "0.12.2"
string_cache = "0.8.1"
libc = "0.2.62"
serde_json = "1.0"
[[bench]]
name = "creation"
harness = false
[features]
default = ["parkinglot"]
serialization= ["serde"]
spinlock = ["spin"]
parkinglot = ["parking_lot"]
hashcity = ["fasthash"]