-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
81 lines (66 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[workspace]
resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.81.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"Cargo.lock",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
[package]
name = "kstring"
version = "2.0.2"
description = "Key String: optimized for map keys"
authors = ["Ed Page <[email protected]>"]
repository = "https://github.com/cobalt-org/kstring"
documentation = "https://docs.rs/kstring"
readme = "README.md"
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/cobalt-org/kstring/compare/{{tag_name}}...HEAD", exactly=1},
]
[features]
default = ["std", "unsafe"]
## Allow use of `std`
std = []
## O(1) clone support
arc = []
## Inline (stack) strings use the full width of `KString`s
max_inline = []
## Allow unsafe code
unsafe = []
unstable_bench_subset = []
[dependencies]
static_assertions = "1.1.0"
## `serde` compatibility
serde = { version = "1.0", optional = true }
document-features = { version = "0.2", optional = true }
[dev-dependencies]
criterion = "0.5"
proptest = "1.4.0"
[[bench]]
name = "clone"
harness = false
[[bench]]
name = "access"
harness = false
[profile.release]
debug = 1