x25519_dalek/
lib.rs

1// -*- mode: rust; -*-
2//
3// This file is part of x25519-dalek.
4// Copyright (c) 2017-2021 isis lovecruft
5// Copyright (c) 2019-2021 DebugSteven
6// See LICENSE for licensing information.
7//
8// Authors:
9// - isis agora lovecruft <isis@patternsinthevoid.net>
10// - DebugSteven <debugsteven@gmail.com>
11
12// Refuse to compile if documentation is missing, but only on nightly.
13//
14// This means that missing docs will still fail CI, but means we can use
15// README.md as the crate documentation.
16
17#![no_std]
18#![cfg_attr(feature = "bench", feature(test))]
19#![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg, doc_cfg_hide))]
20#![cfg_attr(docsrs, doc(cfg_hide(docsrs)))]
21#![deny(missing_docs)]
22#![doc(
23    html_logo_url = "https://cdn.jsdelivr.net/gh/dalek-cryptography/curve25519-dalek/docs/assets/dalek-logo-clear.png"
24)]
25#![doc = include_str!("../README.md")]
26
27//------------------------------------------------------------------------
28// x25519-dalek public API
29//------------------------------------------------------------------------
30
31mod x25519;
32
33pub use crate::x25519::*;