# polynomial-rs
[](https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section)
[](LICENSE)
[](https://crates.io/crates/polynomial)
[](https://docs.rs/polynomial/latest/)
[](https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field)
[](https://github.com/gifnksm/polynomial-rs/actions/workflows/rust-ci.yml)
[](https://codecov.io/gh/gifnksm/polynomial-rs)
A library for manipulating polynomials.
[Documentation](https://docs.rs/polynomial/latest/polynomial/)
## How to use?
Add this to your `Cargo.toml`:
```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`:
```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:
```toml
[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.