cargo-faircode

Crates.iocargo-faircode
lib.rscargo-faircode
version1.0.3
sourcesrc
created_at2017-10-24 09:44:04.863765
updated_at2017-10-24 16:42:06.752989
descriptionCargo extension to help manage Faircode-registered dependencies
homepagehttps://faircode.io
repositoryhttps://github.com/faircodeio/cargo-faircode
max_upload_size
id36769
size9,765
Fredrik Norén (FredrikNoren)

documentation

README

cargo-faircode

Faircode helps companies keep track of and pay for the software they use. The cargo-faircode cargo extension searches your project for dependencies and lists the ones with Faircode IDs associated with them.

To install:

cargo install cargo-faircode

Then to list all locally installed packages with Faircode IDs:

cargo faircode list

We recommend running cargo faircode register-build after each build of your package (for instance on CI). This automatically updates your software subscriptions on Faircode (removing old ones, adding new ones), to make sure you're always in sync.

You can list available commands with

cargo help faircode

To add a Faircode ID to your own project, first register at faircode.io, then update your Cargo.toml:

[package.metadata.faircode]
faircode_id = "YOUR_ID"
Commit count: 0

cargo fmt