# 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 = "solana-readonly-account" version = "1.2.1" build = false include = [ "/src", "/README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Readonly solana account field getter traits that work for both on-chain AccountInfos and off-chain Accounts" readme = "README.md" keywords = [ "sanctum", "solana", "account", "generics", ] categories = ["rust-patterns"] license = "MIT OR Apache-2.0" repository = "https://github.com/igneous-labs/solana-readonly-account.git" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "solana_readonly_account" path = "src/lib.rs" [dependencies.derive_more] version = ">=0.99" features = [ "deref", "deref_mut", "as_ref", "as_mut", "from", "into", ] optional = true default-features = false [dependencies.solana-program] version = ">=1" [dependencies.solana-sdk] version = ">=1" optional = true [dev-dependencies.spl-token-2022] version = "^0.7" [features] default = [] solana-sdk = [ "dep:solana-sdk", "dep:derive_more", ]