[package]
name = "equanetwork-math"
description = "The Equa Network program math library"
version = "0.1.0"
license-file = "../LICENSE"
keywords = ["solana", "crypto", "defi", "dex", "amm"]
authors = ["admin@equa.network"]
edition = "2021"
[lib]
path = "src/mod.rs"
crate-type = ["cdylib", "rlib"]
[features]
default = []
wasm = [
"dep:wasm-bindgen",
"dep:serde",
"dep:serde-wasm-bindgen",
"dep:tsify",
"dep:js-sys",
]
floats = ["dep:libm"]
[dependencies]
ethnum = { version = "^1.5.3" }
js-sys = { version = "^0.3.103", optional = true }
libm = { version = "^0.2.16", optional = true }
equanetwork-macros = { path = "../macros-lib" , version = "0.1.0" }
serde = { version = "^1.0.229", features = ["derive"], optional = true }
serde-wasm-bindgen = { version = "^0.6.5", optional = true }
strum = { version = "^0.28.0", features = ["derive"] }
tsify = { version = "^0.5.6", features = ["js"], optional = true }
wasm-bindgen = { version = "^0.2.126", optional = true }
[dev-dependencies]
rstest = { version = "^0.26.1" }