1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! cards-rs contains a Card type to represent playing cards and a Deck
//! which is a convenient method to generate reasonable amounts of
//! randomly ordered playing cards.

extern crate rand;

pub mod card;
pub mod deck;

// TODO: this, or something like it might make sense somewhere
/*
use card::{Card};

pub fn card_vec_to_string(cards: Vec<Card>) -> String {
    let mut s = String::new();
    s.push_str("[ ");
    for card in &cards {
        s.push_str(card.short_string().as_str());
        s.push_str(" ");
    }
    s.push_str("]");
    s
}
*/