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

Cookbook ideas for same-file crate #205

Closed
KodrAus opened this Issue Jun 28, 2017 · 7 comments

Comments

Projects
None yet
3 participants
@KodrAus

KodrAus commented Jun 28, 2017

Come up with ideas for nice introductory examples of using same-file, possibly in combination with other crates, that would be good to show in the Rust Cookbook. Please leave a comment here with your ideas! You don't necessarily have to write the example code yourself but PRs are always welcome!

edit:

@KodrAus

This comment has been minimized.

Show comment
Hide comment
@KodrAus

KodrAus Jun 28, 2017

This is a simple crate with some examples already in the same-file repo.

KodrAus commented Jun 28, 2017

This is a simple crate with some examples already in the same-file repo.

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Jun 28, 2017

Collaborator

how about?:

  • "avoid writing to a file you are reading from"
    • or a variant "check if stdout is not redirected to file you are reading from"
  • "find loops in filesystem"
Collaborator

budziq commented Jun 28, 2017

how about?:

  • "avoid writing to a file you are reading from"
    • or a variant "check if stdout is not redirected to file you are reading from"
  • "find loops in filesystem"
@alisha17

This comment has been minimized.

Show comment
Hide comment
@alisha17

alisha17 Jun 29, 2017

Contributor

I would like to write examples for this. Well, where should I start from?

Contributor

alisha17 commented Jun 29, 2017

I would like to write examples for this. Well, where should I start from?

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Jun 29, 2017

Collaborator

@alisha17 I'm still soliciting ideas for this crate. If @KodrAus gives a 👍 for my 2 ideas above then I'll create issues for them with explanations and you are ready to go.

Collaborator

budziq commented Jun 29, 2017

@alisha17 I'm still soliciting ideas for this crate. If @KodrAus gives a 👍 for my 2 ideas above then I'll create issues for them with explanations and you are ready to go.

@KodrAus

This comment has been minimized.

Show comment
Hide comment
@KodrAus

KodrAus Jun 29, 2017

@budziq I think those are great examples!

KodrAus commented Jun 29, 2017

@budziq I think those are great examples!

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Jun 29, 2017

Collaborator

@alisha17 you are good to go with any of the two listed examples. Please post on the one that you would like to contribute to. Ping me If you'll have any questions.

Collaborator

budziq commented Jun 29, 2017

@alisha17 you are good to go with any of the two listed examples. Please post on the one that you would like to contribute to. Ping me If you'll have any questions.

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Sep 1, 2017

Collaborator

all ideas implemented so closing for now

Collaborator

budziq commented Sep 1, 2017

all ideas implemented so closing for now

@budziq budziq closed this Sep 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment