# 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"
name = "maplike"
version = "0.11.0"
authors = ["Mikolaj Wielgus <wielgusmikolaj@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for maplike."
documentation = "https://docs.rs/maplike"
readme = "README.md"
keywords = [
    "undo",
    "redo",
    "rtree",
    "no_std",
]
categories = [
    "data-structures",
    "gui",
    "no-std",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mikwielgus/maplike"

[package.metadata.docs.rs]
cargo-args = [
    "--all-features",
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
alloc = []
bidimap = ["dep:bidimap"]
default = ["std"]
derive = ["dep:maplike_derive"]
rstar = ["dep:rstar"]
stable-vec = ["dep:stable-vec"]
std = ["alloc"]
thunderdome = ["dep:thunderdome"]

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

[[test]]
name = "derive"
path = "tests/derive.rs"

[[test]]
name = "traits"
path = "tests/traits.rs"

[dependencies.bidimap]
version = "0.7"
optional = true

[dependencies.document-features]
version = "0.2"
optional = true

[dependencies.maplike_derive]
version = "0.9"
optional = true

[dependencies.rstar]
version = "0.12"
optional = true

[dependencies.stable-vec]
version = "0.4"
optional = true

[dependencies.thunderdome]
version = "0.6"
optional = true

[dev-dependencies.rstar]
version = "0.12"

[dev-dependencies.stable-vec]
version = "0.4"

[dev-dependencies.thunderdome]
version = "0.6"
