bevy/crates/bevy_gizmos/src
raldone01 1b7db895b7
Harden proc macro path resolution and add integration tests. (#17330)
This pr uses the `extern crate self as` trick to make proc macros behave
the same way inside and outside bevy.

# Objective

- Removes noise introduced by `crate as` in the whole bevy repo.
- Fixes #17004.
- Hardens proc macro path resolution.

## TODO

- [x] `BevyManifest` needs cleanup.
- [x] Cleanup remaining `crate as`.
- [x] Add proper integration tests to the ci.

## Notes

- `cargo-manifest-proc-macros` is written by me and based/inspired by
the old `BevyManifest` implementation and
[`bkchr/proc-macro-crate`](https://github.com/bkchr/proc-macro-crate).
- What do you think about the new integration test machinery I added to
the `ci`?
  More and better integration tests can be added at a later stage.
The goal of these integration tests is to simulate an actual separate
crate that uses bevy. Ideally they would lightly touch all bevy crates.

## Testing

- Needs RA test
- Needs testing from other users
- Others need to run at least `cargo run -p ci integration-test` and
verify that they work.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-02-09 19:45:45 +00:00
..
primitives Reworked Segment types into their cartesian forms (#17404) 2025-01-19 03:54:45 +00:00
aabb.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
arcs.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
arrows.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
circles.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
config.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
cross.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
curves.rs Refactor non-core Curve methods into extension traits (#16930) 2024-12-29 19:26:49 +00:00
gizmos.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
grid.rs Allow clippy::too_many_arguments to lint without warnings (#17249) 2025-01-09 07:26:15 +00:00
lib.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
light.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
line_joints.wgsl Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
lines.wgsl Add dashed lines (#16884) 2024-12-18 20:43:58 +00:00
pipeline_2d.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
pipeline_3d.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
retained.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
rounded_box.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00