Skip to main content

karty/
lib.rs

1//! Crate providing playing cards, which can be use in standard games like contract bridge or poker.
2//!
3//!
4//! # Licence:
5//! MIT: [https://mit-license.org/](https://mit-license.org/)
6
7/// Module dedicated to whole distinguished cards
8pub mod cards;
9/// Module for figure symbols (Ace, King, etc...)
10pub mod figures;
11/// Module for suits (Spades, Hearts, Diamonds, Clubs)
12pub mod suits;
13
14#[cfg(feature = "register")]
15/// Module for registering usage of cards
16pub mod register;
17/// Module for basic distinguished symbols (Figures, Suits, ...)
18pub mod symbol;
19
20/// Random card sampling
21#[cfg(feature = "random")]
22pub mod random;
23/// Card aggregation (set of cards)
24pub mod set;
25/// Crate errors
26pub mod error;
27
28
29#[cfg(feature = "speedy")]
30pub use speedy;
31
32
33
34