Skip to content

Commit

Permalink
Start using ensnare crate.
Browse files Browse the repository at this point in the history
We temporarily require that the ensnare repo be checked out next to this
one.
  • Loading branch information
sowbug committed Sep 19, 2023
1 parent 7c0375e commit 2880ba3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dipstick = { version = "0.9", optional = true }
eframe = { version = "0.22", optional = true }
egui-toast = { version = "0.8", optional = true }
egui_extras = { version = "0.22", optional = true }
ensnare = { path = "../ensnare" }
enum-primitive-derive = "0.2"
env_logger = "0.10"
futures = "0.3"
Expand Down Expand Up @@ -91,8 +92,7 @@ panic = "abort"
#
# "Binaries are skipped if they have required-features that are missing"
#
# We want all the binaries to build on a plain `cargo build --workspace`. That's
# why default features includes both framework features.
# We want all the binaries to build on a plain `cargo build --workspace`.
[features]
default = ["serialization", "egui-framework", "groove-midi"]
egui-framework = [
Expand Down
5 changes: 3 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ anyhow = "1.0"
bit-vec = "0.6"
derive_more = "0.99"
eframe = { version = "0.22", optional = true }
ensnare = { path = "../../ensnare" }
enum-primitive-derive = "0.2"
float-cmp = "0.9"
groove-proc-macros = { path = "../proc-macros" }
hound = "3.5" # TODO: remove when we figure out how to isolate tests that load files
hound = "3.5" # TODO: remove when we figure out how to isolate tests that load files
kahan = "0.1"
midly = "0.5"
more-asserts = "0.3"
Expand All @@ -27,5 +28,5 @@ strum_macros = "0.25"
typetag = "0.2"

[features]
"serialization" = ["serde"]
"serialization" = ["serde"]
"egui-framework" = ["eframe"]

0 comments on commit 2880ba3

Please sign in to comment.