1[package]
2name = "const_format"
3version = "0.2.34"
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"]
27rust_1_83 = ["rust_1_64"]
28fmt = ["rust_1_83"]
29derive = ["fmt", "const_format_proc_macros/derive"]
30
31# soft-deprecated, use assertc instead.
32assert = ["assertc"]
33
34assertc = ["fmt", "assertcp"]
35assertcp = ["rust_1_51"]
36constant_time_as_str = ["fmt"]
37more_str_macros = ["rust_1_64"]
38
39# enables all the features, requires (potentially) the latest nightly
40all = [
41 "fmt",
42 "derive",
43 "rust_1_64",
44 "assert",
45]
46
47##############
48### "private" features
49
50#
51__debug = ["const_format_proc_macros/debug"]
52__test = []
53__only_new_tests = ["__test"]
54__inline_const_pat_tests = ["__test", "fmt"]
55__docsrs = []
56
57[dependencies.const_format_proc_macros]
58version = "=0.2.34"
59path = "../const_format_proc_macros"
60
61[dependencies.konst]
62version = "0.2.13"
63default-features = false
64optional = true
65
66[dev-dependencies]
67fastrand = {version = "1.3.5", default-features = false}
68arrayvec = {version = "0.5.1", default-features = false}
69
70[package.metadata.docs.rs]
71features = ["all", "__docsrs"]
72
73