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
55
56
57
58
59
60
61
62
63
64
65
// SPDX-License-Identifier: LSL-1.0
// Copyright (c) 2025 Markus Maiwald
//! Plugin trait definitions
//!
//! This module defines the contract between ProGit and plugins.
//!
//! ## Trait Hierarchy
//!
//! ```text
//! Plugin (core trait)
//! ├── IssuePlugin (issue lifecycle convenience)
//! ├── SyncPlugin (sync operation convenience)
//! ├── IntegrationPlugin (external system sync)
//! └── AnalyticsPlugin (metrics and reporting)
//! ```
//!
//! ## Usage
//!
//! Most plugins only need to implement the base `Plugin` trait.
//! The specialized traits (`IntegrationPlugin`, `AnalyticsPlugin`) are
//! for plugins that provide specific functionality.
// Experimental APIs — landing as `experimental_*` per the design lesson:
// never stabilize a trait surface before a real consumer has used it in
// production. Promote to stable once their first plugin ships.
// Re-export everything from core
pub use *;
// Re-export integration types
pub use ;
// Re-export analytics types
pub use ;