mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(nightly): Travis CI support
Travis should now be able to use nightly as well.
This commit is contained in:
@@ -31,15 +31,16 @@ hyper = "^ 0.9"
|
||||
mime = "^ 0.2.0"
|
||||
serde = "^ 0.7.5"
|
||||
serde_json = "^ 0.7.0"
|
||||
yup-oauth2 = { version = "^ 0.6.0", optional = true, default-features = false }
|
||||
serde_macros = { version = "0.7.5", optional = true }
|
||||
% for dep in cargo.get('dependencies', list()):
|
||||
${dep}
|
||||
% endfor
|
||||
|
||||
[features]
|
||||
default = ["with_syntex"]
|
||||
nightly = ["serde_macros"]
|
||||
with_syntex = ["serde_codegen", "syntex"]
|
||||
default = ["with-syntex"]
|
||||
nightly = ["serde_macros", "yup-oauth2/nightly"]
|
||||
with-syntex = ["serde_codegen", "syntex", "yup-oauth2/with-syntex"]
|
||||
|
||||
[build-dependencies]
|
||||
syntex = { version = "= 0.32", optional = true }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%namespace name="util" file="../lib/util.mako"/>\
|
||||
#[cfg(feature = "with_syntex")]
|
||||
#[cfg(feature = "with-syntex")]
|
||||
mod inner {
|
||||
extern crate syntex;
|
||||
extern crate serde_codegen;
|
||||
@@ -19,7 +19,7 @@ mod inner {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "with_syntex"))]
|
||||
#[cfg(not(feature = "with-syntex"))]
|
||||
mod inner {
|
||||
pub fn main() {}
|
||||
}
|
||||
|
||||
@@ -24,5 +24,5 @@ ${lib.docs(c)}
|
||||
#[cfg(feature = "nightly")]
|
||||
include!("lib.rs.in");
|
||||
|
||||
#[cfg(feature = "with_syntex")]
|
||||
#[cfg(feature = "with-syntex")]
|
||||
include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|
||||
Reference in New Issue
Block a user