[package] name = "satrs-core" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] delegate = "0.8" paste = "1.0" embed-doc-image = "0.1" [dependencies.dyn-clone] version = "1.0" optional = true [dependencies.hashbrown] version = "0.13" optional = true [dependencies.heapless] version = "0.7" optional = true [dependencies.num-traits] version = "0.2" default-features = false [dependencies.downcast-rs] version = "1.2" default-features = false optional = true [dependencies.bus] version = "2.2" optional = true [dependencies.crossbeam-channel] version= "0.5" default-features = false optional = true [dependencies.serde] version = "1.0" default-features = false optional = true [dependencies.spacepackets] git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git" # branch = "all_features" version = "0.4.0" default-features = false [dev-dependencies] serde = "1.0" zerocopy = "0.6" once_cell = "1.13" serde_json = "1" [dev-dependencies.postcard] version = "1.0" [features] default = ["std"] std = ["downcast-rs/std", "alloc", "bus", "postcard/use-std", "crossbeam-channel/std", "serde/std", "spacepackets/std"] alloc = ["serde/alloc", "spacepackets/alloc", "hashbrown", "dyn-clone", "downcast-rs"] serde = ["dep:serde", "spacepackets/serde"] crossbeam = ["crossbeam-channel"] heapless = ["dep:heapless"] doc-images = [] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "doc_cfg"]