robot 9001

Results 22 issues of 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...

docs

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...

enhancement
docs

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"...

enhancement
license
docs

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...

enhancement
docs

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

enhancement
docs

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.

enhancement
docs

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...

enhancement

See https://rust-lang.github.io/api-guidelines/about.html

enhancement
api

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...

enhancement
api

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/robo9k/rust-magic/badge)](https://securityscorecards.dev/viewer/?uri=github.com/robo9k/rust-magic) See https://github.com/ossf/scorecard

enhancement