crate-ci / escargot

Cargo API written in Paris
docs.rs/cargo
Apache License 2.0
42 stars 14 forks source link

feat: Stream messages #20

Closed epage closed 5 years ago

epage commented 5 years ago

Instead of waiting for the compile to finish, we report messages as people iterate on them.

As part of this, CargoRun logs the compiler messages. To improve the output, we added serialization formats inspired by https://github.com/oli-obk/cargo_metadata/pull/53

BREAKING CHANGE: MessagesIter is now very different. BREAKING CHANGE: Error stuff are now nested in modules.