1[package]
2name = "const_format"
3version = "0.2.32"
4authors = ["rodrimati1992 <rodrimatt1985@gmail.com>"]
5rust-version = "1.57.0"
6edition = "2021"
7license = "Zlib"
8description = "Compile-time string formatting"
9documentation = "https://docs.rs/const_format/"
10readme="../README.md"
11keywords = ["no-std", "format", "concat"]
12categories = ["no-std", "text-processing"]
13repository = "https://github.com/rodrimati1992/const_format_crates/"
14include = [
15 "Cargo.toml",
16 "src/**/*.rs",
17 "../README.md",
18 "LICENSE-ZLIB.md",
19]
20
21[features]
22default = []
23const_generics = ["rust_1_51"]
24nightly_const_generics = ["const_generics"]
25rust_1_51 = []
26rust_1_64 = ["rust_1_51", "konst", "konst/rust_1_64"]
27fmt = ["rust_1_64"]
28derive = ["fmt", "const_format_proc_macros/derive"]
29
30# soft-deprecated, use assertc instead.
31assert = ["assertc"]
32
33assertc = ["fmt", "assertcp"]
34assertcp = ["rust_1_51"]
35constant_time_as_str = ["fmt"]
36more_str_macros = ["rust_1_64"]
37
38# enables all the features, requires (potentially) the latest nightly
39all = [
40 "fmt",
41 "derive",
42 "rust_1_64",
43 "assert",
44]
45
46##############
47### "private" features
48
49#
50__debug = ["const_format_proc_macros/debug"]
51__test = []
52__only_new_tests = ["__test"]
53__docsrs = []
54
55[dependencies.const_format_proc_macros]
56version = "=0.2.32"
57path = "../const_format_proc_macros"
58
59[dependencies.konst]
60version = "0.2.13"
61default-features = false
62optional = true
63
64[dev-dependencies]
65fastrand = {version = "1.3.5", default_features = false}
66arrayvec = {version = "0.5.1", default_features = false}
67
68[package.metadata.docs.rs]
69features = ["all", "__docsrs"]
70
71