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
//! The detector registry.
//!
//! Adding a new ecosystem = adding a file under `detectors/` and an entry
//! to [`registry`]. Order matters in exactly two places:
//!
//! - **Single-owner sections** (`[runtime]`, `[devcontainer]`): the first
//! detector to claim them wins. Container detectors come first.
//! - **Duplicate command names**: every matching detector's command is
//! emitted (commented), grouped under a "pick one" header — order
//! determines the visual order under the header. Not load-bearing.
//!
//! All detector structs are zero-sized unit structs so the registry can
//! be a `'static` slice of `'static` references.
use Detector;