Crate ricecoder_keybinds

Crate ricecoder_keybinds 

Source
Expand description

Keybind customization with conflict detection and profile management

This crate provides a comprehensive keybind system for ricecoder with:

  • JSON and Markdown configuration parsing
  • Keybind registry with fast lookup
  • Conflict detection with resolution suggestions
  • Profile management for switching between configurations
  • Help system for displaying available keybinds
  • Persistence layer for saving profiles across sessions

Re-exports§

pub use conflict::Conflict;
pub use conflict::ConflictDetector;
pub use conflict::Resolution;
pub use engine::KeybindEngine;
pub use engine::ValidationResult;
pub use error::EngineError;
pub use error::ParseError;
pub use error::PersistenceError;
pub use error::ProfileError;
pub use error::RegistryError;
pub use help::KeybindHelp;
pub use help::Page;
pub use models::Key;
pub use models::Keybind;
pub use models::KeyCombo;
pub use models::Modifier;
pub use parser::JsonKeybindParser;
pub use parser::KeybindParser;
pub use parser::MarkdownKeybindParser;
pub use parser::ParserRegistry;
pub use persistence::FileSystemPersistence;
pub use persistence::KeybindPersistence;
pub use profile::Profile;
pub use profile::ProfileManager;
pub use registry::KeybindRegistry;

Modules§

conflict
Conflict detection and resolution for keybinds
engine
Keybind engine that combines registry and profile management
error
Error types for keybind operations
help
Help system for displaying keybinds
models
Core data models for keybinds
parser
Keybind configuration parsers for JSON and Markdown formats
persistence
Persistence layer for saving and loading keybind profiles
profile
Profile management for keybind configurations
registry
Keybind registry with fast lookup capabilities