Comments (2)
Of course. Of coursse. Good points.
I am working more on a utility, but still, the users are probably not going to be rustaceans so much (if there is more than 1 user :D).
I have moved the game_plugin/src into src, which probably makes sense for this, as I wil publish on cargo, but it is definately a corner case.
Love the github actions btw. Flawless. Thanks heaps, you saved me a bunch of time.
from bevy_game_template.
Hi, glad you like it 🙂
The two crates in the template are not really supposed to be published. Note that they both have publish: false
set.
I am not sure what your use case for publishing a game on crates.io is, but if you want to move everything in one crate, simply copy all files from game_plugin/src
into src
. The only other changes necessary would be an adaption of the imports in main.rs
and removal of the game_plugin
crate in cargo.toml
.
For most users, I would expect that the extra crate makes no difference since they most likely do not publish anything on crates.io. The goal was to split the game into a small executable crate that just starts the process and otherwise uses logic from a library crate (if the example game would grow a lot one could think about adding more and more library crates, as long as the split makes sense).
from bevy_game_template.
Related Issues (20)
- CI does not fail on clippy warnings
- Fullscreen CSS tweak HOT 4
- WARNING: No tag push needed to trigger workflows HOT 2
- Control canvas size thorugh game-container css class
- [iOS] crash on open url click HOT 4
- Cross-compile for windows with the GNU toolchain?
- Replace custom wasm-opt integration with trunks build-in support
- Cant get cargo apk or xbuild to work HOT 3
- Bevy 0.14 HOT 2
- 3d apps do not work in iOS simulator HOT 2
- Ensure running on an iOS Simulator still works HOT 1
- Stuck at trunk serve
- trunk only show black screen HOT 2
- Thanks
- Mac OS release CI workflow fails: "can't find crate for `core`" HOT 6
- Error when compiling apk HOT 1
- LTO options in release and dist profiles are swapped HOT 1
- Building for iOS causes errors HOT 7
- BUILD_INSTALLER doesn't work as expected
- trunk serve is broken HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_game_template.