this allows us to reuse the code in wiggle-generate elsewhere, because a proc-macro=true lib can only export a #[proc_macro] and not ordinary functions. In lucet, I will depend on wiggle-generate to define a proc macro that glues wiggle to the specifics of the runtime.
17 lines
365 B
TOML
17 lines
365 B
TOML
[package]
|
|
name = "wiggle-generate"
|
|
version = "0.1.0"
|
|
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
wiggle-runtime = { path = "../runtime" }
|
|
witx = { path = "../WASI/tools/witx" }
|
|
quote = "1.0"
|
|
proc-macro2 = "1.0"
|
|
heck = "0.3"
|
|
anyhow = "1"
|
|
syn = { version = "1.0", features = ["full"] }
|