#help #extension #track #package #metadata #register #faircode

app cargo-faircode

Cargo extension to help manage Faircode-registered dependencies

2 stable releases

Uses old Rust 2015

1.0.3 Oct 24, 2017

#149 in #track

MIT license

10KB
197 lines

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"

Dependencies

~40MB
~783K SLoC