# 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 = "miden-client-web"
version = "0.7.2"
authors = ["miden contributors"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web Client library that facilitates interaction with the Miden rollup"
documentation = "https://docs.rs/miden-client-web/0.7.2"
readme = "README.md"
keywords = [
    "miden",
    "client",
    "web",
    "wasm",
]
categories = ["no-std"]
license = "MIT"
repository = "https://github.com/0xPolygonMiden/miden-client"

[lib]
name = "miden_client_web"
crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies.console_error_panic_hook]
version = "0.1"

[dependencies.miden-client]
version = "0.7"
features = [
    "idxdb",
    "web-tonic",
]
default-features = false

[dependencies.miden-lib]
version = "0.7"
default-features = false

[dependencies.miden-objects]
version = "0.7"
default-features = false

[dependencies.miden-proving-service-client]
version = "0.7"
features = ["tx-prover"]
default-features = false

[dependencies.rand]
version = "0.8"

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

[dependencies.serde-wasm-bindgen]
version = "0.6"

[dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]

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

[dev-dependencies.miden-lib]
version = "0.7"
features = ["testing"]
default-features = false

[dev-dependencies.miden-objects]
version = "0.7"
features = ["testing"]
default-features = false

[dev-dependencies.miden-tx]
version = "0.7"
features = [
    "async",
    "testing",
]
default-features = false

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

[features]
testing = ["miden-client/testing"]