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.toml
To 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.toml
This repository is available as a GitHub Action:
- name: Generate THIRDPARTY license listing
id: generate_third_party
uses: artichoke/[email protected]
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-darwin
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
i686-pc-windows-gnu
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl