This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pub use impl::* to avoid two dependencies
- Loading branch information
Showing
11 changed files
with
36 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
[package] | ||
name = "proc-macro-hack" | ||
version = "0.2.4" | ||
version = "0.3.0" | ||
authors = ["David Tolnay <dtolnay@gmail.com>"] | ||
license = "MIT/Apache-2.0" | ||
description = "Procedural functionlike!() macros using only Macros 1.1" | ||
repository = "https://github.com/dtolnay/proc-macro-hack" | ||
|
||
[dependencies] | ||
proc-macro-hack-impl = { version = "0.3", path = "impl" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "demo-hack" | ||
version = "0.0.1" | ||
version = "0.0.2" | ||
authors = ["David Tolnay <dtolnay@gmail.com>"] | ||
license = "MIT/Apache-2.0" | ||
description = "Demo of proc-macro-hack" | ||
repository = "https://github.com/dtolnay/proc-macro-hack" | ||
|
||
[dependencies] | ||
proc-macro-hack = { version = "0.2", path = ".." } | ||
proc-macro-hack-impl = { version = "0.2", path = "../impl" } | ||
proc-macro-hack = { version = "0.3", path = ".." } | ||
demo-hack-impl = { version = "0.0.2", path = "../demo-hack-impl" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#[macro_use] extern crate demo_hack; | ||
#[macro_use] extern crate demo_hack_impl; | ||
|
||
two_fn!(two); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters