Skip to content

Commit

Permalink
Started adding a headless feature
Browse files Browse the repository at this point in the history
  • Loading branch information
fhaynes committed Apr 19, 2019
1 parent fe28e7b commit 05e9c7f
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ json = [
saveload = [
"amethyst_core/saveload"
]
headless = [
"amethyst_assets/headless",
"amethyst_config/headless",
"amethyst_core/headless",
"amethyst_controls/headless",
"amethyst_network/headless",
"amethyst_renderer/headless",
"amethyst_input/headless",
"amethyst_utils/headless",
]

[workspace]
members = [
Expand Down
1 change: 1 addition & 0 deletions amethyst_assets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ err-derive = "0.1"
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "amethyst_core/nightly" ]
json = [ "serde_json" ]
headless = []
1 change: 1 addition & 0 deletions amethyst_config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ serde_derive = "1"
[features]
profiler = [ "thread_profiler/thread_profiler" ]
nightly = []
headless = []
1 change: 1 addition & 0 deletions amethyst_controls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ thread_profiler = { version = "0.3", optional = true }
[features]
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "amethyst_core/nightly" ]
headless = []
1 change: 1 addition & 0 deletions amethyst_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ amethyst = { path = "..", version = "0.10.0" }
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "shred/nightly" ]
saveload = ["specs/serde"]
headless = []
1 change: 1 addition & 0 deletions amethyst_input/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ features = ["serde"]
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "amethyst_core/nightly" ]
sdl_controller = ["sdl2"]
headless = []
3 changes: 2 additions & 1 deletion amethyst_network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ license = "MIT/Apache-2.0"
[features]
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "amethyst_core/nightly" ]
headless = []

[dependencies]
amethyst_core = { path = "../amethyst_core", version = "0.5" }
Expand All @@ -29,7 +30,7 @@ shred = "0.7"
bincode = "1.0"
log = "0.4.6"
uuid = { version = "0.7.1", features = ["v4","serde"] }
thread_profiler = { version = "0.3" , optional = true }
thread_profiler = { version = "0.3", optional = true }
laminar = "0.2"
err-derive = "0.1"
crossbeam-channel = "0.3.8"
1 change: 1 addition & 0 deletions amethyst_renderer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ opengl = ["gfx_device_gl", "gfx_window_glutin", "glutin"]
#vulkan = ["gfx_device_vulkan", "gfx_window_vulkan"]
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "amethyst_core/nightly" ]
headless = []

[dependencies]
amethyst_assets = { path = "../amethyst_assets", version = "0.6.0" }
Expand Down
1 change: 1 addition & 0 deletions amethyst_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ thread_profiler = { version = "0.3", optional = true }
[features]
profiler = [ "thread_profiler/thread_profiler" ]
nightly = [ "amethyst_core/nightly" ]
headless = []

0 comments on commit 05e9c7f

Please sign in to comment.