1 unstable release
0.1.0 | Nov 5, 2022 |
---|
#25 in #calculating
4KB
powerzones
A utility library for calculating cycling power zones using Hunter Allen's formula.
Usage
Add this to your Cargo.toml
:
[dependencies]
powerzones = "0.1.0"
Example
let ftp: u32 = 200;
let zones = calc_power_zones(ftp);
Tests
cargo test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
Powerzones is distributed under the terms of the MIT license.
Dependencies
~0.4–1MB
~22K SLoC