Files
smart-updown-token/program/programs/smart-updown/Cargo.toml
T
subochev 9f100ee122 feat: миграция smart-updown на anchor 0.31.1 + solana 2.x (SBPFv3)
- anchor-lang 0.31.1 вместо 2.0-rc/anchor-next (git)
- Address -> Pubkey (state/events/instructions)
- убран #[discrim], добавлен #[derive(InitSpace)] + space=8+INIT_SPACE
- тесты переписаны на solana-program-test 2.x (10 passed)
- сборка SBPFv3 через cargo build-sbf --tools-version v1.57
- deploy успешен в нашу сеть (agave 4.2.2, SBPFv3)
2026-09-03 05:27:34 +03:00

35 lines
720 B
TOML

[package]
name = "smart-updown"
version = "0.1.0"
description = "Created with Anchor"
edition.workspace = true
rust-version.workspace = true
[lib]
crate-type = ["cdylib", "lib"]
name = "smart_updown"
[features]
default = []
cpi = ["no-entrypoint"]
no-entrypoint = []
no-log-ix-name = []
idl-build = []
[dependencies]
anchor-lang = "0.31.1"
[dev-dependencies]
anchor-lang = "0.31.1"
solana-program-test = "2.1"
solana-client = "2.1"
solana-pubkey = "2.1"
solana-signer = "2.1"
solana-keypair = "2.1"
solana-clock = "2.1"
solana-transaction = "2.1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("solana"))'] }