# 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"
name = "edfsm-kv-store"
version = "0.8.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A KV Store based on Event Driven Finite State Machines"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/titanclass/edfsm.git"

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

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

[dependencies.derive_more]
version = "1"
features = [
    "from",
    "try_into",
    "deref",
    "into_iterator",
]

[dependencies.edfsm]
version = "0.8.0"

[dependencies.edfsm-machine]
version = "0.8.0"
optional = true

[dependencies.embassy-sync]
version = "0.6.0"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.smol_str]
version = "0.3.2"
features = ["serde"]

[dependencies.tokio]
version = "1"
features = ["sync"]
optional = true

[dev-dependencies.edfsm-machine]
version = "0.8.0"

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

[dev-dependencies.serde_qs]
version = "0.13"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[features]
default = ["tokio"]
embassy = ["dep:embassy-sync"]
std = ["smol_str/std"]
tokio = [
    "dep:tokio",
    "dep:edfsm-machine",
    "std",
]
