Skip to content

Commit 5f5ec4c

Browse files
committed
Improve documentation
1 parent 11d74ea commit 5f5ec4c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ harness = false
6666
name = "opaque"
6767

6868
[package.metadata.docs.rs]
69-
features = ["argon2", "std", "x25519-u64"]
69+
all-features = true
70+
rustdoc-args = ["--cfg", "docsrs"]
7071
targets = []
7172

7273
[[example]]

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,9 @@
11151115
//! (https://docs.rs/curve25519-dalek/4.0.0-pre.5/curve25519_dalek/index.html#backends)
11161116
//! [`p256::NistP256`]: https://docs.rs/p256/latest/p256/struct.NistP256.html
11171117
1118-
#![cfg_attr(not(test), deny(unsafe_code))]
11191118
#![no_std]
1119+
#![cfg_attr(not(test), deny(unsafe_code))]
1120+
#![cfg_attr(not(test), deny(unsafe_code))]
11201121
#![warn(clippy::cargo, missing_docs)]
11211122
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
11221123
#![allow(type_alias_bounds)]

0 commit comments

Comments
 (0)