mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-19 09:50:46 +01:00
Previously, they were in an extra, oddly named crate. Now we just make it a part of our generated codebase. That way, traits, and common code, shows up as part of the library. Fair enough. This also means that the types ar not reusable. Maybe a mixed-mode can be used if that is desired.
12 lines
336 B
Rust
12 lines
336 B
Rust
#![feature(core)]
|
|
//! library with code shared by all generated implementations
|
|
extern crate hyper;
|
|
extern crate "rustc-serialize" as rustc_serialize;
|
|
extern crate "yup-oauth2" as oauth2;
|
|
|
|
// just pull it in the check if it compiles
|
|
mod cmn;
|
|
|
|
/// This module is for testing only, its code is used in mako templates
|
|
#[cfg(test)]
|
|
mod dev; |