diff --git a/Cargo.toml b/Cargo.toml index 98bc2aa..c35c035 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,17 +1,4 @@ -[package] -name = "immediate_stats" -version = "0.1.0" -edition = "2024" -keywords = ["game", "bevy", "stats"] -categories = ["game-development", "data-structures"] - -[features] -bevy = ["bevy_ecs", "bevy_app"] - [workspace] -members = ["immediate_stats_macros"] +members = ["immediate_stats", "immediate_stats_macros"] -[dependencies] -bevy_app = { version = "0.15.3", default-features = false, optional = true } -bevy_ecs = { version = "0.15", default-features = false, optional = true } -immediate_stats_macros = { path = "immediate_stats_macros" } \ No newline at end of file +resolver = "3" diff --git a/immediate_stats/Cargo.toml b/immediate_stats/Cargo.toml new file mode 100644 index 0000000..904d31a --- /dev/null +++ b/immediate_stats/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "immediate_stats" +version = "0.1.0" +edition = "2024" +description = "A crate for makeing immediate-mode stats." +categories = ["game-development", "data-structures"] +keywords = ["game", "bevy", "stats"] +repository = "https://github.com/AlephCubed/immediate_stats" +license = "MIT OR Apache-2.0" + +[features] +default = ["attribute_macro"] +attribute_macro = ["immediate_stats_macros/attribute_macro"] +bevy = ["bevy_ecs", "bevy_app"] + +[dependencies] +bevy_app = { version = "0.15.3", default-features = false, optional = true } +bevy_ecs = { version = "0.15", default-features = false, optional = true } +immediate_stats_macros = { path = "../immediate_stats_macros", default-features = false } diff --git a/src/bevy.rs b/immediate_stats/src/bevy.rs similarity index 100% rename from src/bevy.rs rename to immediate_stats/src/bevy.rs diff --git a/src/lib.rs b/immediate_stats/src/lib.rs similarity index 100% rename from src/lib.rs rename to immediate_stats/src/lib.rs diff --git a/immediate_stats_macros/Cargo.toml b/immediate_stats_macros/Cargo.toml index d10dd1c..446f85f 100644 --- a/immediate_stats_macros/Cargo.toml +++ b/immediate_stats_macros/Cargo.toml @@ -2,11 +2,20 @@ name = "immediate_stats_macros" version = "0.1.0" edition = "2024" +description = "A crate for makeing immediate-mode stats." +categories = ["game-development", "data-structures"] +keywords = ["game", "bevy", "stats"] +repository = "https://github.com/AlephCubed/immediate_stats" +license = "MIT OR Apache-2.0" [lib] proc-macro = true +[features] +default = ["attribute_macro"] +attribute_macro = [] + [dependencies] proc-macro2 = "1.0" quote = "1.0" -syn = { version = "2.0", features = ["full"] } \ No newline at end of file +syn = { version = "2.0", features = ["full"] }