Conversation
fe381d6 to
b0c2784
Compare
|
Leave the Maybe I will take a look at I know we will create some temporary mess on main, but I don't mind this as I don't plan releasing mousefood WDYT? |
j-g00da
left a comment
There was a problem hiding this comment.
Thanks so much for this! I know it's a draft still but I left some notes.
|
No-std changes are on main, you can merge these in now. |
- Move `simulator` example into its own crate with all its dependencies - Remove crate feature `simulator`, code implementation is moved to the `simulator` example crate - Created workspace to host `mousefood` crate + examples + future stuff
to keep TOML files indented correctly when using multiple text editors
- Install dependencies, and build examples - Add YAML files to editorconfig
b0c2784 to
711a383
Compare
|
I will merge
Fine by me! If you want we can make a staging branch before merging everything onto main. I hope there won't be too much mess, my goal is to never break the build on main! |
|
Main builds, it's just the docs that are outdated. |
|
Hum, for some reason GitHub is not showing the fact I merged And GitHub action is not running, what is going on? 😅 Edit: TIL GitHub can need some time to process pushes to branches https://github.blog/changelog/2023-09-26-more-details-provided-when-a-pull-request-is-merged-indirectly-or-is-still-processing-updates/ |
|
CI is failing, but it's due to a download error. I cannot seem to restart it for the PR, but I re-ran jobs on my fork and everything went well. https://github.com/deadbaed/mousefood/actions/runs/15716651585 Ready for another round of review! |
build-examples: make github actions aware of `cargo build` failures by using `xargs`
- ratatui is no longer re-exported from mousefood anymore - use mousefood::error::Error
j-g00da
left a comment
There was a problem hiding this comment.
I will take a deeper look tomorrow, but I left some comments
| [workspace] | ||
| resolver = "3" | ||
| members = [ | ||
| ".", | ||
| "examples/*", | ||
| ] | ||
|
|
There was a problem hiding this comment.
We should create a mousefood directory in the repo and move there the whole src and Cargo.toml, then in the root Cargo.toml we should only have workspace setup.
There was a problem hiding this comment.
Works for me.
Do you want to do that in another PR?
There was a problem hiding this comment.
I think let's do it in this PR, it's already mostly about introducing a workspace setup
There was a problem hiding this comment.
Okay, just pushed it.
|
Btw. nit: |
I think the merge got messed-up somehow
I'd prefer to keep the readme, GitHub will render it for us when users browse the repo, might get users to clone the repo and run the examples! That's what I do inside repositories when I see they have examples. |
82dc613 to
3666037
Compare
|
We should probably put this in docs in main.rs and generate |
|
Did not know about this, looks very promising! |
| # EditorConfig is awesome: https://editorconfig.org | ||
|
|
||
| # top-most EditorConfig file | ||
| root = true | ||
|
|
||
| [*] | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| charset = utf-8 | ||
|
|
||
| [*.{toml,yml}] | ||
| indent_style = space | ||
| indent_size = 2 |
There was a problem hiding this comment.
This is a topic for separate PR
simulator feature
misc
mousefood, examples, and the future