Crates.io | cargo-faircode |
lib.rs | cargo-faircode |
version | 1.0.3 |
source | src |
created_at | 2017-10-24 09:44:04.863765 |
updated_at | 2017-10-24 16:42:06.752989 |
description | Cargo extension to help manage Faircode-registered dependencies |
homepage | https://faircode.io |
repository | https://github.com/faircodeio/cargo-faircode |
max_upload_size | |
id | 36769 |
size | 9,765 |
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"