Skip to content

Commit

Permalink
refactor: move tests to serialization module, rename package.rs to
Browse files Browse the repository at this point in the history
`package/mod.rs`
  • Loading branch information
greenhat committed Jan 22, 2025
1 parent e3fa250 commit a1b44a7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ mod package;

#[cfg(test)]
extern crate std;
#[cfg(test)]
mod tests;

pub use vm_core::{chiplets::hasher::Digest, mast::MastForest, Program};

Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions package/src/package/serialization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ use vm_core::{
use super::{Dependency, MastArtifact, Package, PackageExport, PackageManifest};
use crate::Digest;

#[cfg(test)]
mod tests;

// CONSTANTS
// ================================================================================================

Expand Down
File renamed without changes.

0 comments on commit a1b44a7

Please sign in to comment.