macro-toolset 0.8.0-rc.2

Some useful macros
Documentation
[[bench]]
harness = false
name = "hex_string"
path = "benches/hex_string.rs"

[[bench]]
harness = false
name = "rand_string"
path = "benches/rand_string.rs"

[[bench]]
harness = false
name = "str_concat"
path = "benches/str_concat.rs"

[dependencies.ammonia]
optional = true
version = "4.0.0"

[dependencies.axum-core]
optional = true
version = "0.4.0"

[dependencies.base64]
optional = true
version = "0.22.0"

[dependencies.bytes]
optional = true
version = "1.2.0"

[dependencies.chrono]
default-features = false
features = ["alloc"]
optional = true
version = "0.4.20"

[dependencies.const-hex]
default-features = false
optional = true
version = "1.14.0"

[dependencies.foldhash]
optional = true
version = "0.1.0"

[dependencies.http]
optional = true
version = "1.0.0"

[dependencies.rand]
default-features = false
features = ["std", "std_rng"]
optional = true
version = "0.8.5"

[dependencies.ryu]
optional = true
version = "1.0.0"

[dev-dependencies.bytes]
version = "1.9.0"

[dev-dependencies.const-hex]
version = "1.14.0"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.md-5]
version = "0.10.6"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.sha2]
version = "0.10.8"

[features]
default = ["feat-random", "feat-string"]
dev = ["feat-base64", "feat-hash", "feat-random-fast", "feat-string", "feat-string-ext-ammonia", "feat-string-ext-axum", "feat-string-ext-base64", "feat-string-ext-bytes", "feat-string-ext-chrono", "feat-string-ext-hex", "feat-string-ext-http", "feat-string-ext-rand", "feat-string-ext-ryu"]
feat-base64 = ["dep:base64"]
feat-hash = ["dep:const-hex"]
feat-random = []
feat-random-fast = ["feat-random", "dep:foldhash"]
feat-string = []
feat-string-ext-ammonia = ["dep:ammonia"]
feat-string-ext-axum = ["dep:axum-core", "dep:bytes"]
feat-string-ext-base64 = ["dep:base64"]
feat-string-ext-bytes = ["dep:bytes"]
feat-string-ext-chrono = ["dep:chrono"]
feat-string-ext-hex = ["dep:const-hex"]
feat-string-ext-http = ["dep:bytes", "dep:http"]
feat-string-ext-rand = ["feat-random", "dep:rand"]
feat-string-ext-ryu = ["dep:ryu"]

[lib]
name = "macro_toolset"
path = "src/lib.rs"

[lints.clippy]
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
assigning_clones = "warn"
bool_to_int_with_if = "warn"
cognitive_complexity = "warn"
create_dir = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "warn"
disallowed_script_idents = "deny"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
else_if_without_else = "deny"
enum_glob_use = "warn"
filetype_is_file = "warn"
inefficient_to_string = "warn"
mem_forget = "warn"
missing_panics_doc = "warn"
mod_module_files = "deny"
multiple_inherent_impl = "warn"
mutex_atomic = "warn"
mutex_integer = "warn"
needless_continue = "warn"
panic = "warn"
significant_drop_in_scrutinee = "warn"
todo = "warn"
unimplemented = "warn"
wildcard_dependencies = "deny"
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.0"
version = "0.8.0-rc.2"

[package.metadata.docs.rs]
features = ["dev"]

[profile.bench]
codegen-units = 1
incremental = false
lto = true
opt-level = 3
strip = true