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
45
46
47
48
49
50
51
52
53
54
//! Pluggable capability seam for optional, out-of-tree CSI extensions.
//!
//! The open core knows only the protocols, presets, and data-format labels it
//! ships with. A [`CsiProfile`] lets an embedder extend those sets at
//! construction time without the core naming any of the extra values: the
//! server injects one profile (default [`StandardCsiProfile`], a no-op) into
//! [`AppState`](crate::state::AppState) / the per-device serial task, and the
//! config routes and Parquet sink consult it where they previously hard-coded
//! chip-specific behaviour.
//!
//! All methods are defaulted so the standard profile is empty and an embedder
//! overrides only what it needs.
use crateCsiConfigSection;
/// Optional, embedder-supplied CSI capability extensions.
///
/// Injected once at server construction and shared (`Arc`) across every route
/// handler and per-device serial task. The default implementations make the
/// standard profile a transparent no-op.
/// The default no-op profile: no extra protocols, presets, or format labels.
;