Skip to content

Commit 1213232

Browse files
committed
Add a crate for experimenting and seeing expanded code
1 parent 07c1e7f commit 1213232

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Cargo.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "proc-macro-workshop"
3+
version = "0.0.0"
4+
edition = "2018"
5+
publish = false
6+
7+
[[bin]]
8+
name = "workshop"
9+
path = "main.rs"
10+
11+
[dependencies]
12+
bitfield = { path = "bitfield" }
13+
derive_builder = { path = "builder" }
14+
derive_debug = { path = "debug" }
15+
seq = { path = "seq" }
16+
sorted = { path = "sorted" }

main.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Write code here.
2+
//
3+
// To see what the code looks like after macro expansion:
4+
// $ cargo expand
5+
//
6+
// To run the code:
7+
// $ cargo run
8+
9+
fn main() {}

0 commit comments

Comments
 (0)