# 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 = "anchor-lang" version = "0.30.1" authors = ["Anchor Maintainers "] description = "Solana Sealevel eDSL" license = "Apache-2.0" repository = "https://github.com/coral-xyz/anchor" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.anchor-attribute-access-control] version = "0.30.1" [dependencies.anchor-attribute-account] version = "0.30.1" [dependencies.anchor-attribute-constant] version = "0.30.1" [dependencies.anchor-attribute-error] version = "0.30.1" [dependencies.anchor-attribute-event] version = "0.30.1" [dependencies.anchor-attribute-program] version = "0.30.1" [dependencies.anchor-derive-accounts] version = "0.30.1" [dependencies.anchor-derive-serde] version = "0.30.1" [dependencies.anchor-derive-space] version = "0.30.1" [dependencies.anchor-lang-idl] version = "0.1.1" optional = true [dependencies.arrayref] version = "0.3" [dependencies.base64] version = "0.21" [dependencies.bincode] version = "1" [dependencies.borsh] version = ">=0.9, <0.11" [dependencies.bytemuck] version = "1" [dependencies.getrandom] version = "0.2" features = ["custom"] [dependencies.solana-program] version = "1.17.3" [dependencies.thiserror] version = "1" [features] allow-missing-optionals = ["anchor-derive-accounts/allow-missing-optionals"] anchor-debug = [ "anchor-attribute-access-control/anchor-debug", "anchor-attribute-account/anchor-debug", "anchor-attribute-constant/anchor-debug", "anchor-attribute-error/anchor-debug", "anchor-attribute-event/anchor-debug", "anchor-attribute-program/anchor-debug", "anchor-derive-accounts/anchor-debug", ] derive = [] event-cpi = ["anchor-attribute-event/event-cpi"] idl-build = [ "anchor-attribute-account/idl-build", "anchor-attribute-constant/idl-build", "anchor-attribute-event/idl-build", "anchor-attribute-error/idl-build", "anchor-attribute-program/idl-build", "anchor-derive-accounts/idl-build", "anchor-derive-serde/idl-build", "anchor-lang-idl/build", ] init-if-needed = ["anchor-derive-accounts/init-if-needed"] interface-instructions = ["anchor-attribute-program/interface-instructions"]