Rename proc macro helper crate
This commit is contained in:
parent
21905b3506
commit
249e428107
5 changed files with 19 additions and 19 deletions
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -126,6 +126,16 @@ dependencies = [
|
||||||
"vec_map 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"vec_map 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "codegen"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"sha2 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"syn 0.10.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "conv"
|
name = "conv"
|
||||||
version = "0.3.3"
|
version = "0.3.3"
|
||||||
|
@ -572,6 +582,7 @@ dependencies = [
|
||||||
"bart_derive 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bart_derive 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"clap 2.26.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.26.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"codegen 0.1.0",
|
||||||
"diesel 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"diesel 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"diesel_codegen 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"diesel_codegen 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"diff 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
"diff 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -593,7 +604,6 @@ dependencies = [
|
||||||
"serde_json 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_urlencoded 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_urlencoded 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"slug 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"slug 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"static_resource_derive 0.1.0",
|
|
||||||
"titlecase 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"titlecase 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tokio-io 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio-io 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tokio-proto 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio-proto 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -695,16 +705,6 @@ name = "smallvec"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "static_resource_derive"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"sha2 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"syn 0.10.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "strsim"
|
name = "strsim"
|
||||||
version = "0.6.0"
|
version = "0.6.0"
|
||||||
|
|
|
@ -55,8 +55,8 @@ version = "0.1"
|
||||||
version = "0.0.11"
|
version = "0.0.11"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.static_resource_derive]
|
[dependencies.codegen]
|
||||||
path = "libs/static_resource_derive"
|
path = "libs/codegen"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
quote = "0.3.10"
|
quote = "0.3.10"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "static_resource_derive"
|
name = "codegen"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Magnus Hoff <maghoff@gmail.com>"]
|
authors = ["Magnus Hoff <maghoff@gmail.com>"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
10
src/main.rs
10
src/main.rs
|
@ -1,26 +1,26 @@
|
||||||
#![recursion_limit="128"] // for diesel's infer_schema!
|
#![recursion_limit="128"] // for diesel's infer_schema!
|
||||||
|
|
||||||
#[macro_use] extern crate bart_derive;
|
#[macro_use] extern crate bart_derive;
|
||||||
#[macro_use] extern crate diesel;
|
#[macro_use] extern crate codegen;
|
||||||
#[macro_use] extern crate diesel_codegen;
|
#[macro_use] extern crate diesel_codegen;
|
||||||
|
#[macro_use] extern crate diesel;
|
||||||
#[macro_use] extern crate hyper;
|
#[macro_use] extern crate hyper;
|
||||||
#[macro_use] extern crate lazy_static;
|
#[macro_use] extern crate lazy_static;
|
||||||
#[macro_use] extern crate maplit;
|
#[macro_use] extern crate maplit;
|
||||||
#[macro_use] extern crate serde_derive;
|
#[macro_use] extern crate serde_derive;
|
||||||
#[macro_use] extern crate static_resource_derive;
|
|
||||||
|
|
||||||
extern crate chrono;
|
extern crate chrono;
|
||||||
extern crate clap;
|
extern crate clap;
|
||||||
extern crate diff;
|
extern crate diff;
|
||||||
extern crate futures;
|
|
||||||
extern crate futures_cpupool;
|
extern crate futures_cpupool;
|
||||||
|
extern crate futures;
|
||||||
extern crate percent_encoding;
|
extern crate percent_encoding;
|
||||||
extern crate pulldown_cmark;
|
extern crate pulldown_cmark;
|
||||||
extern crate r2d2;
|
|
||||||
extern crate r2d2_diesel;
|
extern crate r2d2_diesel;
|
||||||
extern crate serde;
|
extern crate r2d2;
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate serde_urlencoded;
|
extern crate serde_urlencoded;
|
||||||
|
extern crate serde;
|
||||||
extern crate slug;
|
extern crate slug;
|
||||||
extern crate titlecase;
|
extern crate titlecase;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue