# 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.85"
name = "dioxus-dnd"
version = "2.2.0"
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modular, accessible drag-and-drop for Dioxus: sortable lists, kanban boards, trees, grids, file drops, multi-select, touch support and more"
readme = "README.md"
keywords = [
    "dioxus",
    "drag-and-drop",
    "dnd",
    "sortable",
    "ui",
]
categories = [
    "gui",
    "wasm",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/kindintelligence/dioxus-dnd"

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

[features]
default = []
serde = [
    "dep:serde",
    "dep:serde_json",
]
web = ["dep:web-sys"]

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

[[example]]
name = "gallery"
path = "examples/gallery/main.rs"

[[example]]
name = "kanban"
path = "examples/kanban.rs"

[[example]]
name = "regressions"
path = "examples/regressions.rs"

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

[dependencies.dioxus]
version = "0.7"
features = ["minimal"]
default-features = false

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.web-sys]
version = "0.3.98"
features = ["Element"]
optional = true

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.dioxus]
version = "0.7"
features = [
    "minimal",
    "launch",
    "web",
    "document",
    "mounted",
    "router",
]
default-features = false

[dev-dependencies.dioxus-ssr]
version = "0.7"

[dev-dependencies.futures-util]
version = "0.3"
default-features = false

[dev-dependencies.web-sys]
version = "0.3"
features = ["Location"]
