diff --git a/ssh-protocol/Cargo.toml b/ssh-protocol/Cargo.toml index 668e6a9a..6dc71cb8 100644 --- a/ssh-protocol/Cargo.toml +++ b/ssh-protocol/Cargo.toml @@ -25,6 +25,8 @@ default = ["std"] alloc = ["encoding/alloc", "key/alloc"] std = ["alloc", "key/std"] +[lints] +workspace = true + [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] diff --git a/ssh-protocol/README.md b/ssh-protocol/README.md index 45a0a5bb..dd112b05 100644 --- a/ssh-protocol/README.md +++ b/ssh-protocol/README.md @@ -14,13 +14,6 @@ Pure Rust implementation of the SSH protocol as described in [RFC4251]/[RFC4253] as well as OpenSSH-specific extensions (WIP). -## Minimum Supported Rust Version - -This crate requires **Rust 1.85** at a minimum. - -We may change the MSRV in the future, but it will be accompanied by a minor -version bump. - ## License Licensed under either of: diff --git a/ssh-protocol/src/lib.rs b/ssh-protocol/src/lib.rs index b1d13bf3..d201045d 100644 --- a/ssh-protocol/src/lib.rs +++ b/ssh-protocol/src/lib.rs @@ -1,25 +1,10 @@ #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg" )] -#![forbid(unsafe_code)] -#![warn( - clippy::alloc_instead_of_core, - clippy::arithmetic_side_effects, - clippy::mod_module_files, - clippy::panic, - clippy::panic_in_result_fn, - clippy::std_instead_of_alloc, - clippy::std_instead_of_core, - clippy::unwrap_used, - missing_docs, - rust_2018_idioms, - unused_lifetimes, - unused_qualifications -)] pub use cipher::{self, Cipher}; pub use encoding::{self, Decode, Encode, Reader, Writer};