# 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 = "spl-discriminator" version = "0.4.0" authors = ["Solana Labs Maintainers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Solana Program Library 8-Byte Discriminator Management" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/solana-labs/solana-program-library" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "spl_discriminator" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" [dependencies.borsh] version = "1" optional = true [dependencies.bytemuck] version = "1.19.0" features = ["derive"] [dependencies.solana-program-error] version = "2.1.0" [dependencies.solana-sha256-hasher] version = "2.1.0" [dependencies.spl-discriminator-derive] version = "0.2.0" [features] borsh = ["dep:borsh"]