Cargo Features

[dependencies]
eccoxide = { version = "0.3.1", default-features = false, features = ["sec2", "sec2-small", "p160r1", "p160r2", "p192k1", "p192r1", "p224k1", "p224r1", "p256k1", "p256r1", "p384r1", "p521r1"] }
default = sec2

The sec2 feature is set by default whenever eccoxide is added without default-features = false somewhere in the dependency tree.

sec2 default = p192k1, p192r1, p224k1, p224r1, p256k1, p256r1, p384r1, p521r1

SEC2 curves enabled by default (192, 224 are probably too small in 2020)

sec2-small = num-bigint, num-traits, p112r2, p128r1, p128r2, p160k1, p160r1, p160r2

This is not recommended to enable as the size is too small for cryptographic needs

p112r2 p128r1 p128r2 p160k1 p160r1 sec2-small?
p160r2 sec2-small?
p192k1 sec2

Affects sec2::p192k1

p192r1 sec2

Affects sec2::p192r1

p224k1 sec2

Affects sec2::p224k1

p224r1 sec2

Affects sec2::p224r1

p256k1 sec2

Affects sec2::p256k1

p256r1 sec2

Affects sec2::p256r1

p384r1 sec2

Affects sec2::p384r1

p521r1 sec2

Affects sec2::p521r1

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.

num-bigint sec2-small?

Enables num-bigint ^0.3

num-traits sec2-small?