# 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 = "ankurah"
version = "0.7.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Observable, event-driven state management for native and web"
homepage = "https://github.com/ankurah/ankurah"
documentation = "https://docs.rs/ankurah"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ankurah/ankurah"

[features]
derive = ["dep:ankurah-derive"]
instrument = ["ankurah-core/instrument"]
react = [
    "wasm",
    "ankurah-signals/react",
]
wasm = [
    "derive",
    "ankurah-derive?/wasm",
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:js-sys",
    "ankurah-core/wasm",
    "ankurah-proto/wasm",
    "ankurah-signals/wasm",
    "ankql/wasm",
    "dep:send_wrapper",
]

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

[dependencies.ankql]
version = "^0.7.9"

[dependencies.ankurah-core]
version = "^0.7.9"

[dependencies.ankurah-derive]
version = "^0.7.9"
optional = true

[dependencies.ankurah-proto]
version = "^0.7.9"

[dependencies.ankurah-signals]
version = "^0.7.9"

[dependencies.js-sys]
version = "0.3"
optional = true

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

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.tracing]
version = "0.1.40"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

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