# 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" version = "0.6.1" authors = ["miden contributors"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Client library that facilitates interaction with the Miden rollup" documentation = "https://docs.rs/miden-client/0.6.1" readme = "README.md" keywords = [ "miden", "client", ] categories = ["no-std"] license = "MIT" repository = "https://github.com/0xPolygonMiden/miden-client" [lib] name = "miden_client" crate-type = ["lib"] path = "src/lib.rs" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.22" optional = true [dependencies.chrono] version = "0.4" optional = false [dependencies.deadpool-sqlite] version = "0.9" features = ["rt_tokio_1"] optional = true [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.hex] version = "0.4" optional = true [dependencies.miden-lib] version = "0.6" default-features = false [dependencies.miden-objects] version = "0.6" default-features = false [dependencies.miden-tx] version = "0.6" features = [ "async", "async", ] default-features = false [dependencies.pollster] version = "0.4" [dependencies.prost] version = "0.13" features = ["derive"] optional = true default-features = false [dependencies.rand] version = "0.8" [dependencies.rusqlite] version = "0.32" features = [ "vtab", "array", "bundled", ] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6" optional = true [dependencies.serde_json] version = "1.0" features = ["raw_value"] [dependencies.thiserror] version = "1.0" optional = true [dependencies.tokio] version = "1.40" features = [ "rt-multi-thread", "net", "macros", ] optional = true [dependencies.tonic] version = "0.12" features = [ "prost", "codegen", ] optional = true default-features = false [dependencies.tonic-web-wasm-client] version = "0.6" optional = true default-features = false [dependencies.tracing] version = "0.1" [dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dev-dependencies.console_error_panic_hook] version = "0.1.6" [dev-dependencies.miden-lib] version = "0.6" features = ["testing"] default-features = false [dev-dependencies.miden-objects] version = "0.6" features = ["testing"] default-features = false [dev-dependencies.tokio] version = "1.40" features = [ "rt-multi-thread", "net", "macros", ] [dev-dependencies.uuid] version = "1.10" features = [ "serde", "v4", ] [dev-dependencies.web-sys] version = "0.3" features = ["console"] [build-dependencies.miden-lib] version = "0.6" default-features = false [build-dependencies.miden-rpc-proto] version = "0.6" [build-dependencies.miette] version = "7.2" features = ["fancy"] [build-dependencies.prost] version = "0.13" features = ["derive"] default-features = false [build-dependencies.prost-build] version = "0.13" default-features = false [build-dependencies.protox] version = "0.7" [build-dependencies.tonic-build] version = "0.12" [features] concurrent = [ "miden-lib/concurrent", "miden-objects/concurrent", "miden-tx/concurrent", "std", ] default = [] idxdb = [ "dep:base64", "dep:serde-wasm-bindgen", "dep:wasm-bindgen", "dep:wasm-bindgen-futures", ] sqlite = [ "dep:rusqlite", "dep:deadpool-sqlite", "std", ] std = ["miden-objects/std"] testing = [ "miden-objects/testing", "miden-lib/testing", "miden-tx/testing", ] tonic = [ "dep:hex", "dep:prost", "dep:tonic", "std", "tonic/transport", ] web-tonic = [ "dep:hex", "dep:prost", "dep:tonic", "dep:tonic-web-wasm-client", "getrandom/js", ]