[package]
edition = "2024"
rust-version = "1.86"
name = "vouched-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core error types for vouched."
documentation = "https://docs.rs/vouched-core"
readme = "README.md"
keywords = [
"derive",
"newtype",
"proc-macro",
"validation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yuly3/vouched"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
default = ["std"]
std = ["alloc"]
valuable = [
"alloc",
"dep:valuable",
]
[lib]
name = "vouched_core"
path = "src/lib.rs"
[dependencies.valuable]
version = "0.1"
features = ["alloc"]
optional = true
default-features = false
[lints.clippy]
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "deny"
as_conversions = "deny"
assigning_clones = "deny"
bool_to_int_with_if = "deny"
branches_sharing_code = "deny"
equatable_if_let = "deny"
expect_used = "deny"
filter_map_next = "deny"
imprecise_flops = "deny"
lossy_float_literal = "deny"
match_wildcard_for_single_variants = "deny"
needless_continue = "deny"
needless_pass_by_ref_mut = "deny"
needless_pass_by_value = "deny"
option_option = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
ref_option = "deny"
rest_pat_in_fully_bound_structs = "deny"
str_to_string = "deny"
suboptimal_flops = "deny"
trivially_copy_pass_by_ref = "deny"
uninlined_format_args = "deny"
unnested_or_patterns = "deny"
unused_self = "deny"
unwrap_used = "deny"
use_self = "deny"
verbose_file_reads = "deny"