diff --git a/Cargo.toml b/Cargo.toml index 44cb446..899104d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.4.0" +version = "0.4.1" edition = "2021" publish = false authors = ["FastEdge Development Team"] diff --git a/crates/runtime/src/app.rs b/crates/runtime/src/app.rs index b72eb13..304f819 100644 --- a/crates/runtime/src/app.rs +++ b/crates/runtime/src/app.rs @@ -34,8 +34,6 @@ pub enum Log { None, #[cfg(feature = "kafka_log")] Kafka, - #[cfg(feature = "file_log")] - File { name: Option }, } #[derive(Debug, Clone, PartialEq)] diff --git a/crates/runtime/src/lib.rs b/crates/runtime/src/lib.rs index f9f804a..10e3b69 100644 --- a/crates/runtime/src/lib.rs +++ b/crates/runtime/src/lib.rs @@ -326,7 +326,7 @@ pub trait ExecutorCache { pub trait Router: Send + Sync { fn lookup_by_name(&self, name: &str) -> impl std::future::Future> + Send; - fn lookup_by_id(&self, id: u64) -> impl std::future::Future> + Send; + fn lookup_by_id(&self, id: u64) -> impl std::future::Future> + Send; } pub fn componentize_if_necessary(buffer: &[u8]) -> anyhow::Result> { diff --git a/src/main.rs b/src/main.rs index b0ddd58..11333c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -247,7 +247,7 @@ impl Router for CliContext { self.app.to_owned() } - async fn lookup_by_id(&self, _id: u64) -> Option { + async fn lookup_by_id(&self, _id: u64) -> Option<(SmolStr, App)> { unreachable!() } }