Crates.io | coco-rs |
lib.rs | coco-rs |
version | 0.7.0 |
source | src |
created_at | 2021-12-23 08:16:37.244439 |
updated_at | 2023-09-22 19:58:18.842844 |
description | Rust bindings for COCO benchmarking framework |
homepage | |
repository | https://github.com/numbbo/coco |
max_upload_size | |
id | 502095 |
size | 45,069 |
Rust bindings for the COCO Numerical Black-Box Optimization Benchmarking Framework.
See https://github.com/numbbo/coco and https://numbbo.github.io/coco/.
git
gcc
(or any other C compiler)bindgen
(cargo install bindgen-cli
)
libclang
(install libclang-dev
on Ubuntu)bash
(for generate.sh
)$ python do.py build-rust
$ cd code-experiments/build/rust/coco-sys
$ cargo build
$ # and when publishing
$ cargo package --allow-dirty
$ cargo publish --allow-dirty
$ cd code-experiments/build/rust
$ cargo build
$ # and when publishing
$ cargo package
$ cargo publish
This code is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.