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

Add Rust code example to README, runnable file-ish example #58

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

robo9k
Copy link
Owner

@robo9k robo9k commented Aug 19, 2022

Adds an automatically tested Rust code example to the README and an example program runnable with cargo.
This should help for #8
Includes a snippet from magic-sys on how to install libmagic.

Also bumps the MSRV 1.48 → 1.54, which is a semver "breaking" change.

cargo add as in the README would actually have a MSRV of 1.62, but that's not required to just use the crate after it has been added as a dependency.

@robo9k robo9k merged commit c2ab435 into main Aug 19, 2022
@robo9k robo9k deleted the readme-example branch August 19, 2022 15:44
@arbeitsmaschine arbeitsmaschine bot mentioned this pull request Sep 28, 2023
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

Successfully merging this pull request may close these issues.

1 participant