Replace lexical Rust fragments with real modules
This commit is contained in:
parent
f8849cdb5f
commit
247819250b
1 changed files with 3302 additions and 2671 deletions
|
|
@ -649,7 +649,26 @@ impl SessionLifecycleAdapter for Arc<SessionRegistry> {
|
|||
}
|
||||
}
|
||||
|
||||
include!("control/execution.rs");
|
||||
include!("control/staging.rs");
|
||||
include!("control/publication.rs");
|
||||
include!("control/tests.rs");
|
||||
mod execution;
|
||||
mod publication;
|
||||
mod staging;
|
||||
|
||||
pub(crate) use execution::AcceptedControlConnection;
|
||||
use execution::{ControlPaths, ExecutionUnavailable, InteractiveExecutionUnavailable};
|
||||
pub use execution::{
|
||||
InteractiveControlSession, InteractiveSessionExecutor, NonInteractiveSessionExecutor,
|
||||
PublishedControlFace, RunscNonInteractiveExecutor,
|
||||
};
|
||||
#[cfg(test)]
|
||||
use execution::{NonInteractiveCommandRunner, hex_lower};
|
||||
#[cfg(test)]
|
||||
use publication::require_peer_uid;
|
||||
use publication::{
|
||||
certificate_digest, enrollment_binding, is_live_session, leaf_parameters, random_signing_key,
|
||||
remove_if_identity_matches, sha256, short_identity,
|
||||
};
|
||||
pub use staging::StagedControlFace;
|
||||
use staging::publication_recovery_ownership;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
|
|
|||
Loading…
Reference in a new issue