-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
70 lines (58 loc) · 1.78 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "rs_poker"
version = "3.0.0-beta.26"
authors = ["Elliott Clark <eclark@apache.org>"]
keywords = ["cards", "poker"]
categories = ["games"]
homepage = "https://docs.rs/rs_poker"
repository = "https://github.com/elliottneilclark/rs-poker"
description = "A library to help with any Rust code dealing with poker. This includes card values, suits, hands, hand ranks, 5 card hand strength calculation, 7 card hand strength calulcation, and monte carlo game simulation helpers."
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
[dependencies]
rand = "~0.8.5"
thiserror = "~2.0.3"
serde = { version = "~1.0.215", optional = true, features = ["derive"] }
serde_json = { version = "~1.0.133", optional = true }
arbitrary = { version = "~1.4.1", optional = true, features = ["derive"] }
tracing = { version = "~0.1.41", optional = true}
approx = { version = "~0.5.1", optional = true}
uuid = {version = "~1.11.0", optional = true, features = ["v7"]}
[dev-dependencies]
criterion = "0.5.1"
test-log = { version = "0.2.16", features = ["trace", "log"] }
tracing-subscriber = {version = "0.3.18", default-features = true, features = ["env-filter", "fmt"]}
env_logger = {version = "0.11.3"}
approx = { version = "0.5.1"}
[features]
default = ["arena", "serde"]
uuid = ["dep:uuid"]
serde = ["dep:serde", "dep:serde_json", "uuid?/serde"]
arena = ["dep:tracing", "uuid"]
arena-test-util = ["arena", "dep:approx"]
[[bench]]
name = "arena"
harness = false
required-features = ["arena"]
[[bench]]
name = "monte_carlo_game"
harness = false
[[bench]]
name = "holdem_starting_hand"
harness = false
[[bench]]
name = "iter"
harness = false
[[bench]]
name = "parse"
harness = false
[[bench]]
name = "rank"
harness = false
[[bench]]
name = "icm_sim"
harness = false
[profile.release]
debug = true
lto = true