mod_interface_meta 0.57.0

Protocol of modularity unifying interface of a module and introducing layers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Smoke testing of the package.
//!
//! Verifies that the proc-macro crate compiles and exports the `mod_interface` macro.
//! This test ensures the crate is functional at the most basic level.

#[ test ]
fn crate_is_importable()
{
  // This test verifies that the crate compiles and the mod_interface macro exists.
  // The import itself is the test - if this compiles, the macro is accessible.
  #[ allow( unused_imports ) ]
  use mod_interface_meta::mod_interface;

  // No runtime assertions needed - compile-time verification is sufficient.
  // A proc-macro crate's primary contract is that it compiles and exports the macro.
}