[package]
edition = "2024"
name = "rooc"
version = "0.1.22"
authors = ["Specy <specy.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A mixed integer linear programming modeling language to solve linear optimization models. Extensible, works in WASM and easy to use."
homepage = "https://rooc.specy.app"
documentation = "https://rooc.specy.app/docs/rooc"
readme = "README.md"
keywords = [
"optimization",
"milp",
"solver",
"mathematics",
"linear-programming",
]
categories = [
"mathematics",
"algorithms",
"science",
]
license = "MPL-2.0"
repository = "https://github.com/specy/rooc"
[package.metadata.wasm-pack.profile.dev.wasm-bindgen]
dwarf-debug-info = true
[lib]
name = "rooc"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "rooc"
path = "src/main.rs"
[[example]]
name = "linear_model_directly"
path = "examples/linear_model_directly.rs"
[[example]]
name = "pipe_knapsack"
path = "examples/pipe_knapsack.rs"
[[example]]
name = "simple_knapsack"
path = "examples/simple_knapsack.rs"
[[example]]
name = "source_only_knapsack"
path = "examples/source_only_knapsack.rs"
[[example]]
name = "user_defined_data_and_fns_knapsack"
path = "examples/user_defined_data_and_fns_knapsack.rs"
[[test]]
name = "math_tests"
path = "tests/math_tests.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
[[test]]
name = "primitives_tests"
path = "tests/primitives_tests.rs"
[[test]]
name = "solver_tests"
path = "tests/solver_tests.rs"
[dependencies.copper]
version = "0.1.0"
[dependencies.good_lp]
version = "1.15.0"
features = ["clarabel"]
default-features = false
[dependencies.indexmap]
version = "2.13.0"
features = ["serde"]
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.log]
version = "0.4.29"
[dependencies.microlp]
version = "0.4.0"
[dependencies.num-rational]
version = "0.4.2"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.pest]
version = "2.8.6"
[dependencies.pest_derive]
version = "2.8.6"
features = ["grammar-extras"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.utf8_slice]
version = "1.0.0"
[target.'cfg(target_family = "wasm")'.dependencies.console_error_panic_hook]
version = "0.1.7"
[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3.88"
[target.'cfg(target_family = "wasm")'.dependencies.serde-wasm-bindgen]
version = "0.6.5"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2.111"
features = ["serde-serialize"]
[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.61"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1