Skip to main content

cordis_core/
lib.rs

1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4mod app;
5mod context;
6mod error;
7mod plugin;
8mod runtime;
9mod scope;
10mod service;
11
12pub use app::App;
13pub use context::{
14    Context, Dispose, Event, Fork, ListenerHandle, PluginContext, Query, Ready, Resource,
15    TaskHandle,
16};
17pub use error::{Error, Result};
18pub use plugin::{
19    ActivationId, ErasedConfig, ErasedPlugin, FailurePhase, Plugin, PluginDiagnostic, PluginHandle,
20    PluginId, PluginScope, PluginStatus,
21};
22pub use service::{Dependency, ServiceDeclaration, ServiceHandle, ServiceKey};