Generate listings of third party dependencies and their licenses for copyright attribution in distributed Artichoke binaries.
To generate a THIRDPARTY text file for all targets Artichoke supports:
bundle exec generate-third-party-text-file path/to/artichoke/Cargo.tomlTo generate a THIRDPARTY text file for a single target triple:
bundle exec generate-third-party-text-file-single-target \
--target x86_64-unknown-linux-gnu \
path/to/artichoke/Cargo.tomlThis repository is available as a GitHub Action:
- name: Generate THIRDPARTY license listing
id: generate_third_party
uses: artichoke/generate_third_party@v1.16.0
with:
artichoke_ref: trunk
target_triple: x86_64-unknown-linux-gnu
output_file: ${{ github.workspace }}/THIRDPARTY
github_token: ${{ secrets.GITHUB_TOKEN }}generate_third_party supports all tier 1 Rust platforms and tier 2 MUSL
targets.
aarch64-apple-darwinaarch64-unknown-linux-gnuaarch64-unknown-linux-musli686-pc-windows-gnui686-pc-windows-msvci686-unknown-linux-gnux86_64-apple-darwinx86_64-pc-windows-gnux86_64-pc-windows-msvcx86_64-unknown-linux-gnux86_64-unknown-linux-musl