Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Dec 17, 2023
1 parent 5e4bd34 commit 45d00cd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ version = "*"
features = ["serde"]
```

## Rocket Support

Enable the `rocket` feature to support the Rocket framework.

```toml
[dependencies.byte-unit]
version = "*"
features = ["rocket"]
```

## Crates.io

https://crates.io/crates/byte-unit
Expand Down
10 changes: 10 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@ Enable the `serde` feature to support the serde framework.
version = "*"
features = ["serde"]
```
## Rocket Support
Enable the `rocket` feature to support the Rocket framework.
```toml
[dependencies.byte-unit]
version = "*"
features = ["rocket"]
```
*/

#![cfg_attr(not(feature = "std"), no_std)]
Expand Down

0 comments on commit 45d00cd

Please sign in to comment.