by Manishearth · 11y ago · 0 comments
There also was [this plugin](http://www.reddit.com/r/rust/comments/2krdbu/rest_easy_a_lin...), but it's outdated at the moment (I can upgrade it later).
Regarding imports, `use foo::bar::*` works.
So what in a dynamic language could be:
a.to_json() if a else {}.to_json()
In rust will start with: use rustc_serialize::json::{ToJson,Json};
use std::collections::BTreeMap;
...Does the Rust macro system require compile-time compilation before type-checking?