azathoth-core 0.1.6

Core OS types for the AzathothC2 project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Linux type definitions.
#[cfg(feature = "linux")]
pub mod linux;

/// Windows type definitions.
#[cfg(feature = "windows")]
pub mod windows;


/// Current platform type definitions.
/// This module re-exports the platform-specific modules based on the target OS.
/// It allows for easier access to the current platform's definitions without needing to
/// conditionally import the specific module in other parts of the codebase.
/// The `Current` module will point to either `linux` or `windows` based on the target OS.
#[cfg(target_os = "windows")]
pub use windows as Current;
#[cfg(target_os = "linux")]
pub use linux as Current;