feat: move in-memory

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-10-02 21:41:21 +02:00
parent d7fd891014
commit 3fbd0f8720
3 changed files with 110 additions and 109 deletions

View File

@@ -10,9 +10,9 @@ impl Transport {
#[cfg(feature = "in-memory")]
pub fn in_memory() -> Self {
Self(std::sync::Arc::new(
crunch_in_memory::InMemoryTransport::default(),
))
use crunch_in_memory::transport::InMemoryTransport;
Self(std::sync::Arc::new(InMemoryTransport::default()))
}
#[cfg(feature = "nats")]