trying to internalize mib codegen

This commit is contained in:
Robin Müller 2022-11-27 22:13:15 +01:00
parent b0b41a07dc
commit 489686c8ce
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C
8 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,6 @@
members = [ members = [
"satrs-core", "satrs-core",
"satrs-macros",
"satrs-mib", "satrs-mib",
"satrs-example", "satrs-example",
"spacepackets", "spacepackets",

View File

@ -15,6 +15,9 @@ path = "../satrs-core"
[dependencies.satrs-macros] [dependencies.satrs-macros]
path = "../satrs-macros" path = "../satrs-macros"
[dependencies.satrs-mib-codegen]
path = "codegen"
[dependencies.serde] [dependencies.serde]
version = "1.0" version = "1.0"
default-features = false default-features = false

View File

@ -1,5 +1,5 @@
[package] [package]
name = "satrs-macros" name = "satrs-mib-codegen"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
@ -16,13 +16,13 @@ quote = "1.0"
proc-macro2 = "1.0" proc-macro2 = "1.0"
[dependencies.satrs-core] [dependencies.satrs-core]
path = "../satrs-core" path = "../../satrs-core"
[dev-dependencies] [dev-dependencies]
trybuild = { version = "1.0", features = ["diff"] } trybuild = { version = "1.0", features = ["diff"] }
[dev-dependencies.satrs-mib] [dev-dependencies.satrs-mib]
path = "../satrs-mib" path = ".."
[dependencies.syn] [dependencies.syn]
version = "1.0" version = "1.0"

View File

@ -1 +1,2 @@
pub use satrs_mib_codegen::*;
pub mod res_code; pub mod res_code;