add zero copy dep

This commit is contained in:
Robin Müller 2022-06-14 11:28:50 +02:00
parent 4708481052
commit 5f100104a2
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 35 additions and 0 deletions

34
Cargo.lock generated
View File

@ -358,6 +358,7 @@ dependencies = [
"postcard", "postcard",
"serde", "serde",
"thiserror", "thiserror",
"zerocopy",
] ]
[[package]] [[package]]
@ -707,6 +708,18 @@ dependencies = [
"unicode-xid", "unicode-xid",
] ]
[[package]]
name = "synstructure"
version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
dependencies = [
"proc-macro2",
"quote",
"syn",
"unicode-xid",
]
[[package]] [[package]]
name = "tap" name = "tap"
version = "1.0.1" version = "1.0.1"
@ -799,3 +812,24 @@ checksum = "129e027ad65ce1453680623c3fb5163cbf7107bfe1aa32257e7d0e63f9ced188"
dependencies = [ dependencies = [
"tap", "tap",
] ]
[[package]]
name = "zerocopy"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "332f188cc1bcf1fe1064b8c58d150f497e697f49774aa846f2dc949d9a25f236"
dependencies = [
"byteorder",
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0fbc82b82efe24da867ee52e015e58178684bd9dd64c34e66bdf21da2582a9f"
dependencies = [
"proc-macro2",
"syn",
"synstructure",
]

View File

@ -14,3 +14,4 @@ postcard = { version = "0.7.3", features = ["use-std"] }
serde = "1.0.137" serde = "1.0.137"
deku = "0.13" deku = "0.13"
ccsds_spacepacket = "0.2.0" ccsds_spacepacket = "0.2.0"
zerocopy = "0.6.1"