Cargo Features

[dependencies]
musig2 = { version = "0.2.1", default-features = false, features = ["secp256k1", "k256", "serde", "rand"] }
default = secp256k1

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

secp256k1 default

Enables secp256k1, secp256k1 of secp

k256

Enables k256, k256 of secp

serde

Enables serde and serdect, serde of secp

rand

Enables rand, rand of secp

MuSig2 has 5 features without comments.