Skip to content

Commit

Permalink
🐸 Improve: introduce cargo add as a method to install
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinrin0413 committed Jun 29, 2023
1 parent 176fb6f commit fb63ad1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ So this library may not work properly in the future:(

# Installation

Add the following to your `Cargo.toml` file:
Run the following Cargo command in your project directory:

```toml
[dependencies]
tetr_ch = "0.3.5"
```bash
cargo add tetr_ch
```

# Examples
Expand Down
7 changes: 3 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
//!
//! # Installation
//!
//! Add the following to your `Cargo.toml` file:
//! Run the following Cargo command in your project directory:
//!
//! ```toml
//! [dependencies]
//! tetr_ch = "0.3.5"
//! ```bash
//! cargo add tetr_ch
//! ```
//!
//! # Examples
Expand Down

0 comments on commit fb63ad1

Please sign in to comment.