Expand description
sysprims-core: Core types, errors, and platform abstractions
This crate provides the foundational types used across all sysprims modules:
- Error types per ADR-0008
- Schema ID constants for JSON output contracts
- Re-exports from rsfulmen for signal and exit code constants
- Platform detection utilities
§Error Handling
sysprims uses a single canonical error type SysprimsError that maps
cleanly to FFI error codes. See ADR-0008 for the full strategy.
§Schema Integration
JSON outputs include schema_id fields referencing schemas hosted at
schemas.3leaps.dev/sysprims/. See the schema module for constants.
§Ecosystem Integration
Signal and exit code constants are re-exported from rsfulmen for
Fulmen ecosystem alignment. Access via signals and exit_codes.
Re-exports§
pub use error::SysprimsError;pub use error::SysprimsResult;
Modules§
- error
- Error types for sysprims operations.
- exit_
codes - Standard Exit Code Catalog
- guard_
signals - Signal handling for guard loops.
- schema
- Schema ID constants for JSON output contracts.
- signals
- Signal Handling Catalog
- time
- Time utilities for sysprims
Functions§
- get_
platform - Get the current platform identifier.
- is_unix
- Check if running on a Unix-like platform.
- is_
windows