61 lines
2.3 KiB
TOML
61 lines
2.3 KiB
TOML
[package]
|
|
name = "anchor-lang"
|
|
version = "0.28.0"
|
|
authors = ["Anchor Maintainers <accounts@200ms.io>"]
|
|
repository = "https://github.com/coral-xyz/anchor"
|
|
rust-version = "1.60"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
description = "Solana Sealevel eDSL"
|
|
|
|
[features]
|
|
allow-missing-optionals = ["anchor-derive-accounts/allow-missing-optionals"]
|
|
init-if-needed = ["anchor-derive-accounts/init-if-needed"]
|
|
derive = []
|
|
default = []
|
|
event-cpi = ["anchor-attribute-event/event-cpi"]
|
|
idl-build = [
|
|
"anchor-syn/idl-build",
|
|
"anchor-derive-accounts/idl-build",
|
|
"anchor-derive-serde/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-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-attribute-program/anchor-debug",
|
|
"anchor-derive-accounts/anchor-debug"
|
|
]
|
|
|
|
[dependencies]
|
|
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.28.0" }
|
|
anchor-attribute-account = { path = "./attribute/account", version = "0.28.0" }
|
|
anchor-attribute-constant = { path = "./attribute/constant", version = "0.28.0" }
|
|
anchor-attribute-error = { path = "./attribute/error", version = "0.28.0" }
|
|
anchor-attribute-event = { path = "./attribute/event", version = "0.28.0" }
|
|
anchor-attribute-program = { path = "./attribute/program", version = "0.28.0" }
|
|
anchor-derive-accounts = { path = "./derive/accounts", version = "0.28.0" }
|
|
anchor-derive-serde = { path = "./derive/serde", version = "0.28.0" }
|
|
anchor-derive-space = { path = "./derive/space", version = "0.28.0" }
|
|
# anchor-syn can and should only be included only for idl-build. It won't compile
|
|
# for bpf due to proc-macro2 crate.
|
|
anchor-syn = { path = "./syn", version = "0.28.0", optional = true }
|
|
arrayref = "0.3"
|
|
base64 = "0.13"
|
|
bincode = "1"
|
|
borsh = ">=0.9, <0.11"
|
|
bytemuck = "1"
|
|
solana-program = ">=1.14, <1.17"
|
|
thiserror = "1"
|
|
|
|
# TODO: Remove. This crate has been added to fix a build error with the 1.16.0 release.
|
|
getrandom = { version = "0.2", features = ["custom"] }
|