[package]
edition = "2024"
name = "nibblet"
version = "0.1.0"
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Byte-focussed alternative ser/de derives"
readme = "README.md"
keywords = [
"marshalling",
"serialization",
"deserialization",
"no_std",
"bytes",
]
categories = [
"encoding",
"no-std",
"no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TheMikeste1/discrimin-ant"
[lib]
name = "nibblet"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2"
features = ["full"]
[dev-dependencies.assert_matches]
version = "1"
[dev-dependencies.bincode]
version = "2"
features = ["serde"]
[dev-dependencies.discrimin-ant]
version = "0.1.1"
[dev-dependencies.discrimin-ant-proc]
version = "0.1.1"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
default-features = false
[lints.clippy]
alloc_instead_of_core = "warn"
arithmetic_side_effects = "warn"
cargo_common_metadata = "allow"
cfg_not_test = "deny"
dbg_macro = "warn"
default_trait_access = "allow"
empty_drop = "warn"
exit = "deny"
expect_used = "warn"
filetype_is_file = "warn"
float_cmp_const = "warn"
host_endian_bytes = "warn"
infinite_loop = "warn"
items_after_statements = "allow"
lossy_float_literal = "deny"
missing_docs_in_private_items = "warn"
module_name_repetitions = "warn"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"