-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (28 loc) · 949 Bytes
/
Copy pathCargo.toml
File metadata and controls
33 lines (28 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "trust-bo"
version = "0.3.0"
edition = "2021"
description = "Trust Region Bayesian Optimization engine (TuRBO-style) with a CPU-only Rust core, exposed to Python via PyO3"
license = "MIT"
repository = "https://github.com/K092203/TRust-BO"
authors = ["Kotaro Ozawa"]
[lib]
name = "trust_bo"
crate-type = ["cdylib"]
[dependencies]
# pyo3/extension-module is enabled by maturin (see [tool.maturin] in
# pyproject.toml), not here — having it on by default breaks `cargo test`
# linking: https://pyo3.rs/latest/faq#i-cant-run-cargo-test
pyo3 = { version = "0.22", features = ["abi3-py39"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rand = { version = "0.8", features = ["std_rng"] }
rayon = "1"
burn = { version = "0.16", features = ["ndarray", "autodiff"] }
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
[[bin]]
name = "branin_demo"
path = "src/bin/branin_demo.rs"