Skip to content

Commit 7bbbb2f

Browse files
committed
Update add dependency method
1 parent add3afd commit 7bbbb2f

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ To see all available examples and options:
8888
cargo run --example
8989
```
9090

91+
## Using Fluxus in Your Project
92+
93+
To use Fluxus in your project, add it as a dependency using cargo:
94+
95+
```bash
96+
cargo add fluxus --features full
97+
```
98+
99+
This will add Fluxus with all available features to your project. After adding the dependency, you can start using Fluxus in your code. Check out the examples section below for usage examples.
100+
91101
## Getting Started
92102

93103
1. Clone the repository:

crates/fluxus/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
//!
77
//! ## Add Dependencies
88
//! To use Fluxus, you need to add the following dependencies to your `Cargo.toml`:
9-
//! ```toml
10-
//! [dependencies]
11-
//! fluxus = { version = "1", features = ["full"] }
9+
//! ```shell
10+
//! cargo add fluxus --features full
1211
//! ```
1312
//!
1413
//! ## Word Count Example

0 commit comments

Comments
 (0)