Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #41 from miscreant/remove-crate-type-overrides
Browse files Browse the repository at this point in the history
Cargo.toml: Remove crate type overrides
  • Loading branch information
tarcieri authored Dec 5, 2019
2 parents e73a2ef + d270ddb commit 25e9b77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
25 changes: 0 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ categories = ["cryptography", "no-std"]
keywords = ["aes", "cryptography", "encryption", "security", "streaming"]
edition = "2018"

[lib]
crate-type = ["rlib", "staticlib"]

[badges]
travis-ci = { repository = "miscreant/miscreant.rs" }

Expand All @@ -43,25 +40,3 @@ stream = []

[workspace]
members = [".", "benches"]

[profile.dev]
panic = "abort"

[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
lto = false
opt-level = 3
overflow-checks = true
panic = "abort"
rpath = false

[profile.bench]
codegen-units = 1
debug = false
debug-assertions = false
lto = false
opt-level = 3
overflow-checks = false
rpath = false
14 changes: 1 addition & 13 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/miscreant/0.5.0")]
#![warn(
missing_docs,
trivial_casts,
trivial_numeric_casts,
unsafe_code,
unused_qualifications
)]
#![warn(missing_docs, rust_2018_idioms, unsafe_code, unused_qualifications)]

#[cfg(feature = "alloc")]
#[macro_use]
Expand All @@ -54,9 +48,3 @@ pub use aes_siv::{
pub use crate::aead::{Aes128PmacSivAead, Aes256PmacSivAead};
#[cfg(feature = "pmac")]
pub use aes_siv::siv::{Aes128PmacSiv, Aes256PmacSiv};

#[cfg(not(any(feature = "std", test)))]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}

0 comments on commit 25e9b77

Please sign in to comment.