# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "dd-merkle-tree" version = "0.1.0" authors = ["daguoyuan"] description = "A svm-compatible merkle tree" license = "MIT OR Apache-2.0" repository = "https://github.com/MultiAdaptive/svm-merkle-tree" [profile.release] lto = true [lib] name = "dd_merkle_tree" crate-type = [ "cdylib", "lib", ] [dependencies.anchor-lang] version = "0.30.0" optional = true [dependencies.anyhow] version = "1.0.83" [dependencies.hex] version = "0.4.3" [dependencies.hex-literal] version = "0.4.1" [dependencies.rayon] version = "1.10.0" optional = true [dependencies.sha2] version = "0.10.8" optional = true [dependencies.sha3] version = "0.10.8" optional = true [dependencies.solana-program] version = "1.17.25" optional = true [dependencies.thiserror] version = "1.0.56" [dependencies.wasm-bindgen] version = "0.2.92" optional = true [features] anchor = [ "anchor-lang", "solana", ] cpi = ["no-entrypoint"] default = ["standard"] idl-build = ["anchor-lang/idl-build"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] solana = ["solana-program"] standard = [ "sha2", "sha3", "rayon", ] wasm = [ "wasm-bindgen", "sha2", "sha3", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.anchor-lang] version = "0.30.0" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.solana-program] version = "1.17.25" [target."cfg(target_arch = \"wasm32\")".dependencies.sha2] version = "0.10.8" [target."cfg(target_arch = \"wasm32\")".dependencies.sha3] version = "0.10.8" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.92"