Skip to content

emberry kernel-driver separation #39

@devensiv

Description

@devensiv

Create a system that allows us to isolate the tauri ipc and frontend activity from the core crate

What we need:

  • loader (bin): marks the entry point for the rust backend which loads the "kernel" crate
  • kernel (lib): is home to all the program logic, uses "driver" crate to subscribe/emit frontend events
  • driver (lib): has frontend implementation specifics for subscribing/emitting events and provides an opaque wrapper type for the frontend in use which will be passed into "kernel" by "loader"

Crate name suggestions:

loader

emberry-loader-tauri
emberry-tauri-startup

kernel

emberry-core
emberry-kernel

driver

emberry-driver-tauri
emberry-com-tauri
emberry-tauri-link
emberry-bridge
cherry
fibre

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupEnhancements for code readabilitydocsImprovements or additions to documentationrefactorRefactor an existing feature

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions