Crates.io | dds-bridge-sys |
lib.rs | dds-bridge-sys |
version | 2.0.1 |
source | src |
created_at | 2024-05-24 19:49:47.322157 |
updated_at | 2024-06-10 17:46:40.692235 |
description | Generated bindings to DDS, the double dummy solver for bridge |
homepage | |
repository | https://github.com/jdh8/dds-bridge-sys |
max_upload_size | |
id | 1251493 |
size | 729,934 |
Generated bindings to dds-bridge/dds, the C++ double dummy solver for contract bridge.
Initialize the thread pool before calling other library functions:
use dds_bridge_sys as dds;
// 0 stands for automatic configuration
unsafe { dds::SetMaxThreads(0) };
This crate supports the following parallel backends (in order of precedence by DDS):
std::thread
The default openmp
feature automatically uses OpenMP if the C++ compiler
supports it. If this causes issues, you can disable this feature with
--no-default-features
.