Cargo Features

didcomm-rs = { version = "0.7.2", default-features = false, features = ["raw-crypto", "resolve", "out-of-band"] }
default = out-of-band, raw-crypto, resolve

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

raw-crypto default = aes-gcm, chacha20poly1305, ed25519-dalek, k256, libaes, p256

Affects didcomm-rs::crypto

resolve default = ddoresolver-rs
out-of-band default

Affects messages::out_of_band

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

chacha20poly1305 raw-crypto

Enables chacha20poly1305 ^0.8

Raw crypto dependancies

aes-gcm raw-crypto

Enables aes-gcm ^0.9.2

libaes raw-crypto

Enables libaes ^0.6.1

k256 raw-crypto

Enables k256 ^0.9.4

p256 raw-crypto

Enables p256 ^0.9.0

ed25519-dalek raw-crypto

Enables ed25519-dalek ^1.0

ddoresolver-rs resolve