pons 0.6.0

Rust package for contract bridge
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "pons"
version = "0.6.0"
authors = ["Chen-Pang He (https://jdh8.org)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust package for contract bridge"
homepage = "https://github.com/jdh8/pons"
documentation = "https://docs.rs/pons"
readme = "README.md"
keywords = ["bridge"]
categories = ["game-development"]
license = "Apache-2.0"
repository = "https://github.com/jdh8/pons"

[features]
serde = [
    "dep:serde",
    "dds-bridge/serde",
    "bitflags/serde",
]

[lib]
name = "pons"
path = "src/lib.rs"

[[example]]
name = "average-ns-par"
path = "examples/average-ns-par/main.rs"

[[example]]
name = "check-nltc"
path = "examples/check-nltc/main.rs"

[[example]]
name = "check-zar"
path = "examples/check-zar/main.rs"

[[example]]
name = "generate-deals"
path = "examples/generate-deals/main.rs"

[[example]]
name = "notrump-tricks"
path = "examples/notrump-tricks/main.rs"

[[test]]
name = "bidding"
path = "tests/bidding.rs"

[[test]]
name = "deck"
path = "tests/deck.rs"

[[test]]
name = "eval"
path = "tests/eval.rs"

[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"

[[test]]
name = "proptest_stats"
path = "tests/proptest_stats.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[[test]]
name = "solver"
path = "tests/solver.rs"

[[test]]
name = "stats"
path = "tests/stats.rs"

[[test]]
name = "trie"
path = "tests/trie.rs"

[[bench]]
name = "par"
path = "benches/par.rs"
harness = false

[[bench]]
name = "shuffle"
path = "benches/shuffle.rs"
harness = false

[[bench]]
name = "trie"
path = "benches/trie.rs"
harness = false

[dependencies.bitflags]
version = "2"

[dependencies.dds-bridge]
version = "0.16"

[dependencies.rand]
version = "0.10"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.dds-bridge-sys]
version = "2"

[dev-dependencies.nalgebra]
version = "0.34"

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

[dev-dependencies.serde_json]
version = "1"