quick start

using faer in your project

importing faer into your project

add the following entry under the dependencies section in your Cargo.toml file to start using faer.

[dependencies]
faer = "0.21"

alternatively, one can also run cargo add faer to let cargo handle it.

for day-to-day development, we recommend enabling optimizations for faer, since the layers of generics can add considerable overhead in unoptimized builds.
this can be done by adding the following to Cargo.toml

[profile.dev.package.faer]
opt-level = 3

we encourage new users to skim the user guide accessible from the sidebar, and defer to the docs for more detailed information.