Re:The Rust compiler isn't slow; we are
by sheeshkebab on Wednesday June 17, 2020 @08:21AM
(#23550490)
Do we also need to add the time tracking down issues and dealing with all the licensing and churn issues in mostly unstable third party rust dependencies?
[ Parent
| on HN ]
I'm about to ship my first Rust project for a client that actually cares about licensing stuff. It's trivial to add a new line to Cargo.toml, but can you legally redistribute it? What MIT-style copyright lines do I need to ship in our License file? Well, let's list the project dependencies and find out how many packages I need to go examine:
$ ~/.cargo/bin/cargo-tree tree --no-indent | cut -f1 -d' ' | sort | uniq | wc -l
61
Oi. I'm not sure this language dependency management thing is such a good idea.
Re:The Rust compiler isn't slow; we are
by steveklabnik on Wednesday June 17, 2020 @09:43AM
(#23551258)
You might like https://github.com/embarkstudios/cargo-about
That looks fantastic, thank you.
Re:The Rust compiler isn't slow; we are
by wizzwizz4 on Wednesday June 17, 2020 @09:30AM
(#23551126)
I'm working on a crate that'll build a String satisfying all the license requirements of a Cargo project's dependencies – you should be able to put that in a build script, include_str!() the file that the build script spits out, then display that string in the About box (like the convention of Windows Forms programs).
Of course, if anybody knows of an existing crate that does that, it'd save me the effort.
For a more polyglot license grep thing, I built https://github.com/akx/license-grep once upon a time. :)