[package]
name = "synor-dex"
version = "0.1.0"
edition = "2021"
description = "Simple AMM DEX Contract for Synor"
authors = ["Synor Team <team@synor.cc>"]
license = "MIT"

[lib]
crate-type = ["cdylib"]

[dependencies]
synor-sdk = { path = "../../crates/synor-sdk", default-features = false }
borsh = { version = "1.3", default-features = false, features = ["derive"] }

[profile.release]
opt-level = "z"      # Optimize for size
lto = true           # Link-time optimization
codegen-units = 1    # Single codegen unit for better optimization
panic = "abort"      # Abort on panic (smaller binaries)
strip = true         # Strip symbols
