[package] name = "ultrasonic" version = "0.12.0-beta.2" authors = ["Dr Maxim Orlovsky "] description = "Transactional execution layer with capability-based memory access for zk-AluVM" repository = "https://github.com/AluVM/ultrasonic" homepage = "https://ubideco.org/UltraSONIC" keywords = ["state-machines", "distributed-systems", "decentralized"] categories = ["algorithms", "cryptography", "science"] readme = "README.md" license = "Apache-2.0" edition = "2021" rust-version = "1.77.0" exclude = [".github"] [lib] name = "ultrasonic" crate-type = ["dylib", "rlib"] [dependencies] amplify = { version = "~4.8.0", default-features = false, features = ["derive", "hex"] } baid64 = { version = "~0.4.1", optional = true } strict_encoding = { version = "~2.8.1", default-features = false, features = ["derive"] } strict_types = { version = "~2.8.1", optional = true } zk-aluvm = "~0.12.0-beta.2" commit_verify = { version = "~0.12.0-beta.1", features = ["derive"] } serde = { version = "1", features = ["derive"], optional = true } [features] default = ["chf-sha256", "baid64"] all = ["stl", "baid64", "serde", "chf-sha256"] chf-sha256 = [] stl = ["strict_types", "commit_verify/stl", "zk-aluvm/stl"] serde = [ "dep:serde", "amplify/serde", "commit_verify/serde", "zk-aluvm/serde", ] [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen = "0.2" rand = { version = "0.8.4", optional = true } getrandom = { version = "0.2", features = ["js"] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3" [package.metadata.docs.rs] features = ["all"]