use-energy 0.0.1

Work and mechanical energy helpers for RustUse
Documentation
  • Coverage
  • 16.67%
    1 out of 6 items documented1 out of 4 items with examples
  • Size
  • Source code size: 4.29 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 267.05 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-energy

Work and mechanical energy helpers for RustUse.

Install

[dependencies]
use-energy = "0.0.1"

Foundation

use-energy provides small f64-first helpers for work, kinetic energy, and potential energy.

Example

use use_energy::{kinetic_energy, work};

assert_eq!(kinetic_energy(2.0, 3.0), 9.0);
assert_eq!(work(5.0, 10.0), 50.0);

When to use directly

Choose use-energy when you only need reusable energy formulas.

Scope

  • APIs stay f64-first and unit-agnostic.
  • Field solvers and advanced thermodynamics are out of scope.

Status

use-energy is a pre-1.0 crate with a deliberately small API.