/polynomial-rs

Manipulations and data types that represent polynomial

Primary LanguageRustMIT LicenseMIT

polynomial-rs

maintenance status: passively-maintained license crates.io docs.rs rust 1.70.0+ badge Rust CI codecov

A library for manipulating polynomials.

Documentation

How to use?

Add this to your Cargo.toml:

[dependencies]
polynomial = "0.2.6"

no_std environments

The library can be used in a no_std environment, so long as a global allocator is present. Simply add the default-features = false attribute to Cargo.toml:

[dependencies]
polynomial = {version = "0.2.6", default-features = false}

If you want to use floating point numbers in a no_std environment, you can enable the libm feature:

[dependencies]
polynomial = {version = "0.2.6", default-features = false, features = ["libm"]}

Minimum supported Rust version (MSRV)

The minimum supported Rust version is Rust 1.70.0. At least the last 3 versions of stable Rust are supported at any given time.

While a crate is pre-release status (0.x.x) it may have its MSRV bumped in a patch release. Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.