mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(gen): regen all apis/clis for v1.0.4
This commit is contained in:
@@ -4,31 +4,25 @@
|
||||
[package]
|
||||
|
||||
name = "google-analytics3"
|
||||
version = "1.0.3+20161004"
|
||||
version = "1.0.4+20161004"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with analytics (protocol v3)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analytics3"
|
||||
homepage = "https://developers.google.com/analytics/"
|
||||
documentation = "https://docs.rs/google-analytics3/1.0.3+20161004"
|
||||
documentation = "https://docs.rs/google-analytics3/1.0.4+20161004"
|
||||
license = "MIT"
|
||||
keywords = ["analytics", "google", "protocol", "web", "api"]
|
||||
build = "src/build.rs"
|
||||
|
||||
|
||||
[dependencies]
|
||||
hyper = "^ 0.10"
|
||||
mime = "^ 0.2.0"
|
||||
serde = "^ 0.8"
|
||||
serde_json = "^ 0.8"
|
||||
yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false }
|
||||
serde_derive = { version = "^ 0.8", optional = true }
|
||||
serde = "^ 0.9"
|
||||
serde_json = "^ 0.9"
|
||||
serde_derive = "^ 0.9"
|
||||
yup-oauth2 = "^ 1.0"
|
||||
url = "= 0.5"
|
||||
|
||||
[features]
|
||||
default = ["with-serde-codegen"]
|
||||
nightly = ["serde_derive","yup-oauth2/nightly"]
|
||||
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen"]
|
||||
|
||||
[build-dependencies]
|
||||
serde_codegen = { version = "^ 0.8", optional = true }
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,25 +0,0 @@
|
||||
#[cfg(feature = "with-serde-codegen")]
|
||||
mod inner {
|
||||
extern crate serde_codegen;
|
||||
|
||||
use std::env;
|
||||
use std::path::Path;
|
||||
|
||||
pub fn main() {
|
||||
let out_dir = env::var_os("OUT_DIR").unwrap();
|
||||
|
||||
let src = Path::new("src/lib.rs.in");
|
||||
let dst = Path::new(&out_dir).join("lib.rs");
|
||||
|
||||
serde_codegen::expand(&src, &dst).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "with-serde-codegen"))]
|
||||
mod inner {
|
||||
pub fn main() {}
|
||||
}
|
||||
|
||||
pub fn main() {
|
||||
inner::main()
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user