liminal-server 0.25.4

Standalone server for the liminal messaging bus
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![cfg(test)]

/// An empty persistence directory owned by one test until its services stop.
///
/// # Errors
/// The temporary directory cannot be created.
pub fn directory() -> Result<tempfile::TempDir, std::io::Error> {
    tempfile::Builder::new()
        .prefix("liminal-test-persistence-")
        .tempdir()
}