Skip to main content

Crate cardinal_core

Crate cardinal_core 

Source
Expand description

Core domain and command grammar for Cardinal.

Cardinal follows a command-first model:

Workspace displays.
Prompt acts.

This crate intentionally avoids terminal, filesystem, and network effects. It should remain easy to unit-test.

Re-exports§

pub use command::parse_command;
pub use command::AgendaRange;
pub use command::CalendarView;
pub use command::CardinalCommand;
pub use command::EventCommand;
pub use command::InviteCommand;
pub use command::ListTarget;
pub use command::MarkState;
pub use command::ParseError;
pub use command::Selector;
pub use command::SyncTarget;
pub use reducer::dispatch_command;
pub use reducer::CommandOutcome;
pub use reducer::DomainEffectRequest;

Modules§

calendar
Calendar domain types.
command
mail
Mail domain types.
reducer
workspace
Workspace state and selection movement.