58 lines
1.1 KiB
Markdown
58 lines
1.1 KiB
Markdown
# R_EoM
|
|
|
|
R_EoM is a library with a demo platform for testing and showcasing its features.
|
|
|
|
## Project Structure
|
|
|
|
- `src/lib.rs`: The core library logic.
|
|
- `src/main.rs`: The demo platform application.
|
|
- `tests/`: Integration tests.
|
|
- `flatpak/`: Flatpak manifest for the demo platform.
|
|
|
|
## Getting Started
|
|
|
|
### Prerequisites
|
|
|
|
- Rust and Cargo
|
|
- (Optional) Flatpak and Flatpak Builder
|
|
|
|
### Building and Running
|
|
|
|
To build the project:
|
|
|
|
```bash
|
|
cargo build
|
|
```
|
|
|
|
To run the demo platform:
|
|
|
|
```bash
|
|
cargo run --bin r_eom_demo
|
|
```
|
|
|
|
To run tests:
|
|
|
|
```bash
|
|
cargo test
|
|
```
|
|
|
|
### Flatpak
|
|
|
|
To build the Flatpak:
|
|
|
|
```bash
|
|
make flatpak-build
|
|
```
|
|
|
|
## IDE Support
|
|
|
|
### RustRover / IntelliJ Rust
|
|
|
|
This project includes shared run configurations in the `.run` directory. When you open the project in RustRover or IntelliJ IDEA with the Rust plugin, these configurations will automatically appear in the Run/Debug dropdown:
|
|
|
|
- **Run Demo**: Executes the `r_eom_demo` binary.
|
|
- **Run Tests**: Executes all tests in the workspace.
|
|
|
|
Additionally, the IDE automatically detects all targets defined in `Cargo.toml`.
|
|
|