supported_algorithms/
supported-algorithms.rs

1//! Prints a list of optional algorithms and whether they are
2//! supported.
3
4fn main() {
5    let (major, minor) = nettle::version();
6    println!("Nettle {}.{}", major, minor);
7    println!("Cv448: {:?}", nettle::curve448::IS_SUPPORTED);
8    println!("OCB: {:?}", nettle::aead::OCB_IS_SUPPORTED);
9}