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

[package.metadata.cargo-machete]
ignored = ["wasm-bindgen-futures"]

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.console_error_panic_hook]
version = "0.1.7"

[dependencies.hex]
version = "0.4"

[dependencies.idxdb-store]
version = "0.14.0"
default-features = false
package = "miden-idxdb-store"

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

[dependencies.miden-client]
version = "0.14.0"
features = [
    "testing",
    "tonic",
]
default-features = false

[dependencies.miden-protocol]
version = "0.14"
default-features = false

[dependencies.miden-standards]
version = "0.14"
default-features = false

[dependencies.rand]
version = "0.9"

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

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

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
default-features = false

[dependencies.tracing-wasm]
version = "0.2"

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

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

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

[lints.clippy]
ignored_unit_patterns = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
should_panic_without_expect = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1
