[![Minimum rustc version](https://img.shields.io/badge/rustc-1.38+-brightgreen)](https://github.com/rust-lang/rust) [![GitHub release](https://img.shields.io/github/v/release/cnruby/learn-rust-by-crates)](https://github.com/cnruby/learn-rust-by-crates/releases) [![The Crate `mod_trait_exerci` Code](https://img.shields.io/badge/crate-code-yellowgreen)](https://github.com/cnruby/learn-rust-by-crates/tree/master/hello-mod-trait) [![Build Status on appveyor.com](https://img.shields.io/appveyor/ci/cnruby/learn-rust-by-crates?label=build%20on%20appveyor.com)](https://github.com/cnruby/learn-rust-by-crates/tree/master/hello-mod-trait) [![GitHub issues](https://img.shields.io/github/issues/cnruby/learn-rust-by-crates)](https://github.com/cnruby/learn-rust-by-crates/issues) [![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fmobile.twitter.com%2Fcnruby)](https://mobile.twitter.com/cnruby) ## Getting Started - Learn the crate [hello_exercism](https://crates.io/crates/hello_exercism) ## The Rust Feature trait and impl # Crate - crate name: mod_trait_exerci - folder name: lib-hello - description: how to understand the rust feature trait with mod ## create the crate `mod_trait_exerci` ```bash mkdir lib-hello && cd lib-hello cargo init --name mod_trait_exerci --lib ``` ## References - [RustConf 2019 - The Rust 2018 Module System by Josh Triplett](https://www.youtube.com/watch?v=AN9FoZgLcFg&feature=youtu.be)