Skip to content

Commit bdb454c

Browse files
authored
Remove dead code, release 4.0.0-alpha.0 (#3)
* refactor: remove bevy_resources feature * add bevy_asset feature * update version to be alpha.0 * delete dead modules/crates * remove num_enum dep * bump alpha
1 parent aed2d0f commit bdb454c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+100
-7709
lines changed

Cargo.toml

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "midix"
3-
version = "4.0.0-alpha"
3+
version = "4.0.0-alpha.1"
44
authors = ["dsgallups <dsgallups@protonmail.com>"]
55
edition = "2024"
66
description = "MIDI structures designed for humans"
@@ -15,51 +15,22 @@ exclude = ["assets/*"]
1515

1616
[features]
1717
default = ["std"]
18-
all = ["std", "bevy_resources", "web"]
19-
std = ["thiserror/std", "num_enum/std", "crossbeam-channel/std"]
18+
std = ["thiserror/std"]
2019
web = ["bevy_platform/web"]
21-
bevy_resources = [
22-
"bevy",
23-
"dep:midir",
24-
"dep:tinyaudio",
25-
"dep:itertools",
26-
"dep:rustysynth",
27-
"dep:crossbeam-channel",
28-
]
29-
bevy = ["bevy_resources", "bevy/bevy_log", "std", "bevy/bevy_asset"]
30-
debug = ["bevy_resources"]
31-
example = [
32-
"bevy_resources",
33-
"std",
34-
"bevy/bevy_color",
35-
"bevy/bevy_core_pipeline",
36-
"bevy/bevy_ui",
37-
"bevy/bevy_ui_picking_backend",
38-
"bevy/bevy_winit",
39-
"bevy/bevy_window",
40-
"bevy/x11",
41-
# note that the wasm example freezes since when this feature is not enabled! TODO
42-
"bevy/multi_threaded",
43-
]
20+
bevy = ["dep:bevy"]
21+
bevy_asset = ["bevy/bevy_asset"]
4422
serde = ["dep:serde"]
4523

4624

4725
[dependencies.bevy]
48-
version = "0.17.0-rc.1"
26+
version = "0.17.0-rc"
4927
optional = true
5028
default-features = false
51-
# features = ["async_executor", "bevy_log", "bevy_state", "bevy_asset", "std"]
5229

5330
[dependencies]
54-
num_enum = { version = "0.7.3", default-features = false }
5531
thiserror = { version = "2.0", default-features = false }
5632
# Bevy feature deps
57-
crossbeam-channel = { version = "0.5.15", optional = true, default-features = false }
58-
midir = { version = "0.10", optional = true }
59-
tinyaudio = { version = "1.1.0", optional = true }
60-
itertools = { version = "0.14.0", optional = true }
61-
rustysynth = { version = "1.3.5", optional = true }
62-
bevy_platform = { version = "0.17.0-rc.1", default-features = false, features = [
33+
bevy_platform = { version = "0.17.0-rc", optional = true, default-features = false, features = [
6334
"alloc",
6435
] }
6536
serde = {version = "1.0", features = ["derive"], optional = true}
@@ -110,3 +81,28 @@ pretty_assertions = { default-features = false, features = [
11081
# [[example]]
11182
# name = "scale"
11283
# required-features = ["example"]
84+
85+
# debug = ["bevy_resources"]
86+
# example = [
87+
# "bevy_resources",
88+
# "std",
89+
# "bevy/bevy_color",
90+
# "bevy/bevy_core_pipeline",
91+
# "bevy/bevy_ui",
92+
# "bevy/bevy_ui_picking_backend",
93+
# "bevy/bevy_winit",
94+
# "bevy/bevy_window",
95+
# "bevy/x11",
96+
# # note that the wasm example freezes since when this feature is not enabled! TODO
97+
# "bevy/multi_threaded",
98+
# ]
99+
#
100+
101+
# bevy_resources = [
102+
# "bevy",
103+
# "dep:midir",
104+
# "dep:tinyaudio",
105+
# "dep:itertools",
106+
# "dep:rustysynth",
107+
# "dep:crossbeam-channel",
108+
# ]

src/bevy/asset/midi_file.rs

Lines changed: 0 additions & 251 deletions
This file was deleted.

src/bevy/asset/mod.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)