mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-16 13:42:05 +00:00
Enable 'compression' test dependencies conditionally.
This commit is contained in:
parent
273c7a607d
commit
5334f17ea9
@ -1,7 +1,10 @@
|
||||
#![feature(decl_macro, proc_macro_hygiene)]
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(all(feature = "brotli_compression", feature = "gzip_compression"))]
|
||||
extern crate rocket;
|
||||
|
||||
#[cfg(all(feature = "brotli_compression", feature = "gzip_compression"))]
|
||||
extern crate rocket_contrib;
|
||||
|
||||
#[cfg(all(feature = "brotli_compression", feature = "gzip_compression"))]
|
||||
|
@ -1,7 +1,10 @@
|
||||
#![feature(decl_macro, proc_macro_hygiene)]
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(all(feature = "brotli_compression", feature = "gzip_compression"))]
|
||||
extern crate rocket;
|
||||
|
||||
#[cfg(all(feature = "brotli_compression", feature = "gzip_compression"))]
|
||||
extern crate rocket_contrib;
|
||||
|
||||
#[cfg(all(feature = "brotli_compression", feature = "gzip_compression"))]
|
||||
|
Loading…
Reference in New Issue
Block a user