Skip to content

Instantly share code, notes, and snippets.

@sbeckeriv
Created January 26, 2017 02:36
Show Gist options
  • Save sbeckeriv/4ac10b4e29da70b2852d2e8623607877 to your computer and use it in GitHub Desktop.
Save sbeckeriv/4ac10b4e29da70b2852d2e8623607877 to your computer and use it in GitHub Desktop.
rust externs
macro_rules! externs {
( $( $x:ident ),* ) => {
$(
extern crate $x;
)*
};
}
externs![rocket, rocket_contrib, serde_json,
chrono, dotenv, postgres, r2d2,
r2d2_postgres, r2d2_diesel, tera,
serde_derive, toml, glob];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment