Skip to content

Commit

Permalink
Add a crate for experimenting and seeing expanded code
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 29, 2019
1 parent 07c1e7f commit 1213232
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "proc-macro-workshop"
version = "0.0.0"
edition = "2018"
publish = false

[[bin]]
name = "workshop"
path = "main.rs"

[dependencies]
bitfield = { path = "bitfield" }
derive_builder = { path = "builder" }
derive_debug = { path = "debug" }
seq = { path = "seq" }
sorted = { path = "sorted" }
9 changes: 9 additions & 0 deletions main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Write code here.
//
// To see what the code looks like after macro expansion:
// $ cargo expand
//
// To run the code:
// $ cargo run

fn main() {}

0 comments on commit 1213232

Please sign in to comment.