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

Use license instead of license-file #1189

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Commits on Aug 13, 2024

  1. Use license instead of license-file

    Per the Cargo Book, `license-file` is only to be used if a package uses
    a non-standard license; see https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
    
    Declare the licenses directly, and verify that the LICENSE file
    containing the license breakdown is still included
    
    ```
    …n LibCST/native/libcst_derive on  cargo-fixes [!] is 📦 v1.4.0 via 🦀 v1.77.1
    ⬢ [fedora:40] ❯ cargo package --list --allow-dirty | grep LICENSE
    LICENSE
    
    …n LibCST/native/libcst_derive on  cargo-fixes [!] is 📦 v1.4.0 via 🦀 v1.77.1
    ⬢ [fedora:40] ❯ cd ../libcst
    
    michel in LibCST/native/libcst on  cargo-fixes [!] is 📦 v1.4.0 via 🦀 v1.77.1
    ⬢ [fedora:40] ❯ cargo package --list --allow-dirty | grep LICENSE
    LICENSE
    src/tokenizer/core/LICENSE
    ```
    
    Signed-off-by: Michel Lind <salimma@fedoraproject.org>
    michel-slm committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    89ff412 View commit details
    Browse the repository at this point in the history