Skip to main content

dot_agent_core/
lib.rs

1pub mod channel;
2pub mod config;
3pub mod error;
4pub mod installer;
5pub mod json_merge;
6pub mod metadata;
7pub mod platform;
8pub mod plugin_manifest;
9pub mod plugin_registrar;
10pub mod profile;
11pub mod profile_metadata;
12pub mod rule;
13pub mod snapshot;
14
15pub use channel::{
16    Channel, ChannelManager, ChannelRef, ChannelRegistry, ChannelSource, ChannelType, Hub,
17    HubRegistry, ProfileRef, SearchOptions,
18};
19pub use config::Config;
20pub use error::{DotAgentError, Result};
21pub use installer::{DiffResult, FileInfo, FileStatus, InstallOptions, InstallResult, Installer};
22pub use json_merge::{
23    is_mergeable_json, merge_json, merge_json_file, unmerge_json, unmerge_json_file, MergeRecord,
24    MergeResult, UnmergeResult,
25};
26pub use metadata::Metadata;
27pub use platform::{InstallTarget, Platform};
28pub use plugin_manifest::{FilterConfig, PluginManifest, DEFAULT_COMPONENT_DIRS};
29pub use plugin_registrar::{PluginRegistrar, PluginRegistrationResult};
30pub use profile::{IgnoreConfig, Profile, ProfileManager, DEFAULT_EXCLUDED_DIRS};
31pub use profile_metadata::{
32    migrate_existing_profiles, PluginConfig, PluginScope, ProfileIndexEntry, ProfileInfo,
33    ProfileMetadata, ProfileSource, ProfilesIndex,
34};
35pub use rule::{extract_rule, generate_rule, ApplyResult, Rule, RuleExecutor, RuleManager};
36pub use snapshot::{
37    ProfileSnapshotManager, Snapshot, SnapshotDiff, SnapshotManager, SnapshotTrigger,
38};