robot 9001
robot 9001
As a follow-up to #128 there's even more things that could be visualized and linked to with a badge, but that are not available on `shields.io`, but might be possible...
The `README` currently contains a brief explanation how to setup a cargo bin project using the magic crate. This could be moved into its own `magic-usage` project, which people can...
Seems like #41 broke GitHub's parsing of the repo license. According to https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository they want a file named "`LICENSE` or `LICENSE.md` (with all caps)". The [`README.md`](README.md) already contains a "license"...
Right now the same `README.md` is used for the Git repo and the published crate. The GitHub Pages website only consists of rustdoc. This is also required/helpful for some of...
Seems like this is available as an unstable `rustfmt` option: https://rust-lang.github.io/rustfmt/?version=v1.5.1&search=format_code_in_doc_comments#format_code_in_doc_comments
This is required for #48 and also would also help new contributors in general. Right now it only mentions how contributions will be licensed and mentions the security policy.
Currently the [`libc` crate](https://crates.io/crates/libc) is used for some FFI types. Since [Rust version 1.64.0](https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1640-2022-09-22) those types are available in `core::ffi` without an additional crate. This would bump the MSRV to...
See https://rust-lang.github.io/api-guidelines/about.html
The current pattern of creating a `Cookie` instance works like this: ``` rust let cookie = Cookie::open(flags::NONE).ok().unwrap(); cookie.load(&Path::new("/usr/share/misc/magic")); cookie.file(&Path::new("assets/rust-logo-128x128-blk.png")).ok().unwrap()); ``` Calling `open()`, then `load()` is uncomfortable to use and very...
[](https://securityscorecards.dev/viewer/?uri=github.com/robo9k/rust-magic) See https://github.com/ossf/scorecard