Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
A lint for watching over your project's MPL-2.0 licensed source files.
The MPL-2.0 license expects one to add a short license header to each and every file to be covered:
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/.
Working on a project it is all too easy to forget to add such header to newly created files.
missing_mpl lint aims to help make sure all relevant source files include such a header.
Add the most recent version of
to your build-dependencies in your project's
Then add …
#![feature(plugin)] #![plugin(missing_mpl)] #![warn(missing_mpl)]
… to your crate's root file (e.g.
Once that's done you're all set!
Now all you need to do is run
cargo build and watch out for warnings:
"warning: Missing MPL license header in source file."
- Vincent Esche – Initial work – Regexident
See also the list of contributors who participated in this project.