[refactor](trx-rs): remove trx-ft8 C FFI crate, use trx-ftx directly
Delete trx-ft8 (C wrapper around ft8_lib + ft2_ldpc) and update trx-server to depend on trx-ftx (pure Rust) directly. Removes ~2,900 lines of C code and all unsafe FFI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -37,7 +37,7 @@ trx-core = { path = "../trx-core" }
|
||||
trx-aprs = { path = "../decoders/trx-aprs" }
|
||||
trx-cw = { path = "../decoders/trx-cw" }
|
||||
trx-decode-log = { path = "../decoders/trx-decode-log" }
|
||||
trx-ft8 = { path = "../decoders/trx-ft8" }
|
||||
trx-ftx = { path = "../decoders/trx-ftx" }
|
||||
trx-wspr = { path = "../decoders/trx-wspr" }
|
||||
trx-protocol = { path = "../trx-protocol" }
|
||||
trx-reporting = { path = "../trx-reporting" }
|
||||
@@ -36,7 +36,7 @@ use trx_core::decode::{
|
||||
use trx_core::rig::state::{RigMode, RigState};
|
||||
use trx_core::vchan::SharedVChanManager;
|
||||
use trx_cw::CwDecoder;
|
||||
use trx_ft8::Ft8Decoder;
|
||||
use trx_ftx::Ft8Decoder;
|
||||
use trx_vdes::VdesDecoder;
|
||||
use trx_wspr::WsprDecoder;
|
||||
use uuid::Uuid;
|
||||
@@ -92,7 +92,7 @@ fn decode_ft2_window(
|
||||
decoder: &mut Ft8Decoder,
|
||||
samples: &[f32],
|
||||
max_results: usize,
|
||||
) -> Vec<trx_ft8::Ft8DecodeResult> {
|
||||
) -> Vec<trx_ftx::Ft8DecodeResult> {
|
||||
let window_samples = decoder.window_samples();
|
||||
if samples.len() < window_samples {
|
||||
return Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user