Skip to content

Commit

Permalink
Fix rust limitation as per rust-lang/rust#64450
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla committed Mar 31, 2020
1 parent dc0cf86 commit 4222909
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "next-gen"
version = "0.0.9"
version = "0.0.10"
authors = ["Daniel Henry-Mantilla <[email protected]>"]
edition = "2018"
license = "MIT"
Expand All @@ -16,7 +16,7 @@ categories = ["asynchronous", "concurrency", "rust-patterns"]

[dependencies.proc_macro]
package = "next-gen_proc-macro"
version = "0.0.9"
version = "0.0.10"
path = "src/proc_macro"

[features]
Expand All @@ -32,3 +32,4 @@ features = ["external_doc"]

[workspace]
members = ["src/proc_macro"]

2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ mod waker;
pub use self::generator::*;
mod generator;

extern crate proc_macro;

#[doc(hidden)] pub use ::core;
#[doc(hidden)] pub use ::proc_macro::next_gen_hack;
pub use ::proc_macro::generator;
Expand Down
3 changes: 2 additions & 1 deletion src/proc_macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ path = "mod.rs"

[package]
name = "next-gen_proc-macro"
version = "0.0.9"
version = "0.0.10"
authors = ["Daniel Henry-Mantilla <[email protected]>"]
edition = "2018"

Expand All @@ -24,3 +24,4 @@ verbose-expansions = ["syn/extra-traits", ]

[package.metadata.docs.rs]
features = ["external_doc"]

0 comments on commit 4222909

Please sign in to comment.