aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/atuin_daemon/generated.rs
blob: a3ea4d9d7b12d15a7080b332c5d4df229d81c586 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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;
}