Clarify rustdoc output licensing with a copyright file
This commit is contained in:
parent
67380065d9
commit
6c566524b6
2 changed files with 66 additions and 0 deletions
|
@ -591,6 +591,8 @@ fn write_shared(cx: &Context,
|
|||
include_bytes!("static/LICENSE-MIT.txt")));
|
||||
try!(write(cx.dst.join("LICENSE-APACHE.txt"),
|
||||
include_bytes!("static/LICENSE-APACHE.txt")));
|
||||
try!(write(cx.dst.join("COPYRIGHT.txt"),
|
||||
include_bytes!("static/COPYRIGHT.txt")));
|
||||
|
||||
fn collect(path: &Path, krate: &str,
|
||||
key: &str) -> io::Result<Vec<String>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue