Cargo Features

[dependencies]
eigen_crypto = { version = "0.1.1", default-features = false, features = ["alloc", "mesalock_sgx", "ucrypto"] }
default = alloc, ucrypto

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

alloc default

Affects arithmetic::bigint, limb::limbs_less_than_limb_constant_time, limb::limbs_are_even_constant_time, limb::limbs_equal_limb_constant_time, limb::limbs_minimal_bits, limb::Window, limb::fold_5_bit_windows, test::TestCase, test::File, test::run, test::from_hex

mesalock_sgx = bytes-sgx, lazy_static, num-bigint-sgx, num-integer-sgx, num-traits-sgx, rand-sgx, regex-sgx, ring-sgx, rust-base58-sgx, rust-crypto-sgx, serde-sgx, serde_derive-sgx, sgx_libc, sgx_tstd, untrusted-sgx

Affects errors::Error, errors::ErrorKind

ucrypto default = bytes, lazy_static, libc, num-bigint, num-integer, num-traits, rand, rand_chacha, regex, ring, rust-base58, rust-crypto, serde, serde_derive, untrusted

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.

sgx_tstd mesalock_sgx?
sgx_libc mesalock_sgx?
ring-sgx mesalock_sgx?

Enables ring ^0.16.9

rand-sgx mesalock_sgx?

Enables rand ^0.7.2

num-bigint-sgx mesalock_sgx?

Enables num-bigint ^0.2.3

rust-base58-sgx mesalock_sgx?

Enables rust-base58

rust-crypto-sgx mesalock_sgx?

Enables rust-crypto

serde-sgx mesalock_sgx?

Enables serde

serde_derive-sgx mesalock_sgx?

Enables serde_derive

num-traits-sgx mesalock_sgx?

Enables num-traits

num-integer-sgx mesalock_sgx?

Enables num-integer

untrusted-sgx mesalock_sgx?

Enables untrusted ^0.6.2

bytes-sgx mesalock_sgx?

Enables bytes ^0.5.4

regex-sgx mesalock_sgx?

Enables regex

ring ucrypto

Enables ring ^0.16.9

rand ucrypto

Enables rand ^0.7.2

num-bigint ucrypto

Enables num-bigint ^0.2.3

rust-base58 ucrypto
rust-crypto ucrypto
serde ucrypto
serde_derive ucrypto
rand_chacha ucrypto

Enables rand_chacha ^0.2.1

num-traits ucrypto
num-integer ucrypto
untrusted ucrypto

Enables untrusted ^0.7.0

libc ucrypto
bytes ucrypto

Enables bytes ^0.4.12

unix app depends on 0.4.12, while sgx lib depends on 0.5.0

regex ucrypto
lazy_static mesalock_sgx? ucrypto