shepmaster / snafu

Easily assign underlying errors into domain-specific errors while adding context
https://docs.rs/snafu/
Apache License 2.0
1.45k stars 61 forks source link

License files are not included in the snafu-derive package #215

Closed tim77 closed 4 years ago

tim77 commented 4 years ago

Hello. Please add license files to Crates.io for snafu-derive. For some Linux distros this is mandatory.

shepmaster commented 4 years ago

Can you expand a bit more what you mean? snafu and snafu-derive are under the same license and appear the same in crates.io:

image

image

tim77 commented 4 years ago

License files available only for snafu not snafu-derive on Crates.io. Simply creating symlink to the top-level license files from a snafu directory would be enough.

shepmaster commented 4 years ago

License files available only for snafu not snafu-derive on Crates.io

I still am not following you. Where in the crates.io interface is anything shown about licenses beyond the points that I have circled?

tim77 commented 4 years ago

snafu-derive

snafu-derive-0.6.2 is 📦 v0.6.2 via 🦀 v1.42.0

ls -l
total 12
-rw-r--r--. 1 tim tim 1027 Jan 17 18:44 Cargo.toml
-rw-r--r--. 1 tim tim  464 Jan 17 18:41 Cargo.toml.orig
drwxr-xr-x. 2 tim tim 4096 Mar 18 15:17 src

snafu

DeepinScreenshot_select-area_20200318152051

shepmaster commented 4 years ago

Ah, so you mean the files that are bundled as part of the distributed source code. That was not clear.

tim77 commented 4 years ago

Exactly. :) Apologize, i should clarify this better.

ignatenkobrain commented 4 years ago

It is enough to just create symlinks or copy LICENSE files into subfolder snafu-derive, commit them and publish new version.

shepmaster commented 4 years ago

Released in 0.6.3. I'm interested to hear which Linux distro might be bundling SNAFU, if you can share.

tim77 commented 4 years ago

Released in 0.6.3.

Thank you!

I'm interested to hear which Linux distro might be bundling SNAFU, if you can share.

Fedora. Packaging Rust software in Fedora is PITA.