-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
36 lines (30 loc) · 880 Bytes
/
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
[package]
name = "beef"
version = "0.5.2"
authors = ["Maciej Hirsz <hello@maciej.codes>"]
edition = "2018"
description = "More compact Cow"
repository = "https://github.com/maciejhirsz/beef"
documentation = "https://docs.rs/beef/"
license = "MIT OR Apache-2.0"
readme = "./README.md"
keywords = ["cow", "borrow", "str", "slice"]
categories = ["no-std", "memory-management"]
[dependencies]
serde = { version = "1.0.105", default-features = false, features = ["alloc"], optional = true }
[dev-dependencies]
serde_derive = "1.0.105"
serde_json = "1.0"
[features]
default = []
# adds `Cow::const_slice`, the const fn alternative to `Cow::borrowed` for
# generic &[T] slices.
# requires nightly: https://github.com/rust-lang/rust/issues/57563
const_fn = []
impl_serde = ["serde"]
[profile.bench]
opt-level = 3
debug = false
lto = 'fat'
debug-assertions = false
codegen-units = 1