mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-31 23:02:37 +00:00
084481a84e
This is a breaking change. All Rocket applications using code generation must now additionally declare usage of the 'decl_macro' feature.
12 lines
201 B
Rust
12 lines
201 B
Rust
#![feature(plugin, decl_macro)]
|
|
#![plugin(rocket_codegen)]
|
|
|
|
extern crate rocket;
|
|
|
|
mod common;
|
|
|
|
#[test]
|
|
fn test_production_config() {
|
|
common::test_config(rocket::config::Environment::Production);
|
|
}
|