Cargo Features
[dependencies]
fastnum = { version = "0.1.3", default-features = false, features = ["std", "libm", "numtraits", "rand", "zeroize", "serde", "diesel", "diesel_postgres", "diesel_mysql", "sqlx", "sqlx_postgres", "sqlx_mysql", "utoipa", "test-util"] }
- default = std
-
The
std
feature is set by default wheneverfastnum
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
f32::powi
,f64::powi
… - libm
-
Enables libm
Affects
f32::powi
,f64::powi
… - numtraits = num-traits
- rand
-
Enables rand
- zeroize
-
Enables zeroize
- serde
-
Affects
extras::serde
… - diesel diesel_mysql? diesel_postgres?
-
Enables diesel
Affects
extras::diesel
… - diesel_postgres = diesel
-
Enables postgres_backend of diesel
- diesel_mysql = diesel
-
Enables mysql_backend of diesel
- sqlx sqlx_mysql? sqlx_postgres?
-
Enables sqlx
Affects
extras::sqlx
… - sqlx_postgres = bytes, sqlx
-
Affects
sqlx::pg
… - sqlx_mysql = sqlx
-
Affects
sqlx::mysql
… - utoipa
- test-util
-
For internal use only
Affects
decimal::extras
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.