[package]
edition = "2021"
name = "percolator-engine"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Formally verified risk engine for perpetual futures — fair exits (H) and O(1) overhang clearing (A/K)"
homepage = "https://github.com/aeyakovenko/percolator"
readme = "README.md"
keywords = [
"percolator",
"risk-engine",
"defi",
"perpetuals",
"formally-verified",
]
categories = [
"algorithms",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/kamiyoai/percli"
[features]
default = []
fuzz = ["test"]
test = []
[lib]
name = "percolator"
path = "src/percolator.rs"
[[test]]
name = "amm_tests"
path = "tests/amm_tests.rs"
[[test]]
name = "fuzzing"
path = "tests/fuzzing.rs"
[[test]]
name = "proofs_arithmetic"
path = "tests/proofs_arithmetic.rs"
[[test]]
name = "proofs_audit"
path = "tests/proofs_audit.rs"
[[test]]
name = "proofs_instructions"
path = "tests/proofs_instructions.rs"
[[test]]
name = "proofs_invariants"
path = "tests/proofs_invariants.rs"
[[test]]
name = "proofs_lazy_ak"
path = "tests/proofs_lazy_ak.rs"
[[test]]
name = "proofs_liveness"
path = "tests/proofs_liveness.rs"
[[test]]
name = "proofs_safety"
path = "tests/proofs_safety.rs"
[[test]]
name = "proofs_v1131"
path = "tests/proofs_v1131.rs"
[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"
[dependencies]
[dev-dependencies.proptest]
version = "1.4"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(kani)"]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
overflow-checks = true
[profile.sbf]
panic = "abort"
inherits = "release"