Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: template project #42

Open
sassman opened this issue Feb 19, 2021 · 2 comments
Open

suggestion: template project #42

sassman opened this issue Feb 19, 2021 · 2 comments

Comments

@sassman
Copy link

sassman commented Feb 19, 2021

hey, I'm not sure if that is yet interesting for you, but I've put together a little rusty-hermit starter template

It needs cargo-generate in a not yet released version (I will release it pretty soon) and then you can scaffold a new rusty-hermit project like this:

# needs cargo-generate 0.6.0.alpha.2
cargo install cargo-generate --version 0.6.0-alpha.2

## generate the template 
cargo generate --git sassman/hermit-template-rs

Then after a couple of questions you get either a hello world application (when turning networking off) or a simple echo tcp server application.

image

This might be good starting point and could even be more parameterised. If you are interested I could prepare a PR to provide such a template to the hermitcore org so that it is owned by you.

If that is out of scope, I'm also ok with it.

@stlankes
Copy link
Contributor

stlankes commented Feb 23, 2021

Oh, looks great! A PR will be great! It simplifies the usage of RustyHermit.

@mkroening mkroening transferred this issue from hermit-os/hermit-rs Sep 4, 2023
@mkroening
Copy link
Member

We'll transform this project into a proper template. Thank you so much for the suggestion and the previous work, @sassman! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants