[][src]Crate rust_birthday

A crate for determining if it's Rust's birthday (15th of May).

usage

This crate is crates.io and can be used by adding rust_birthday to the dependencies in your project's Cargo.toml.

[dependencies]
rust_birthday = "0.1.*"

and this to your crate root:

extern crate rust_birthday;

example

use rust_birthday::*;
let mut rust_birthday = RustBirthday::new();
println!("{:?}", rust_birthday.is_now());

Structs

RustBirthday

RustBirthday struct used to compute Rust's birthday from date provided