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