[package]
edition = "2021"
name = "antegen-thread-program"
version = "5.0.7"
authors = ["Antegen Maintainers <maintainers@antegen.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana program for Antegen - automation and scheduling threads"
homepage = "https://antegen.xyz/"
documentation = "https://docs.antegen.xyz/"
readme = "README.md"
keywords = [
"solana",
"automation",
"scheduler",
"blockchain",
"anchor",
]
license = "MIT"
repository = "https://github.com/wuwei-labs/antegen"
[features]
anchor-debug = []
cpi = ["no-entrypoint"]
custom-heap = []
custom-panic = []
default = []
idl-build = ["anchor-lang/idl-build"]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
[lib]
name = "antegen_thread_program"
crate-type = [
"cdylib",
"lib",
]
path = "src/lib.rs"
[[test]]
name = "config_init"
path = "tests/config_init.rs"
[[test]]
name = "config_update"
path = "tests/config_update.rs"
[[test]]
name = "fiber_close"
path = "tests/fiber_close.rs"
[[test]]
name = "fiber_create"
path = "tests/fiber_create.rs"
[[test]]
name = "fiber_swap"
path = "tests/fiber_swap.rs"
[[test]]
name = "fiber_update"
path = "tests/fiber_update.rs"
[[test]]
name = "state_unit"
path = "tests/state_unit.rs"
[[test]]
name = "thread_close"
path = "tests/thread_close.rs"
[[test]]
name = "thread_create"
path = "tests/thread_create.rs"
[[test]]
name = "thread_delete"
path = "tests/thread_delete.rs"
[[test]]
name = "thread_exec"
path = "tests/thread_exec.rs"
[[test]]
name = "thread_memo"
path = "tests/thread_memo.rs"
[[test]]
name = "thread_update"
path = "tests/thread_update.rs"
[[test]]
name = "thread_withdraw"
path = "tests/thread_withdraw.rs"
[dependencies.anchor-lang]
version = "=1.0.0-rc.5"
features = ["init-if-needed"]
[dependencies.antegen-cron]
version = "4.0.0"
[dependencies.antegen-fiber-program]
version = "5.0.4"
features = ["cpi"]
[dependencies.chrono]
version = "=0.4.42"
features = ["alloc"]
default-features = false
[dependencies.solana-nonce]
version = "=3.0.0"
[dev-dependencies.anchor-lang]
version = "=1.0.0-rc.5"
[dev-dependencies.borsh]
version = "=1.6.0"
[dev-dependencies.solana-sdk]
version = "=3.0.0"
[dev-dependencies.solana-system-interface]
version = "=3.0.0"
features = ["bincode"]
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ['cfg(target_os, values("solana"))']