Skip to content

Commit f52d4a2

Browse files
authored
ssh-protocol: enable workspace-level lints (#524)
1 parent 374f764 commit f52d4a2

3 files changed

Lines changed: 4 additions & 24 deletions

File tree

ssh-protocol/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ default = ["std"]
2525
alloc = ["encoding/alloc", "key/alloc"]
2626
std = ["alloc", "key/std"]
2727

28+
[lints]
29+
workspace = true
30+
2831
[package.metadata.docs.rs]
2932
all-features = true
30-
rustdoc-args = ["--cfg", "docsrs"]

ssh-protocol/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
Pure Rust implementation of the SSH protocol as described in [RFC4251]/[RFC4253] as well as
1515
OpenSSH-specific extensions (WIP).
1616

17-
## Minimum Supported Rust Version
18-
19-
This crate requires **Rust 1.85** at a minimum.
20-
21-
We may change the MSRV in the future, but it will be accompanied by a minor
22-
version bump.
23-
2417
## License
2518

2619
Licensed under either of:

ssh-protocol/src/lib.rs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,10 @@
11
#![no_std]
2-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2+
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc = include_str!("../README.md")]
44
#![doc(
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
66
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
77
)]
8-
#![forbid(unsafe_code)]
9-
#![warn(
10-
clippy::alloc_instead_of_core,
11-
clippy::arithmetic_side_effects,
12-
clippy::mod_module_files,
13-
clippy::panic,
14-
clippy::panic_in_result_fn,
15-
clippy::std_instead_of_alloc,
16-
clippy::std_instead_of_core,
17-
clippy::unwrap_used,
18-
missing_docs,
19-
rust_2018_idioms,
20-
unused_lifetimes,
21-
unused_qualifications
22-
)]
238

249
pub use cipher::{self, Cipher};
2510
pub use encoding::{self, Decode, Encode, Reader, Writer};

0 commit comments

Comments
 (0)