2021-01-30 21:14:45 +08:00
|
|
|
[package]
|
|
|
|
name = "anchor-lang"
|
2024-06-20 23:20:02 +08:00
|
|
|
version = "0.30.1"
|
2023-06-08 01:12:56 +08:00
|
|
|
authors = ["Anchor Maintainers <accounts@200ms.io>"]
|
2022-06-20 10:16:16 +08:00
|
|
|
repository = "https://github.com/coral-xyz/anchor"
|
2022-03-13 06:39:21 +08:00
|
|
|
edition = "2021"
|
2021-01-30 21:14:45 +08:00
|
|
|
license = "Apache-2.0"
|
|
|
|
description = "Solana Sealevel eDSL"
|
|
|
|
|
2024-01-15 02:42:58 +08:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2021-01-30 21:14:45 +08:00
|
|
|
[features]
|
2022-12-12 23:32:59 +08:00
|
|
|
allow-missing-optionals = ["anchor-derive-accounts/allow-missing-optionals"]
|
2021-05-08 02:47:21 +08:00
|
|
|
anchor-debug = [
|
|
|
|
"anchor-attribute-access-control/anchor-debug",
|
|
|
|
"anchor-attribute-account/anchor-debug",
|
2021-12-04 07:49:38 +08:00
|
|
|
"anchor-attribute-constant/anchor-debug",
|
2021-05-08 02:47:21 +08:00
|
|
|
"anchor-attribute-error/anchor-debug",
|
|
|
|
"anchor-attribute-event/anchor-debug",
|
|
|
|
"anchor-attribute-program/anchor-debug",
|
|
|
|
"anchor-derive-accounts/anchor-debug"
|
|
|
|
]
|
2023-08-06 05:47:06 +08:00
|
|
|
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",
|
2024-04-15 19:56:53 +08:00
|
|
|
"anchor-lang-idl/build",
|
2023-08-06 05:47:06 +08:00
|
|
|
]
|
|
|
|
init-if-needed = ["anchor-derive-accounts/init-if-needed"]
|
2023-12-18 06:57:57 +08:00
|
|
|
interface-instructions = ["anchor-attribute-program/interface-instructions"]
|
2024-09-01 09:16:38 +08:00
|
|
|
lazy-account = ["anchor-attribute-account/lazy-account", "anchor-derive-serde/lazy-account"]
|
2021-01-30 21:14:45 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2024-06-20 23:20:02 +08:00
|
|
|
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.30.1" }
|
|
|
|
anchor-attribute-account = { path = "./attribute/account", version = "0.30.1" }
|
|
|
|
anchor-attribute-constant = { path = "./attribute/constant", version = "0.30.1" }
|
|
|
|
anchor-attribute-error = { path = "./attribute/error", version = "0.30.1" }
|
|
|
|
anchor-attribute-event = { path = "./attribute/event", version = "0.30.1" }
|
|
|
|
anchor-attribute-program = { path = "./attribute/program", version = "0.30.1" }
|
|
|
|
anchor-derive-accounts = { path = "./derive/accounts", version = "0.30.1" }
|
|
|
|
anchor-derive-serde = { path = "./derive/serde", version = "0.30.1" }
|
|
|
|
anchor-derive-space = { path = "./derive/space", version = "0.30.1" }
|
2023-09-16 05:59:18 +08:00
|
|
|
|
2024-04-15 19:56:53 +08:00
|
|
|
# `anchor-lang-idl` should only be included with `idl-build` feature
|
2024-06-20 23:20:02 +08:00
|
|
|
anchor-lang-idl = { path = "../idl", version = "0.1.1", optional = true }
|
2023-09-16 05:59:18 +08:00
|
|
|
|
2023-10-29 05:00:00 +08:00
|
|
|
base64 = "0.21"
|
2023-06-09 00:59:44 +08:00
|
|
|
bincode = "1"
|
2024-08-27 05:59:36 +08:00
|
|
|
borsh = "0.10.3"
|
2023-06-09 00:59:44 +08:00
|
|
|
bytemuck = "1"
|
2024-09-18 01:02:09 +08:00
|
|
|
solana-program = "2"
|
2023-06-09 00:59:44 +08:00
|
|
|
thiserror = "1"
|