Cargo Features
[dependencies]
i256 = { version = "0.2.3", default-features = false, features = ["stdint", "i384", "i512", "i1024", "lint", "noasm", "limb32", "std", "num-traits"] }
- default = stdint
-
The
stdintfeature is set by default wheneveri256is added withoutsomewhere in the dependency tree.default-features = false - 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
U384andI384types. - i512
-
Enable the
U512andI512types. - i1024
-
Enable the
U1024andI1024types. - 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… - std
-
Deprecated feature; does nothing.
Features from optional dependencies
- num-traits implicit feature
-
Enables num-traits
num-traits:
Numeric traits for generic mathematics