mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Refuse to compile if documentation is missing.
This commit is contained in:
parent
85b0cd933c
commit
807d52f655
2 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ use curve25519_dalek::curve::ProjectivePoint;
|
|||
use curve25519_dalek::scalar::Scalar;
|
||||
use curve25519_dalek::subtle::arrays_equal_ct;
|
||||
|
||||
/// The length of an ed25519 `Signature`, in bytes.
|
||||
pub const SIGNATURE_LENGTH: usize = 64;
|
||||
|
||||
/// An ed25519 signature.
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@
|
|||
#![feature(rand)]
|
||||
#![allow(unused_features)]
|
||||
#![cfg_attr(feature = "bench", feature(test))]
|
||||
#![deny(missing_docs)] // refuse to compile if documentation is missing
|
||||
|
||||
#[macro_use]
|
||||
extern crate arrayref;
|
||||
|
|
|
|||
Loading…
Reference in a new issue