# 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 = "light-hasher" version = "1.1.0" description = "Trait for generic usage of hash functions on Solana" license = "Apache-2.0" repository = "https://github.com/Lightprotocol/light-protocol" [dependencies.light-poseidon] version = "0.2.0" [dependencies.solana-program] version = "=1.18.22" [dependencies.thiserror] version = "1.0" [dev-dependencies.rand] version = "0.8" [features] solana = [] [target."cfg(not(target_os = \"solana\"))".dependencies.ark-bn254] version = "0.4.0" [target."cfg(not(target_os = \"solana\"))".dependencies.sha2] version = "0.10" [target."cfg(not(target_os = \"solana\"))".dependencies.sha3] version = "0.10"