[package] name = "symreg-rs" version = "0.1.0" edition = "2021" license = "Apache-2.0" description = "Fast, extensible symbolic regression in Rust with Python bindings and WASM target" repository = "https://example.org/your/repo" [lib] name = "symreg_rs" crate-type = ["rlib", "cdylib"] [features] default = ["simd"] simd = [] python = ["pyo3/extension-module", "pyo3/macros"] wasm = ["wasm-bindgen"] [dependencies] rand = "0.8" rand_distr = "0.4" smallvec = "1" bitflags = "2" thiserror = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" rayon = "1" ordered-float = "4" # algebra & optimization nalgebra = { version = "0.33", default-features = false, features=["std"] } argmin = { version = "0.8", optional = true } # optional rewriting via e-graphs egg = { version = "0.9", optional = true } # bindings pyo3 = { version = "0.21", optional = true, features=["abi3", "abi3-py38"] } wasm-bindgen = { version = "0.2", optional = true } [dev-dependencies] criterion = "0.5" [profile.release] lto = true codegen-units = 1 opt-level = 3