smolbitset 0.1.0

Dynamically sized bitsets with memory optimizations
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89.0"
name = "smolbitset"
version = "0.1.0"
authors = ["Florian Gebhardt <me@fgardt.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamically sized bitsets with memory optimizations"
documentation = "https://docs.rs/smolbitset"
readme = "README.md"
license = "MIT"
repository = "https://github.com/serenity-rs/smolbitset"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["std"]
serde = ["dep:serde"]
std = ["num-bigint/std"]
typesize = ["dep:typesize"]

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

[dependencies.num-bigint]
version = "0.4.2"
default-features = false

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[dependencies.typesize]
version = "0.1"
optional = true
default-features = false

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
expect_used = "allow"
option_if_let_else = "allow"
unwrap_used = "warn"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"