Crates.io | twentyone |
lib.rs | twentyone |
version | 0.2.0 |
source | src |
created_at | 2021-02-08 21:18:47.871188 |
updated_at | 2021-02-24 02:34:22.677468 |
description | A blackjack engine for Rust. |
homepage | |
repository | https://github.com/MysteryBlokHed/twentyone |
max_upload_size | |
id | 352503 |
size | 40,067 |
A blackjack engine for Rust.
To build the project, run cargo build
in the project's root directory.
To test the project, run cargo test
. To show output from tests with prints,
run cargo test -- --nocapture
.
To build project documentation, run cargo doc
in the project's root directory.
Generated documentation will be available at /target/doc/twentyone/index.html
.
To run an included example, run cargo run --example example_name
. For example,
to run the solo_cli example, you would run cargo run --example solo_cli
.
To add this project as a dependency via crates.io, add the following
to your Cargo.toml
dependencies:
[dependencies]
twentyone = "0.2"
To add this project as a dependency via the git repository,
add the following to your Cargo.toml
dependencies:
[dependencies]
twentyone = { git = "https://github.com/MysteryBlokHed/twentyone" }
To add a speific release as a dependency using a branch:
[dependencies]
twentyone = { git = "https://github.com/MysteryBlokHed/twentyone", branch = "release/0.1.0" }
After building this project, to add it as a dependency elsewhere,
add the following to your Cargo.toml
dependencies:
[dependencies]
twentyone = { path = "/path/to/build/location" }
Documentation is available at https://docs.rs/twentyone/.
This project is licensed under the Apache License, Version 2.0 (LICENSE or https://www.apache.org/licenses/LICENSE-2.0).