mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-19 15:39:28 +00:00
74 lines
1.9 KiB
TOML
74 lines
1.9 KiB
TOML
[workspace]
|
|
members = [
|
|
"token/core",
|
|
"token",
|
|
"token/methods",
|
|
"amm/core",
|
|
"amm",
|
|
"amm/methods",
|
|
"ata/core",
|
|
"ata",
|
|
"ata/methods",
|
|
"integration_tests",
|
|
"tools/idl-gen",
|
|
]
|
|
exclude = [
|
|
"token/methods/guest",
|
|
"amm/methods/guest",
|
|
"ata/methods/guest",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc1", features = ["host"] }
|
|
nssa = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc1", features = ["test-utils"] }
|
|
token_core = { path = "token/core" }
|
|
token_program = { path = "token" }
|
|
amm_core = { path = "amm/core" }
|
|
amm_program = { path = "amm" }
|
|
ata_core = { path = "ata/core" }
|
|
ata_program = { path = "ata" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
borsh = { version = "1.0", features = ["derive"] }
|
|
risc0-zkvm = { version = "=3.0.5" }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.28.2", features = ["net", "rt-multi-thread", "sync", "macros"] }
|
|
|
|
[workspace.lints.rust]
|
|
rust_2018_idioms = { level = "deny", priority = -1 }
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "deny", priority = -1 }
|
|
|
|
# Generated-code / placeholder blockers.
|
|
dbg_macro = "deny"
|
|
todo = "deny"
|
|
unimplemented = "deny"
|
|
unwrap_used = "deny"
|
|
|
|
# Lint suppression hygiene.
|
|
allow_attributes = "warn"
|
|
allow_attributes_without_reason = "deny"
|
|
|
|
# Determinism, panic-safety, and arithmetic correctness.
|
|
arithmetic_side_effects = "deny"
|
|
indexing_slicing = "deny"
|
|
integer_division = "warn"
|
|
|
|
# Cast discipline.
|
|
as_conversions = "deny"
|
|
cast_possible_truncation = "deny"
|
|
cast_possible_wrap = "deny"
|
|
cast_precision_loss = "warn"
|
|
cast_sign_loss = "deny"
|
|
|
|
# API and enum evolution.
|
|
large_enum_variant = "deny"
|
|
match_wildcard_for_single_variants = "warn"
|
|
wildcard_enum_match_arm = "deny"
|
|
|
|
# Too noisy for this codebase unless enforced selectively.
|
|
module_name_repetitions = "allow"
|
|
similar_names = "allow"
|