-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (45 loc) · 1.48 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
[package]
name = "cami"
version = "0.0.2"
edition = "2021"
rust-version = "1.62.1"
description = "Cache-friendly comparison, binary & sequential search."
categories = ["algorithms", "caching", "data-structures", "no-std", "text-processing"]
authors = ["Peter Kehl <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cami-rs/cami"
# TODO MSRV
# ---------------
[features]
# Keep features here sorted alphabetically
alloc = []
# Whether to implement Debug (where item types implement it, too)
debug = []
deref_pure = ["unsafe", "nightly"]
# Whether to implement Hash (where item types implement it, too)
hash = []
hint_assert_unchecked = ["unsafe"]
nightly = []
# Empty: no default features.
#
# Because of https://doc.rust-lang.org/nightly/cargo/reference/features.html#dependency-features >
# "If another dependency includes flate2 without specifying default-features = false, then the
# default features will be enabled."
#
default = []
# TODO See if this comment shows up at docs.rs.
std = ["alloc"]
# TODO consider renaming to "casts"
transmute = ["unsafe"]
unsafe = []
adapt-smartstring = ["dep:smartstring"]
# -------------
[dependencies]
cami-helpers = { path = "../cami-helpers", version = "0.0.1" }
serde = { version = "1.0", optional = true, default-features = false, features=['derive'] }
# adapt-* optional dependencies:
#
smartstring = { version = "1.0.*", optional = true, default-features = false }
# ------------
[lints.rust]
warnings = "allow"