curve25519-dalek-source/x25519-dalek/src/lib.rs

33 lines
1,020 B
Rust
Raw Normal View History

2017-09-14 00:25:34 +00:00
// -*- mode: rust; -*-
//
// This file is part of x25519-dalek.
2021-04-14 04:31:12 +00:00
// Copyright (c) 2017-2021 isis lovecruft
// Copyright (c) 2019-2021 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]
2023-03-31 17:53:51 +00:00
#![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg, doc_cfg_hide))]
#![cfg_attr(docsrs, doc(cfg_hide(docsrs)))]
#![deny(missing_docs)]
#![doc(
html_logo_url = "https://cdn.jsdelivr.net/gh/dalek-cryptography/curve25519-dalek/docs/assets/dalek-logo-clear.png"
)]
#![doc = include_str!("../README.md")]
2019-01-10 18:30:30 +00:00
2023-03-31 17:53:51 +00:00
//------------------------------------------------------------------------
// x25519-dalek public API
//------------------------------------------------------------------------
2017-09-14 00:25:34 +00:00
mod x25519;
2019-10-24 22:44:57 +00:00
pub use crate::x25519::*;