-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
40 lines (35 loc) · 1.08 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
[package]
name = "playing-cards"
version = "1.0.0-alpha.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A Rust library for playing cards and poker hand evaluation"
homepage = "https://github.com/Nydauron/playing-cards"
repository = "https://github.com/Nydauron/playing-cards"
readme = "README.md"
keywords = ["cards", "poker", "hand-evaluation"]
categories = ["games", "simulation"]
rust-version = "1.62"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
getrandom = "0.2.7"
itertools = { version = "0.10.3", optional = true }
num-derive = "0.4.0"
num-traits = "0.2.16"
phf = { version = "0.11.2", features = ["macros"], optional = true }
rand = "0.8.5"
rand_core = "0.6.3"
rand_xoshiro = "0.6.0"
serde = { version = "1.0.139", features = ["derive"], optional = true }
strum = "0.24.1"
strum_macros = "0.24.0"
thiserror = "1.0.44"
[dev-dependencies]
rayon = "1.5.3"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["poker"]
unstable = []
poker = ["dep:phf", "dep:itertools"]
serde = ["dep:serde"]