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 = "2021"
rust-version = "1.82"
name = "bit-set"
version = "0.9.1"
authors = ["Alexis Beingessner <a.beingessner@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A set of bits"
homepage = "https://github.com/contain-rs/bit-set"
documentation = "https://docs.rs/bit-set/"
readme = "README.md"
keywords = [
    "data-structures",
    "bitset",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/contain-rs/bit-set"

[package.metadata.docs.rs]
features = [
    "borsh",
    "serde",
    "miniserde",
    "nanoserde",
]

[features]
borsh = [
    "dep:borsh",
    "bit-vec/borsh",
]
borsh_std = ["borsh/std"]
default = ["std"]
miniserde = [
    "dep:miniserde",
    "bit-vec/miniserde",
]
nanoserde = [
    "dep:nanoserde",
    "bit-vec/nanoserde",
]
serde = [
    "dep:serde",
    "bit-vec/serde",
]
serde_no_std = []
serde_std = [
    "std",
    "serde/std",
]
std = ["bit-vec/std"]

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

[[bench]]
name = "bench"
path = "benches/bench.rs"

[dependencies.bit-vec]
version = "0.9.1"
default-features = false

[dependencies.borsh]
version = "1.6.0"
features = ["derive"]
optional = true
default-features = false

[dependencies.miniserde]
version = "0.1"
optional = true

[dependencies.nanoserde]
version = "0.2"
optional = true

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

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

[dev-dependencies.serde_json]
version = "1.0"