7 个版本 (破坏性更新)

0.7.0 2023 年 9 月 22 日
0.6.0 2023 年 5 月 30 日
0.5.0 2022 年 6 月 2 日
0.4.0 2022 年 1 月 24 日
0.1.0 2021 年 12 月 23 日

#147科学

每月 47 次下载
mahf-coco 中使用

MIT/Apache

1.5MB
30K SLoC

C 29K SLoC // 0.1% comments Rust 459 SLoC // 0.0% comments

Coco

Crates.io docs.rs

Rust 对 COCO 数值黑盒优化基准测试框架的绑定。

请参阅 https://github.com/numbbo/cocohttps://numbbo.github.io/coco/

构建和打包

要求

  • git
  • gcc(或任何其他 C 编译器)
  • bindgen(使用 cargo install bindgen-cli 安装)
    • libclang(在 Ubuntu 上安装 libclang-dev
  • bash(用于 generate.sh

coco-sys

$ 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

coco-rs

$ cd code-experiments/build/rust
$ cargo build
$ # and when publishing
$ cargo package
$ cargo publish

许可

本代码以 MIT 许可证和 Apache 许可证(版本 2.0)的条款进行分发。

有关详细信息,请参阅 LICENSE-APACHELICENSE-MIT

依赖关系

~0–2MB
~40K SLoC