-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (32 loc) · 1.03 KB
/
Cargo.toml
File metadata and controls
38 lines (32 loc) · 1.03 KB
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
[package]
name = "fixed_str"
description = "Fixed-size, null-padded UTF-8 string type with const-safe construction and binary serialization support."
version = "0.9.1"
edition = "2021"
rust-version = "1.60"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/crabcode/fixed_str"
keywords = ["string", "utf8", "fixed-length", "no_std", "binrw"]
categories = ["data-structures", "encoding", "no-std"]
[features]
default = ["std", "const_mut_refs"]
binrw = ["dep:binrw"]
memchr = ["dep:memchr"]
serde = ["dep:serde"]
const_mut_refs = [] # requires rustc 1.83, disable for 1.60
std = []
[dependencies]
binrw = { version = ">=0.11.1", optional = true } # uses Args<'a> (>=0.11.0) and BinRead/BinWrite (>=0.11.1)
memchr = { version = ">=0.1", optional = true }
serde = { version = ">=1.0", features = ["derive"], optional = true }
[dev-dependencies]
criterion = "0.5"
serde_test = "1.0"
[badges]
maintenance = { status = "as-is" }
[package.metadata.docs.rs]
all-features = true
[[bench]]
name = "hex_format"
harness = false