Skip to content

Commit

Permalink
Merge pull request #6 from Brickworks/sim-interface-update
Browse files Browse the repository at this point in the history
Sim interface update
  • Loading branch information
philiplinden authored Feb 23, 2024
2 parents 32f0792 + 643f552 commit fd222e7
Show file tree
Hide file tree
Showing 29 changed files with 495 additions and 5,069 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Cargo Check
run: cargo check
run: RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo check
- name: Cargo Build
run: cargo build --release --all-features
test:
Expand Down
17 changes: 15 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ license-file = "LICENSE"

[features]
default = ["gui"]
gui = ["egui", "egui_extras", "egui_plot", "eframe", "emath"]
gui = [
"egui",
"egui_extras",
"egui_plot",
"eframe",
"emath",
"rfd",
]

[dependencies]
pretty_env_logger = "0.5.0"
Expand All @@ -30,7 +37,13 @@ egui = { version = "0.26.2", features = ["log", "serde"], optional = true }
egui_plot = { version = "0.26.2", features = ["serde"], optional = true }
eframe = { version = "0.26.2", features = ["persistence"], optional = true }
emath = { version = "0.26.2", optional = true }
egui_extras = { version = "0.26.2", features = ["chrono", "datepicker", "file"], optional = true}
egui_extras = { version = "0.26.2", features = [
"chrono",
"datepicker",
"file",
], optional = true }
rfd = { version = "0.14.0", optional = true }
ultraviolet = { version = "0.9.2", features = ["serde"] }

[[bin]]
name = "yahs"
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::PathBuf;
use clap::{Parser, Subcommand};
use log::error;

use crate::simulator::{AsyncSim, Rate};
use crate::simulator::schedule::{AsyncSim, Rate};

#[derive(Parser)]
#[clap(author, version, about)]
Expand Down
186 changes: 0 additions & 186 deletions src/gui/demo/context_menu.rs

This file was deleted.

Loading

0 comments on commit fd222e7

Please sign in to comment.