forked from RibirX/Ribir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRAFT: Remove ribir_gpu and winit dependencies from ribir_core
fixes RibirX#233 Move the dependencies to a new create `ribir_app_winit` and create abstractions to break up dependencies in ribir_core code.
- Loading branch information
Showing
32 changed files
with
2,153 additions
and
973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ members = [ | |
"algo", | ||
"text", | ||
"widgets", | ||
"app_winit", | ||
"ribir", | ||
] | ||
resolver = "2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "ribir_app_winit" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
log = "0.4.8" | ||
ribir_painter = { path = "../painter" } | ||
ribir_core = { path = "../core" } | ||
ribir_gpu = { path = "../gpu" } | ||
winit = "0.28.1" | ||
|
||
[dev-dependencies] | ||
ribir_core = { path = "../core", features = ["test-utils"]} | ||
|
||
[features] | ||
defautl = ["wgpu_gl"] | ||
wgpu_gl = ["ribir_gpu/wgpu_gl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.