Skip to content

Commit

Permalink
make traits crate and sys traits no_std (except lib25519)
Browse files Browse the repository at this point in the history
  • Loading branch information
keks committed Nov 25, 2024
1 parent 0a10583 commit df3e271
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sys/hacl/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! # HACL Sys
//!
//! Bindings to HACL C code
#![no_std]
#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]

// #[cfg(not(target_arch = "wasm32"))]
Expand Down
1 change: 1 addition & 0 deletions sys/libjade/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! #Libjade Rust bindings
#![no_std]

mod bindings;
pub use bindings::*;
2 changes: 2 additions & 0 deletions sys/pqclean/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#![no_std]

mod bindings;
pub use bindings::*;
2 changes: 2 additions & 0 deletions traits/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![no_std]

/// A Hash algorithm returning hashes of length `HASH_LEN`.
pub trait Digest<const HASH_LEN: usize> {
/// Writes the digest for the given input byte slice, into `digest` in immediate mode.
Expand Down

0 comments on commit df3e271

Please sign in to comment.