add macro crate
This commit is contained in:
parent
02817e8bf3
commit
c00270aa7a
9
Cargo.lock
generated
9
Cargo.lock
generated
@ -627,6 +627,15 @@ dependencies = [
|
||||
"zerocopy",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "satrs-macro"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "scopeguard"
|
||||
version = "1.1.0"
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
members = [
|
||||
"satrs-core",
|
||||
"satrs-macros",
|
||||
"satrs-example",
|
||||
"spacepackets",
|
||||
"satrs-example"
|
||||
]
|
||||
|
16
satrs-macros/Cargo.toml
Normal file
16
satrs-macros/Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "satrs-macro"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
quote = "1.0"
|
||||
proc-macro2 = "1.0"
|
||||
|
||||
[dependencies.syn]
|
||||
version = "1.0"
|
||||
features = ["extra-traits"]
|
0
satrs-macros/src/lib.rs
Normal file
0
satrs-macros/src/lib.rs
Normal file
Loading…
Reference in New Issue
Block a user