Cargo Features

[dependencies]
const-varint = { version = "0.2.1", default-features = false, features = ["std", "ruint_1"] }
default = std

The std feature is set by default whenever const-varint is added without default-features = false somewhere in the dependency tree.

std default

Enables thiserror

Features from optional dependencies

ruint_1 implicit feature

Enables ruint

ruint:

Unsigned integer type with const-generic bit length