curve25519-dalek-source/src/lib.rs

37 lines
1.1 KiB
Rust
Raw Normal View History

2017-09-14 00:25:34 +00:00
// -*- mode: rust; -*-
//
// This file is part of x25519-dalek.
2019-01-12 23:34:49 +00:00
// Copyright (c) 2017-2019 isis lovecruft
// Copyright (c) 2019 DebugSteven
2017-09-14 00:25:34 +00:00
// See LICENSE for licensing information.
//
// Authors:
2019-01-12 23:34:49 +00:00
// - isis agora lovecruft <isis@patternsinthevoid.net>
// - DebugSteven <debugsteven@gmail.com>
2017-09-14 00:25:34 +00:00
2019-01-10 18:30:30 +00:00
// Refuse to compile if documentation is missing, but only on nightly.
//
// This means that missing docs will still fail CI, but means we can use
// README.md as the crate documentation.
2017-09-14 00:25:34 +00:00
#![no_std]
#![cfg_attr(feature = "bench", feature(test))]
2019-01-10 18:30:30 +00:00
#![cfg_attr(feature = "nightly", feature(external_doc))]
#![cfg_attr(feature = "nightly", deny(missing_docs))]
#![cfg_attr(feature = "nightly", doc(include = "../README.md"))]
#![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")]
2020-08-18 03:37:20 +00:00
#![doc(html_root_url = "https://docs.rs/x25519-dalek/1.0.1")]
2019-01-10 18:30:30 +00:00
//! Note that docs will only build on nightly Rust until
//! `feature(external_doc)` is stabilized.
2017-09-14 00:25:34 +00:00
extern crate curve25519_dalek;
extern crate rand_core;
2017-09-14 00:25:34 +00:00
2019-03-04 00:29:59 +00:00
extern crate zeroize;
2017-09-14 00:25:34 +00:00
mod x25519;
2019-10-24 22:44:57 +00:00
pub use crate::x25519::*;