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