Cargo Features

ruint2 has no features set by default.

[dependencies]
ruint2 = { version = "1.9.0", features = ["dyn", "generic_const_exprs", "postgres", "sqlx", "bench", "ark-ff", "bn-rs", "fastrlp", "alloy-rlp", "num-bigint", "parity-scale-codec", "primitive-types", "pyo3", "quickcheck", "rlp", "serde", "valuable", "zeroize", "arbitrary"] }
dyn

Enables smallvec

for UintDyn

generic_const_exprs

Affects ruint2::nightly

postgres

Enables bytes and postgres-types

sqlx

Enables sqlx-core ^0.6

HACK: (BLOCKED) sqlx requires a runtime to be specified. https://github.com/launchbadge/sqlx/issues/1627

bench = proptest, rand

Enables criterion ^0.4

Secretly dev-dependencies

Affects add::bench, div::bench, reciprocal::bench, small::bench, matrix::bench, gcd::bench

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.

ark-ff implicit feature

Enables ark-ff ^0.4.0

ark-ff:

A library for finite fields

bn-rs implicit feature

Enables bn-rs

bn-rs:

bn.js and ethers.js BigNumber bindings for Rust & WebAssembly

fastrlp implicit feature

Enables fastrlp ^0.3.1

fastrlp:

Fast RLP serialization library

alloy-rlp implicit feature

Enables alloy-rlp ^0.1.0

alloy-rlp:

Implementation of Ethereum RLP serialization

num-bigint implicit feature

Enables num-bigint

num-bigint:

Big integer implementation for Rust

parity-scale-codec implicit feature

Enables parity-scale-codec

parity-scale-codec:

SCALE - Simple Concatenating Aggregated Little Endians

primitive-types implicit feature

Enables primitive-types

primitive-types:

Primitive types shared by Ethereum and Substrate

pyo3 implicit feature

Enables pyo3 ^0.18.3

pyo3:

Bindings to Python interpreter

quickcheck implicit feature

Enables quickcheck

quickcheck:

Automatic property based testing with shrinking

rand bench?
rlp implicit feature

Enables rlp ^0.5.1

rlp:

Recursive-length prefix encoding, decoding, and compression

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

valuable implicit feature

Enables valuable

valuable:

Object-safe value inspection, used to pass un-typed structured data across trait-object boundaries

zeroize implicit feature
arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data

proptest bench?