Skip to content

Commit f054719

Browse files
committed
Remove html_root_url from lib.rs files
It's no longer recommended. See rust-lang/api-guidelines#229
1 parent 499afe9 commit f054719

File tree

10 files changed

+10
-15
lines changed

10 files changed

+10
-15
lines changed

bp256/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bp256"
3-
version = "0.4.0" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.4.0"
44
description = "Brainpool P-256 (brainpoolP256r1 and brainpoolP256t1) elliptic curves"
55
authors = ["RustCrypto Developers"]
66
license = "Apache-2.0 OR MIT"

bp256/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
#![doc = include_str!("../README.md")]
44
#![doc(
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
6-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
7-
html_root_url = "https://docs.rs/bp256/0.4.0-pre"
6+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
87
)]
98
#![forbid(unsafe_code)]
109
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

bp384/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bp384"
3-
version = "0.4.0" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.4.0"
44
description = "Brainpool P-384 (brainpoolP384r1 and brainpoolP384t1) elliptic curves"
55
authors = ["RustCrypto Developers"]
66
license = "Apache-2.0 OR MIT"

bp384/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
#![doc = include_str!("../README.md")]
44
#![doc(
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
6-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
7-
html_root_url = "https://docs.rs/bp384/0.4.0-pre"
6+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
87
)]
98
#![forbid(unsafe_code)]
109
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

k256/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "k256"
3-
version = "0.11.0-pre.0" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.11.0-pre.0"
44
description = """
55
secp256k1 elliptic curve library written in pure Rust with support for ECDSA
66
signing/verification (including Ethereum-style signatures with public-key

k256/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
#![doc = include_str!("../README.md")]
44
#![doc(
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
6-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
7-
html_root_url = "https://docs.rs/k256/0.11.0-pre.0"
6+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
87
)]
98
#![forbid(unsafe_code)]
109
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

p256/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "p256"
3-
version = "0.11.0-pre.0" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.11.0-pre.0"
44
description = """
55
Pure Rust implementation of the NIST P-256 (a.k.a. secp256r1, prime256v1)
66
elliptic curve with support for ECDH, ECDSA signing/verification, and general

p256/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc(
44
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
5-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
6-
html_root_url = "https://docs.rs/p256/0.11.0-pre.0"
5+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
76
)]
87
#![forbid(unsafe_code)]
98
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

p384/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "p384"
3-
version = "0.10.0-pre" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.10.0-pre"
44
description = "NIST P-384 (secp384r1) elliptic curve"
55
authors = ["RustCrypto Developers"]
66
license = "Apache-2.0 OR MIT"

p384/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
#![doc = include_str!("../README.md")]
44
#![doc(
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
6-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
7-
html_root_url = "https://docs.rs/p384/0.10.0-pre"
6+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
87
)]
98
#![forbid(unsafe_code)]
109
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

0 commit comments

Comments
 (0)