[[bench]]
harness = false
name = "string"
path = "benches/string.rs"
[dependencies.base64]
optional = true
version = "0.22"
[dependencies.bytes]
optional = true
version = "1.8"
[dependencies.const-hex]
optional = true
version = "1.13"
[dependencies.foldhash]
optional = true
version = "0.1"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.bytes]
version = "1.8"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.md-5]
version = "0.10"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.sha2]
version = "0.10"
[features]
default = ["full"]
full = ["macros-base64", "macros-hash", "macros-random", "macros-string"]
macros-base64 = ["dep:base64", "dep:bytes"]
macros-hash = ["dep:const-hex"]
macros-random = ["dep:foldhash"]
macros-string = ["dep:const-hex"]
[lib]
name = "macro_toolset"
path = "src/lib.rs"
[lints.clippy]
await_holding_lock = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
empty_enum = "warn"
enum_glob_use = "warn"
inefficient_to_string = "warn"
mem_forget = "warn"
mutex_integer = "warn"
needless_continue = "warn"
todo = "warn"
unimplemented = "warn"
wildcard_imports = "warn"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
[package]
authors = ["Hantong Chen <cxwdyx620@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools"]
description = "Some useful macros"
edition = "2021"
keywords = ["macro", "string"]
license = "GPL-3.0-only"
name = "macro-toolset"
readme = "README.md"
repository = "https://github.com/cxw620/macro-toolset"
rust-version = "1.66"
version = "0.2.0"