mirror of https://github.com/ctz/rustls
Fix broken link to `CryptoProvider`
This commit is contained in:
parent
33d4f01e16
commit
3f0e0fc66f
|
@ -60,7 +60,7 @@ dependency on aws-lc-rs.
|
|||
Rustls requires Rust 1.61 or later.
|
||||
|
||||
[ring-target-platforms]: https://github.com/briansmith/ring/blob/2e8363b433fa3b3962c877d9ed2e9145612f3160/include/ring-core/target.h#L18-L64
|
||||
[`crypto::CryptoProvider`]: https://docs.rs/rustls/latest/rustls/crypto/trait.CryptoProvider.html
|
||||
[`crypto::CryptoProvider`]: https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html
|
||||
[`ring`]: https://crates.io/crates/ring
|
||||
[aws-lc-rs-platforms-faq]: https://aws.github.io/aws-lc-rs/faq.html#can-i-run-aws-lc-rs-on-x-platform-or-architecture
|
||||
[`aws-lc-rs`]: https://crates.io/crates/aws-lc-rs
|
||||
|
|
|
@ -7,6 +7,7 @@ awk 'BEGIN { take=1 }/# Approach/{take=0;print}take' < README.md > README.md.new
|
|||
grep '^//!' rustls/src/lib.rs | \
|
||||
sed -e 's@^\/\/\! *@@g' | \
|
||||
sed -e 's@](manual::_04_features)@](https://docs.rs/rustls/latest/rustls/manual/_04_features/index.html)@' | \
|
||||
sed -e 's@\[`crypto::CryptoProvider`\]: crate::crypto::CryptoProvider@[`crypto::CryptoProvider`]: https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html@' | \
|
||||
awk '/# Rustls - a modern TLS library/{take=1;next}/## Design overview/{take=0}take' >> README.md.new
|
||||
awk '/# Example code/{take=1}take' < README.md >> README.md.new
|
||||
mv README.md.new README.md
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
//! Rustls requires Rust 1.61 or later.
|
||||
//!
|
||||
//! [ring-target-platforms]: https://github.com/briansmith/ring/blob/2e8363b433fa3b3962c877d9ed2e9145612f3160/include/ring-core/target.h#L18-L64
|
||||
//! [`crypto::CryptoProvider`]: https://docs.rs/rustls/latest/rustls/crypto/trait.CryptoProvider.html
|
||||
//! [`crypto::CryptoProvider`]: crate::crypto::CryptoProvider
|
||||
//! [`ring`]: https://crates.io/crates/ring
|
||||
//! [aws-lc-rs-platforms-faq]: https://aws.github.io/aws-lc-rs/faq.html#can-i-run-aws-lc-rs-on-x-platform-or-architecture
|
||||
//! [`aws-lc-rs`]: https://crates.io/crates/aws-lc-rs
|
||||
|
|
Loading…
Reference in New Issue