Cargo Features

[dependencies]
hacspec-lib = { version = "0.1.0-beta.1", default-features = false, features = ["std", "alloc", "use_attributes", "release"] }
default = std

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

std default = alloc, secret_integers

Enables std of abstract_integers and num

abstract_integers:

FIXME: publish new version

alloc std = secret_integers
use_attributes = hacspec-attributes

Enables print_attributes of hacspec-attributes

release

A release mode for hacspec that disables some checks and doesn't use secret integers.

Affects bytes::Byte, bytes::DoubleByte, bytes::QuadByte, bytes::Bytes, bytes::Byte, bytes::DoubleByte, bytes::QuadByte

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.

secret_integers alloc? std

Enables secret_integers

FIXME: publish new version

hacspec-attributes use_attributes?