Prepare v0.1.1 release for crates.io
- Rename `macros` crate to `libmarathon-macros` for better discoverability on crates.io - Update all imports from `macros::` to `libmarathon_macros::` - Add crates.io metadata (description, license, repository, homepage, etc.) - Bump version to 0.1.1 - Add version requirement for libmarathon-macros dependency
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
[package]
|
||||
name = "macros"
|
||||
version = "0.1.0"
|
||||
name = "libmarathon-macros"
|
||||
version = "0.1.1"
|
||||
edition.workspace = true
|
||||
description = "Procedural macros for the Marathon game engine"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/r3t-studios/marathon"
|
||||
homepage = "https://github.com/r3t-studios/marathon"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
@@ -160,7 +160,7 @@ pub fn derive_draw_function_label(input: TokenStream) -> TokenStream {
|
||||
/// # Example
|
||||
///
|
||||
/// ```no_compile
|
||||
/// use macros::synced;
|
||||
/// use libmarathon_macros::synced;
|
||||
///
|
||||
/// #[synced]
|
||||
/// pub struct CubeMarker {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
use bevy::prelude::*;
|
||||
|
||||
// Test 1: Basic struct with synced attribute compiles
|
||||
#[macros::synced]
|
||||
#[libmarathon_macros::synced]
|
||||
struct Health {
|
||||
current: f32,
|
||||
}
|
||||
@@ -58,7 +58,7 @@ fn test_health_is_clone_and_copy() {
|
||||
}
|
||||
|
||||
// Test 2: Struct with multiple fields
|
||||
#[macros::synced]
|
||||
#[libmarathon_macros::synced]
|
||||
struct Position {
|
||||
x: f32,
|
||||
y: f32,
|
||||
|
||||
Reference in New Issue
Block a user