-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
60 lines (51 loc) · 1.43 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "hipstr"
version = "0.6.0"
authors = ["Polazarus <[email protected]>"]
description = """Yet another string for Rust: zero-cost borrow and slicing,
inline representation for small strings, (atomic) reference counting"""
repository = "https://github.com/polazarus/hipstr"
keywords = ["string", "refcount", "inline", "arc_str", "cow"]
categories = ["memory-management", "data-structures"]
license = "MIT OR Apache-2.0"
edition = "2021"
readme = "README.md"
rust-version = "1.81.0"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
std = ["serde/std", "serde_bytes/std"]
unstable = []
serde = ["dep:serde", "dep:serde_bytes"]
bstr = ["dep:bstr"]
[dev-dependencies]
fastrand = "2.0.0"
serde_test = "1.0.176"
serde = { version = "1.0.100", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0.45", default-features = false, features = ["alloc"] }
[dependencies]
sptr = "0.3.2"
[dependencies.bstr]
version = "1"
optional = true
default-features = false
features = ["alloc"]
[dependencies.serde]
version = "1.0.100"
optional = true
default-features = false
features = ["alloc"]
[dependencies.serde_bytes]
version = "0.11.3"
optional = true
default-features = false
features = ["alloc"]
[target.'cfg(loom)'.dependencies]
loom = "0.7"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(coverage_nightly)',
'cfg(docsrs)',
'cfg(loom)',
] }