powerzones

Crates.iopowerzones
lib.rspowerzones
version0.2.0
created_at2022-11-05 17:26:57.840012+00
updated_at2025-04-18 16:45:02.255611+00
descriptionA utility library for calculating cycling power zones using Hunter Allen's formula.
homepage
repositoryhttps://github.com/stevedoyle/powerzones
max_upload_size
id705956
size7,633
Stephen Doyle (stevedoyle)

documentation

README

powerzones

A utility library and binary for calculating cycling power zones using Hunter Allen's method.

Usage

Add this to your Cargo.toml:

[dependencies]
powerzones = "0.2.0"

Example

let ftp: u32 = 200;
let zones = calc_power_zones(ftp);

Binary

cargo run 200

or

powerzones 200

Tests

cargo test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

Powerzones is distributed under the terms of the MIT license.

Commit count: 6

cargo fmt