Cargo Features

numera has no features set by default.

numera = { version = "0.5.0", features = ["full", "full_fast", "big", "float", "try_from", "std", "alloc", "no_std", "unsafest", "unsafe", "safe", "safest", "nightly", "nightly_docs", "no-std", "non-safe", "all", "all_fast", "all_nostd", "all_nostd_fast"] }



* capability features *

full all? nightly_docs? = full_fast, try_from

enables all the capabilities

full_fast all_fast? full? = big, float

enables all the fast capabilities

big full_fast? = alloc, dashu-base, dashu-int

thematic capabilities:
adds support for big numbers

Affects fns::largest_prime_pow2_doublings, fns::ten_primes_less_pow2

float all_nostd? all_nostd_fast? full_fast? = decstr, half, twofloat

adds extra floating-point formats

try_from all_nostd? full?

adds many TryFrom conversions (increases compilation time)

std nightly_docs? = alloc, primal-sieve

* environment features *

Enables math_funcs of optional twofloat and std of optional dashu-base ^0.3.1 and optional dashu-int ^0.3.1



and std of devela ^0.9.0, optional decstr, and optional half



Affects fns::prime_number_theorem, fns::is_prime_sieve, fns::nth_prime_sieve, fns::prime_pi_sieve

alloc big? std?

enables alloc functionality

Enables alloc of devela ^0.9.0 and optional half

no_std no-std?

enables functionality incompatible with std

Enables no_std of devela ^0.9.0

unsafest = unsafe

* safety features *
enables unsafe features recursively

Enables unsafest of devela ^0.9.0

unsafe non-safe? unsafest?

enables all the unsafe sub-features

safe safest?

forbids unsafe in this crate

safest = safe

forbids unsafe recursively

Enables safest of devela ^0.9.0

nightly nightly_docs?

* nightly features *
enables nightly features

nightly_docs = full, nightly, std
no-std = no_std

* deprecated features *
since 0.4.0

non-safe = unsafe

since 0.4.0

all = full

since 0.5.0

all_fast = full_fast

since 0.5.0

all_nostd = float, try_from

since 0.5.0

all_nostd_fast = float

since 0.5.0

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.


primal-sieve std?

Enables primal-sieve

* optional dependencies *


dashu-int big?

Enables dashu-int ^0.3.1

Affects fns::bit_len, fns::bit_len_next_power, z::ZBig

dashu-base big?

Enables dashu-base ^0.3.1

decstr float?
half float?
twofloat float?