From 63871b08d66c012316ab5f35d38c50817d4c49d2 Mon Sep 17 00:00:00 2001 From: Bruce Flynn Date: Thu, 30 Jan 2025 11:22:58 -0600 Subject: [PATCH] lints --- Cargo.toml | 2 +- ccsds-lib/src/framing/decoder.rs | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 702a750..6bb173e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,6 @@ serde = "1.0" serde_json = "1.0" tracing = "0.1" tracing-subscriber = "0.3" -spacecrafts = { path = "../spacecrafts-rs" } +spacecrafts = "0.1.0-beta.5" hifitime = "4.0.0" pyo3 = { version = "^0.22.0" } diff --git a/ccsds-lib/src/framing/decoder.rs b/ccsds-lib/src/framing/decoder.rs index ab2c0bb..84cfd8e 100644 --- a/ccsds-lib/src/framing/decoder.rs +++ b/ccsds-lib/src/framing/decoder.rs @@ -359,19 +359,10 @@ where #[cfg(test)] mod tests { - use std::{fs, path::PathBuf}; - - use crate::framing::{Synchronizer, ASM, MPDU}; + use crate::framing::MPDU; use super::*; - fn fixture_path(name: &str) -> PathBuf { - let mut path = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()); - dbg!(&path); - path.push(name); - path - } - #[test] fn decode_frame() { let dat: Vec = vec![