[package] name = "prime-core" version = "0.12.0-alpha.1" authors = ["Dr Maxim Orlovsky "] description = "Prime consensus: proof of publication layer for client-side validation" repository = "https://github.com/ultraviolet-network/prime-core" homepage = "https://uviolet.net" keywords = ["smart-contracts", "distributed-systems", "decentralized", "blockchain"] categories = ["cryptography::cryptocurrencies"] readme = "README.md" license = "Apache-2.0" edition = "2021" rust-version = "1.77.0" exclude = [".github"] [lib] name = "prime" [dependencies] amplify = "~4.8.0" baid64 = "~0.3.0" strict_encoding = "~2.8.0" strict_types = "~2.8.0" # TODO: Make strict types optional, used only in STL commit_verify = "~0.12.0-alpha.3" single_use_seals = "~0.12.0-alpha.3" serde = { version = "1", features = ["derive"], optional = true } [features] default = [] all = ["stl", "serde"] stl = ["commit_verify/stl", "strict_types/armor"] serde = [ "dep:serde", "amplify/serde", "strict_types/serde", "commit_verify/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"]