Skip to content

Commit

Permalink
Do not depend on proc_macro from indoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 23, 2017
1 parent 8355779 commit ac5c069
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ unstable = ["indoc-impl/unstable"]

[dependencies]
indoc-impl = { version = "0.2", path = "impl" }
proc-macro-hack = "0.3"
proc-macro-hack = { version = "0.3", default-features = false }

[workspace]
members = ["impl", "tests", "unindent"]
2 changes: 1 addition & 1 deletion impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ unstable = []
proc-macro = true

[dependencies]
proc-macro-hack = "0.3"
proc-macro-hack = { version = "0.3", default-features = false }
quote = "0.3"
syn = "0.11"
unindent = { version = "0.1", path = "../unindent" }
1 change: 0 additions & 1 deletion impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#![cfg_attr(feature = "unstable", feature(proc_macro))]

#[cfg(feature = "unstable")]
extern crate proc_macro;
#[cfg(feature = "unstable")]
use proc_macro::TokenStream;
Expand Down

0 comments on commit ac5c069

Please sign in to comment.