- Add new shared subcrate satrs-shared to split off some shared components not expected to change very often. - Renmame `satrs-core` to `satrs`. It is expected that sat-rs will remain the primary crate, so the core information is superfluous, and core also implies stability, which will not be the case for some time.
16 lines
268 B
Rust
16 lines
268 B
Rust
#![allow(dead_code)]
|
|
use spacepackets::util::UnsignedByteField;
|
|
|
|
pub struct SourceHandler {
|
|
id: UnsignedByteField,
|
|
}
|
|
|
|
impl SourceHandler {
|
|
pub fn new(id: impl Into<UnsignedByteField>) -> Self {
|
|
Self { id: id.into() }
|
|
}
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {}
|