[package] name = "xiv_craft_solver_lib" version = "0.1.2" edition = "2021" authors = ["谭俊健","Dandaedre"] description = "Small XIV solver library in rust, with python and rust bindings" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] strum_macros = "0.24" strum = { version = "0.24", features = ["derive"] } lazy_static = "1.4.0" toml = "0.5.9" clap = {version = "4.1.6", features = ["derive"]} threadpool = "1.8.1" # For python bindings TODO: make it optionnal pyo3 = { version = "0.18.0", features = ["extension-module"] } [profile.release] panic = 'abort' opt-level = 3 lto = true [lib] name = "xiv_craft_solver_lib" path = "src/lib.rs" crate-type = ["cdylib"] [[bin]] name = "xiv_craft_solver" path = "src/bin/bin.rs" [tool.maturin] python-source = "python"