powerzones 0.2.0

A utility library for calculating cycling power zones using Hunter Allen's formula.
Documentation
  • Coverage
  • 66.67%
    4 out of 6 items documented1 out of 2 items with examples
  • Size
  • Source code size: 7.15 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.42 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 24s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • stevedoyle/powerzones
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • stevedoyle

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.