diff --git a/tests/aead_tests.rs b/tests/aead_tests.rs index 2399126c2..06b73140b 100644 --- a/tests/aead_tests.rs +++ b/tests/aead_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; use ring::{aead, error, test}; diff --git a/tests/digest_tests.rs b/tests/digest_tests.rs index a1608556e..bcef7861f 100644 --- a/tests/digest_tests.rs +++ b/tests/digest_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; use std::vec::Vec; diff --git a/tests/ecdsa_tests.rs b/tests/ecdsa_tests.rs index ba0ee20dd..249c5faae 100644 --- a/tests/ecdsa_tests.rs +++ b/tests/ecdsa_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; extern crate untrusted; diff --git a/tests/ed25519_tests.rs b/tests/ed25519_tests.rs index 27c08ad55..2b49cfe64 100644 --- a/tests/ed25519_tests.rs +++ b/tests/ed25519_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; extern crate untrusted; diff --git a/tests/hkdf_tests.rs b/tests/hkdf_tests.rs index 92843d6cf..6d5e15777 100644 --- a/tests/hkdf_tests.rs +++ b/tests/hkdf_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; use ring::{error, hkdf, hmac, test}; diff --git a/tests/hmac_tests.rs b/tests/hmac_tests.rs index 829e9f5e6..355b75990 100644 --- a/tests/hmac_tests.rs +++ b/tests/hmac_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; use ring::{digest, error, hmac, test}; diff --git a/tests/pbkdf2_tests.rs b/tests/pbkdf2_tests.rs index 91df02683..39812c3fa 100644 --- a/tests/pbkdf2_tests.rs +++ b/tests/pbkdf2_tests.rs @@ -12,6 +12,26 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +#![forbid( + anonymous_parameters, + box_pointers, + fat_ptr_transmutes, + legacy_directory_ownership, + missing_copy_implementations, + missing_debug_implementations, + missing_docs, + trivial_casts, + trivial_numeric_casts, + unsafe_code, + unstable_features, + unused_extern_crates, + unused_import_braces, + unused_qualifications, + unused_results, + variant_size_differences, + warnings, +)] + extern crate ring; use ring::{digest, error, pbkdf2, test};