diff options
Diffstat (limited to 'crates/daemon/src/generated.rs')
| -rw-r--r-- | crates/daemon/src/generated.rs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/crates/daemon/src/generated.rs b/crates/daemon/src/generated.rs new file mode 100644 index 00000000..a3ea4d9d --- /dev/null +++ b/crates/daemon/src/generated.rs @@ -0,0 +1,44 @@ +#![expect( + unreachable_pub, + unused_qualifications, + clippy::doc_markdown, + clippy::default_trait_access, + clippy::too_many_lines, + clippy::trivially_copy_pass_by_ref, + clippy::allow_attributes, + clippy::derive_partial_eq_without_eq, + reason = "All of these lints are triggered by the generated code" +)] + +/// Semantic command capture gRPC service types. +pub(crate) mod semantic { + tonic::include_proto!("semantic"); +} + +/// Search module for the daemon gRPC search service. +/// +/// This module provides fuzzy search over command history using Nucleo. +pub(crate) mod search { + // Include the generated proto code + tonic::include_proto!("search"); +} + +/// History module for the daemon gRPC history service. +/// +/// This module contains the proto-generated types for the history gRPC service. +pub(crate) mod history { + // Include the generated proto code + tonic::include_proto!("history"); +} + +/// Control module for external event injection. +/// +/// This module provides the gRPC service that allows external processes +/// (like CLI commands) to inject events into the daemon's event bus. +pub(crate) mod control { + // Include the generated proto code + tonic::include_proto!("control"); + + // Re-export the service + pub(crate) use crate::atuin_daemon::control::ControlService; +} |
