[package] name = "ark-module" version = "0.17.0-pre.24" description = "Ark Wasm module implementation helper" license = "MIT OR Apache-2.0" authors.workspace = true edition.workspace = true rust-version.workspace = true #repository = "" TODO #homepage = "" TODO publish = true [lib] doctest = false test = false [dependencies] ark-api = { version = "0.17.0-pre.24", path = "../api" } ark-api-ffi = { version = "0.17.0-pre.24", path = "../api-ffi" } # external dependencies log = { version = "0.4.7", default-features = false } # optional dependencies flexbuffers = { optional = true, version = "2.0" } # for AppletPersist futures = { optional = true, version = "0.3.4", default-features = false, features = [ "alloc", ] } http = { optional = true, version = "0.2.8" } # note: few types from this is part of the public API, so care has to be done on upgrades wrt to semver changes httparse = { optional = true, version = "1.6" } serde = { optional = true, version = "1.0", features = ["derive"] } [dev-dependencies] ark-public-api-test = { path = "../../tests/public-api-test" } [features] behavior = ["ark-api/behavior"] #cmdlet? #applet #transform unstable-servlet = ["ark-api-ffi/unstable", "http", "httparse"] # Enable async support. # This enables async functions in the APIs and the Wasm future runtime with_async = ["futures"] # Enable serialization support. # This enables serialization/deserialization support for most types with_serde = ["serde", "flexbuffers"] # docs.rs-specific section, https://docs.rs/about/metadata [package.metadata.docs.rs] all-features = true default-target = "wasm32-unknown-unknown" targets = [] # only build the Wasm target