| Crates.io | powerzones |
| lib.rs | powerzones |
| version | 0.2.0 |
| created_at | 2022-11-05 17:26:57.840012+00 |
| updated_at | 2025-04-18 16:45:02.255611+00 |
| description | A utility library for calculating cycling power zones using Hunter Allen's formula. |
| homepage | |
| repository | https://github.com/stevedoyle/powerzones |
| max_upload_size | |
| id | 705956 |
| size | 7,633 |
A utility library and binary for calculating cycling power zones using Hunter Allen's method.
Add this to your Cargo.toml:
[dependencies]
powerzones = "0.2.0"
let ftp: u32 = 200;
let zones = calc_power_zones(ftp);
cargo run 200
or
powerzones 200
cargo test
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featurePowerzones is distributed under the terms of the MIT license.