Cargo Features

[dependencies]
i256 = { version = "0.2.1", default-features = false, features = ["std", "stdint", "i384", "i512", "i1024", "lint", "noasm", "limb32"] }
default = std, stdint

These default features are set whenever i256 is added without default-features = false somewhere in the dependency tree.

std default
stdint default

enable the standard, fixed-width integer APIs for scalar operations.

Affects div::from_u128, div::scalar_u128, div::u128_scalar

i384

Enable the U384 and I384 types.

i512

Enable the U512 and I512 types.

i1024

Enable the U1024 and I1024 types.

lint

Internal only features.
Enable the lint checks.

noasm

For benchmarking our no ASM routines.

limb32

For forcing 32-bit limbs for testing.

Affects types::ULimb, types::ILimb, types::UWide, types::IWide