| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 5 | 0 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 0 | 3 | 0 | 0% |
What each file covers
Sections
0 shared · 5 only in A · 0 only in B- − bevy_rand Rules
- − Version Requirements
- − Feature Selection
- − Usage Guidelines
- − Compatibility Notes
Commands
neither file has anySection tags
0 shared · 3 only in A · 0 only in B- − code-style
- − deployment
- − do-not
Line diff
tyler274/rummage · .cursor/rules/bevy_rand.mdc
@@ −1 @@
1---
2description: using bevy_rand
3globs:
4alwaysApply: false
5---
6# bevy_rand Rules
7
8## Version Requirements
9
10When working with bevy_rand and bevy_prng in this project, always use the following:
11
12- **ALWAYS** use the upstream git version from the main branch:
13```toml
14bevy_rand = { git = "https://github.com/Bluefinger/bevy_rand", branch = "main", features = ["wyrand", "experimental"] }
15bevy_prng = { git = "https://github.com/Bluefinger/bevy_rand", branch = "main", features = ["wyrand"] }
16```
17
18- Do not use specific versions from crates.io
19- Ensure compatibility with our current Bevy 0.15.x version
20
21## Feature Selection
22
23- Always include the "wyrand" feature for both bevy_rand and bevy_prng
24- Include the "experimental" feature for bevy_rand
25
26## Usage Guidelines
27
28- Use `WyRand` as the preferred PRNG algorithm for general randomization needs
29- Register PRNGs via the EntropyPlugin: `app.add_plugins(EntropyPlugin::<WyRand>::default())`
30- For deterministic behavior in tests, remember to use a specific seed
31
32## Compatibility Notes
33
34- bevy_rand and bevy_prng from the main branch require uuid 1.13.1 or newer
35- When updating these dependencies, ensure other dependencies are compatible
tyler274/rummage · .cursor/rules/general.mdc
@@ +1 @@
1---
2description: General rules to always be applied
3globs:
4alwaysApply: true
5---
61. Using Bevy 0.16.x APIs that aren't deprecated, we are implementing a robust unit and integrated end to end tested Magic the Gathering Commander format game engine.
72. Text2dBundle, SpriteBundle, NodeBundle, Camera2dBundle, SpatialBundle etc are deprecated for Text2d, Sprite, Node, and Camera2d respectively.
83. Use bevy_persistent for all persistent data operations.
94. Use bevy_replicon for networking.
105. Always check for and fix any compiler warnings and errors when changing code.
116. Always keep documentation in sync with the implementation.
127. Stage all the changed files determined using "git status" with a descriptive commit
13message using repeated "-m" flags for proper multiline commits in a single command
14invocation.
158. Use chainable builder pattern APIs to construct structs in a reusable way. Especially
16in test code. These builders/constructors should be const where possible.
17
@@ −1 +1 @@
11 ---
2−description: using bevy_rand
2+description: General rules to always be applied
33 globs:
4−alwaysApply: false
4+alwaysApply: true
55 ---
6−# bevy_rand Rules
6+1. Using Bevy 0.16.x APIs that aren't deprecated, we are implementing a robust unit and integrated end to end tested Magic the Gathering Commander format game engine.
7+2. Text2dBundle, SpriteBundle, NodeBundle, Camera2dBundle, SpatialBundle etc are deprecated for Text2d, Sprite, Node, and Camera2d respectively.
8+3. Use bevy_persistent for all persistent data operations.
9+4. Use bevy_replicon for networking.
10+5. Always check for and fix any compiler warnings and errors when changing code.
11+6. Always keep documentation in sync with the implementation.
12+7. Stage all the changed files determined using "git status" with a descriptive commit
13+message using repeated "-m" flags for proper multiline commits in a single command
14+invocation.
15+8. Use chainable builder pattern APIs to construct structs in a reusable way. Especially
16+in test code. These builders/constructors should be const where possible.
717
8−## Version Requirements
9−
10−When working with bevy_rand and bevy_prng in this project, always use the following:
11−
12−- **ALWAYS** use the upstream git version from the main branch:
13−```toml
14−bevy_rand = { git = "https://github.com/Bluefinger/bevy_rand", branch = "main", features = ["wyrand", "experimental"] }
15−bevy_prng = { git = "https://github.com/Bluefinger/bevy_rand", branch = "main", features = ["wyrand"] }
16−```
17−
18−- Do not use specific versions from crates.io
19−- Ensure compatibility with our current Bevy 0.15.x version
20−
21−## Feature Selection
22−
23−- Always include the "wyrand" feature for both bevy_rand and bevy_prng
24−- Include the "experimental" feature for bevy_rand
25−
26−## Usage Guidelines
27−
28−- Use `WyRand` as the preferred PRNG algorithm for general randomization needs
29−- Register PRNGs via the EntropyPlugin: `app.add_plugins(EntropyPlugin::<WyRand>::default())`
30−- For deterministic behavior in tests, remember to use a specific seed
31−
32−## Compatibility Notes
33−
34−- bevy_rand and bevy_prng from the main branch require uuid 1.13.1 or newer
35−- When updating these dependencies, ensure other dependencies are compatible
