dds-bridge
A Rusty API for DDS, the double-dummy solver for the game of bridge.
This crate aims to be the building block of computer bridge in Rust.
It links to dds-bridge/dds, the fundamental C++ double dummy
solver, via our system crate.
Installation
A C++ toolchain is required to build the underlying dds-bridge-sys
crate. On most Linux distributions the default g++ and make are
enough; macOS needs the Xcode Command Line Tools; Windows builds via
MSVC.
Quick start
Parse a PBN-formatted deal, solve it for all strains and seats, and score a specific contract:
use ;
#
Features
serde(optional) —Serialize/Deserializefor all public types. Human-readable formats (JSON, YAML, TOML) round-trip through theDisplay/FromStrtext form; binary formats use a compact derived representation.
Minimum supported Rust version
Rust 1.85 (the first release supporting Rust 2024 edition).
License
Licensed under the Apache License, Version 2.0.