[package]
edition = "2018"
name = "konst"
version = "0.2.20"
authors = ["rodrimati1992 <rodrimatt1985@gmail.com>"]
build = false
include = [
"Cargo.toml",
"src/**/*.rs",
"../README.md",
"LICENSE-ZLIB.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Const equivalents of std functions, compile-time comparison, and parsing"
documentation = "https://docs.rs/konst/"
readme = "README.md"
keywords = [
"no-std",
"const_fn",
"parsing",
]
categories = [
"no-std",
"parsing",
]
license = "Zlib"
repository = "https://github.com/rodrimati1992/konst/"
[package.metadata.docs.rs]
features = [
"docsrs",
"alloc",
"cmp",
"parsing",
"rust_latest_stable",
"nightly_mut_refs",
]
[features]
__test = []
__ui = [
"__test",
"trybuild",
"rust_latest_stable",
]
alloc = []
cmp = []
const_generics = ["rust_1_51"]
constant_time_slice = ["rust_latest_stable"]
default = [
"cmp",
"parsing",
]
deref_raw_in_fn = ["rust_1_56"]
docsrs = []
mut_refs = [
"rust_latest_stable",
"konst_macro_rules/mut_refs",
]
nightly_mut_refs = [
"mut_refs",
"konst_macro_rules/nightly_mut_refs",
]
parsing = [
"parsing_no_proc",
"konst_proc_macros",
]
parsing_no_proc = []
rust_1_51 = ["konst_macro_rules/rust_1_51"]
rust_1_55 = [
"rust_1_51",
"konst_macro_rules/rust_1_55",
]
rust_1_56 = [
"rust_1_55",
"konst_macro_rules/rust_1_56",
]
rust_1_57 = [
"rust_1_56",
"konst_macro_rules/rust_1_57",
]
rust_1_61 = [
"rust_1_57",
"konst_macro_rules/rust_1_61",
]
rust_1_64 = ["rust_1_61"]
rust_latest_stable = ["rust_1_64"]
[lib]
name = "konst"
path = "src/lib.rs"
[dependencies.konst_macro_rules]
version = "=0.2.19"
[dependencies.konst_proc_macros]
version = "=0.2.11"
optional = true
[dependencies.trybuild]
version = "1.0"
optional = true
[dev-dependencies.rand]
version = "0.8.4"
features = ["small_rng"]
default-features = false