Skip to content
Snippets Groups Projects
Commit db4f641f authored by StarArawn's avatar StarArawn
Browse files

Cleanup of cargo stuff.

parent 6ae32c95
No related branches found
No related tags found
No related merge requests found
...@@ -2036,6 +2036,7 @@ dependencies = [ ...@@ -2036,6 +2036,7 @@ dependencies = [
"bevy", "bevy",
"bevy_kayak_ui", "bevy_kayak_ui",
"kayak_core", "kayak_core",
"kayak_font",
"kayak_widgets", "kayak_widgets",
] ]
......
...@@ -7,9 +7,15 @@ resolver = "2" ...@@ -7,9 +7,15 @@ resolver = "2"
[workspace] [workspace]
members = ["kayak_widgets", "kayak_core", "kayak_render_macros", "kayak_font"] members = ["kayak_widgets", "kayak_core", "kayak_render_macros", "kayak_font"]
[features]
default = ["bevy_renderer"]
bevy_renderer = []
[dependencies] [dependencies]
kayak_widgets = { path = "kayak_widgets" } kayak_widgets = { path = "kayak_widgets" }
kayak_core = { path = "kayak_core" } kayak_core = { path = "kayak_core" }
bevy_kayak_ui = { path = "bevy_kayak_ui", optional = true }
kayak_font = { path = "kayak_font", optional = true }
[dev-dependencies] [dev-dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", rev = "38c7d5eb9e81ab8e1aec03673599b25a9aa0c69c" } bevy = { git = "https://github.com/bevyengine/bevy", rev = "38c7d5eb9e81ab8e1aec03673599b25a9aa0c69c" }
......
...@@ -5,3 +5,13 @@ pub mod widgets { ...@@ -5,3 +5,13 @@ pub mod widgets {
pub mod core { pub mod core {
pub use kayak_core::*; pub use kayak_core::*;
} }
#[cfg(feature = "bevy_renderer")]
pub mod font {
pub use kayak_font::*;
}
#[cfg(feature = "bevy_renderer")]
pub mod bevy {
pub use bevy_kayak_ui::*;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment