Cargo.toml
1 [package] 2 name = "alphavm-wasm" 3 version = "4.4.0" 4 authors = [ "The Aleo Team <hello@aleo.org>" ] 5 description = "WASM for a decentralized virtual machine" 6 homepage = "https://aleo.org" 7 repository = "https://github.com/ProvableHQ/snarkVM" 8 keywords = [ 9 "aleo", 10 "cryptography", 11 "blockchain", 12 "decentralized", 13 "zero-knowledge" 14 ] 15 categories = [ 16 "compilers", 17 "cryptography", 18 "mathematics", 19 "wasm", 20 "web-programming" 21 ] 22 include = [ "Cargo.toml", "src", "README.md", "LICENSE.md" ] 23 license = "Apache-2.0" 24 edition = "2024" 25 26 [lib] 27 crate-type = [ "cdylib", "rlib" ] 28 29 [features] 30 default = [ "full" ] 31 full = [ 32 "circuit", 33 "curves", 34 "fields", 35 "ledger", 36 "synthesizer", 37 "utilities" 38 ] 39 circuit = [ ] 40 curves = [ "alphavm-curves" ] 41 fields = [ "alphavm-fields" ] 42 ledger = [ 43 "alphavm-ledger-block", 44 "alphavm-ledger-query", 45 "alphavm-ledger-store" 46 ] 47 synthesizer = [ "alphavm-synthesizer" ] 48 utilities = [ "alphavm-utilities" ] 49 dev-print = [ "alphavm-utilities/dev-print" ] 50 51 [dependencies.alphavm-console] 52 workspace = true 53 features = [ "wasm" ] 54 55 [dependencies.alphavm-curves] 56 workspace = true 57 optional = true 58 59 [dependencies.alphavm-fields] 60 workspace = true 61 optional = true 62 63 [dependencies.alphavm-ledger-block] 64 workspace = true 65 features = [ "wasm" ] 66 optional = true 67 68 [dependencies.alphavm-ledger-query] 69 workspace = true 70 features = [ "async", "wasm" ] 71 optional = true 72 73 [dependencies.alphavm-ledger-store] 74 workspace = true 75 features = [ "wasm" ] 76 optional = true 77 78 [dependencies.alphavm-synthesizer] 79 workspace = true 80 features = [ "async", "wasm" ] 81 optional = true 82 83 [dependencies.alphavm-utilities] 84 workspace = true 85 features = [ "wasm" ] 86 optional = true 87 88 [dependencies.getrandom] 89 version = "0.2" 90 features = [ "js" ] 91 92 [dev-dependencies.wasm-bindgen-test] 93 version = "0.3.37" 94 95 [dev-dependencies.alphavm-utilities] 96 workspace = true 97 features = [ "wasm" ] 98 99 [package.metadata.cargo-machete] 100 ignored = [ 101 "getrandom", # Needed to enable js feature 102 ]