[package] name = "ark-api-ffi" version = "0.17.0-pre.43" description = "Ark low-level Wasm FFI API" license = "MIT OR Apache-2.0" authors.workspace = true edition.workspace = true rust-version.workspace = true #repository = "" TODO #homepage = "" TODO publish = true [lints] workspace = true [lib] doctest = true test = true [dependencies] # do not add additional dependencies here! ark-api-macros = { version = "0.13.0", path = "../api-macros" } # external dependencies arbitrary = { version = "1", optional = true, features = ["derive"] } bitflags = { version = "1.2.1", default-features = false } bytemuck = { version = "1.9", features = ["derive", "min_const_generics"] } num_enum = "0.7.0" serde = { version = "1.0", default-features = false, optional = true, features = [ "derive", "std", ] } speedy = { version = "0.8", optional = true, features = ["glam"] } static_assertions = "1.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] anyhow = "1" [dev-dependencies] ark-public-api-test = { path = "../../tests/public-api-test" } [features] default = [] # Include example APIs # These APIs are only meant used for internal development documentation examples = [] # include unstable APIs and API extensions. # may have breaking changes in them at any time even for patch releases of this crate. # only intended for developer testing and users have to explicitly opt-in unstable = [] with_arbitrary = ["arbitrary"] with_serde = ["serde"] with_speedy = ["speedy"] # 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