Skip to content

Commit f327371

Browse files
authored
Merge pull request #515 from Superhepper/clippy-1.77.1-lint-problem
Disables the clippy multiple_crate_versions lint error.
2 parents e1d708a + 3740a84 commit f327371

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tss-esapi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "tss-esapi"
33
version = "8.0.0-alpha"
44
authors = ["Parsec Project Contributors"]
5-
edition = "2018"
5+
edition = "2018" # TODO Update edition to 2021 - Remove the disabled lints that are due to using old edition.
66
description = "Rust-native wrapper around TSS 2.0 Enhanced System API"
77
readme = "README.md"
88
keywords = ["tpm", "tss", "esys", "esapi"]

tss-esapi/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
missing_copy_implementations,
3030
rustdoc::broken_intra_doc_links,
3131
)]
32-
32+
// This comes from Zeroize they changed version of Syn used
33+
// when zeroize_derive was updated to Rust Edition 2021.
34+
// TODO: Remove this when updating Rust Edition.
35+
#![allow(clippy::multiple_crate_versions)]
3336
//! # TSS 2.0 Rust Wrapper over Enhanced System API
3437
//! This crate exposes the functionality of the TCG Software Stack Enhanced System API to
3538
//! Rust developers, both directly through FFI bindings and through more Rust-tailored interfaces

0 commit comments

Comments
 (0)