-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
41 lines (35 loc) · 1.09 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
[package]
name = "lean_string"
description = "Compact, clone-on-write string."
version = "0.3.0"
edition = "2021"
authors = ["ryota2357"]
repository = "https://github.com/ryota2357/lean_string"
readme = "README.md"
license = "MIT"
keywords = ["string", "sso", "cow"]
categories = ["data-structures", "no-std"]
[features]
default = ["std"]
std = []
last_byte = []
[dependencies]
itoa = "1.0"
ryu = "1.0"
castaway = { version = "0.2.3", default-features = false, features = ["alloc"] }
arbitrary = { version = "1", optional = true, default-features = false }
serde = { version = "1.0", optional = true, default-features = false }
[dev-dependencies]
paste = "1.0.15"
proptest = { version = "1.5.0", features = ["attr-macro"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[target.'cfg(loom)']
dependencies.loom = { version = "0.7.2", optional = true }
dev-dependencies.dhat = "0.3.3"
# https://github.com/tokio-rs/loom/issues/352
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]