use-motion 0.0.1

Basic kinematics helpers for RustUse
Documentation
  • Coverage
  • 22.22%
    2 out of 9 items documented1 out of 6 items with examples
  • Size
  • Source code size: 5.62 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 358.61 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-motion

Basic kinematics helpers for RustUse.

Install

[dependencies]
use-motion = "0.0.1"

Foundation

use-motion provides small f64-first helpers for common introductory kinematics calculations.

Example

use use_motion::{average_speed, final_velocity};

let speed = average_speed(100.0, 10.0)?;

assert_eq!(speed, 10.0);
assert_eq!(final_velocity(2.0, 3.0, 4.0), 14.0);
# Ok::<(), use_motion::MotionError>(())

When to use directly

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

Scope

  • APIs stay f64-first and unit-agnostic.
  • Higher-level simulation models are out of scope.

Status

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