# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "sapio-wasm-plugin"
version = "0.1.4"
authors = ["Jeremy Rubin <j@rubin.io>"]
description = "Libarary for building client/host sapio plugin bindings"
homepage = "https://sapio-lang.org"
license = "MPL-2.0"
repository = "https://github.com/sapio-lang/sapio"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[lib]
path = "src/lib.rs"
[dependencies.bitcoin]
version = "^0.26.0"
features = ["use-serde", "rand"]
package = "sapio-bitcoin"

[dependencies.directories]
version = "3.0.1"
optional = true

[dependencies.miniscript]
version = "^5.1.0"
features = ["compiler", "use-serde", "rand", "use-schemars", "serde"]
optional = true
package = "sapio-miniscript"

[dependencies.sapio]
version = "0.1.0"

[dependencies.sapio-base]
version = "0.1.0"

[dependencies.sapio-ctv-emulator-trait]
version = "0.1.0"

[dependencies.schemars]
version = "0.8.0"

[dependencies.serde]
version = "1.0"

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

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

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

[dependencies.wasmer]
version = "1"
optional = true

[dependencies.wasmer-cache]
version = "1"
optional = true

[features]
client = ["wasm-bindgen", "miniscript"]
default = ["client"]
host = ["wasmer", "wasmer-cache", "tokio", "directories"]
