Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update directory structure #599

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions src/ec/ec.rs → src/ec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ pub const PUBLIC_KEY_MAX_LEN: usize = 1 + (2 * ELEM_MAX_BYTES);
pub const PKCS8_DOCUMENT_MAX_LEN: usize =
40 + SCALAR_MAX_BYTES + PUBLIC_KEY_MAX_LEN;

#[path = "curve25519/curve25519.rs"]
pub mod curve25519;

#[path = "suite_b/suite_b.rs"]
pub mod suite_b;
1 change: 0 additions & 1 deletion src/ec/suite_b/suite_b.rs → src/ec/suite_b/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ pub mod ecdsa;
pub mod ecdh;

#[macro_use]
#[path = "ops/ops.rs"]
mod ops;

mod private_key;
Expand Down
File renamed without changes.
6 changes: 0 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#![doc(html_root_url="https://briansmith.org/rustdoc/")]

#![allow(
legacy_directory_ownership,
missing_copy_implementations,
missing_debug_implementations,
unsafe_code,
Expand Down Expand Up @@ -88,7 +87,6 @@ extern crate std;

extern crate untrusted;

#[path = "arithmetic/arithmetic.rs"]
mod arithmetic;

#[macro_use]
Expand All @@ -97,7 +95,6 @@ mod bssl;
#[macro_use]
mod polyfill;

#[path = "aead/aead.rs"]
pub mod aead;

pub mod agreement;
Expand All @@ -112,10 +109,8 @@ pub mod constant_time;
#[doc(hidden)]
pub mod der;

#[path = "digest/digest.rs"]
pub mod digest;

#[path = "ec/ec.rs"]
mod ec;

pub mod error;
Expand All @@ -129,7 +124,6 @@ mod poly1305;
pub mod rand;

#[cfg(feature = "use_heap")]
#[path = "rsa/rsa.rs"]
mod rsa;

pub mod signature;
Expand Down
File renamed without changes.