improve rust and puppet support
Merge pull request #651 from globin/rust_puppet

improve rust and puppet support