[refactor](trx-server): access soapysdr through trx-backend facade

Remove direct dependency on trx-backend-soapysdr from server Cargo.toml.
Re-export SoapySdrRig from trx-backend instead so server accesses it
through the proper facade. This keeps sub-backends internal to trx-backend
and maintains proper module organization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 00:12:38 +01:00
parent c3ea605924
commit 6ed3f96155
4 changed files with 3 additions and 3 deletions
Generated
-1
View File
@@ -2525,7 +2525,6 @@ dependencies = [
"trx-app",
"trx-aprs",
"trx-backend",
"trx-backend-soapysdr",
"trx-core",
"trx-cw",
"trx-decode-log",
-1
View File
@@ -27,7 +27,6 @@ cpal = "0.15"
opus = "0.3"
trx-app = { path = "../trx-app" }
trx-backend = { path = "trx-backend", features = ["soapysdr"] }
trx-backend-soapysdr = { path = "trx-backend/trx-backend-soapysdr" }
trx-core = { path = "../trx-core" }
trx-aprs = { path = "../decoders/trx-aprs" }
trx-cw = { path = "../decoders/trx-cw" }
+1 -1
View File
@@ -278,7 +278,7 @@ fn build_sdr_rig_from_instance(
})
.collect();
let sdr_rig = trx_backend_soapysdr::SoapySdrRig::new_with_config(
let sdr_rig = trx_backend::SoapySdrRig::new_with_config(
args,
&channels,
&rig_cfg.sdr.gain.mode,
+2
View File
@@ -13,6 +13,8 @@ mod dummy;
use trx_backend_ft450d::Ft450d;
#[cfg(feature = "ft817")]
use trx_backend_ft817::Ft817;
#[cfg(feature = "soapysdr")]
pub use trx_backend_soapysdr::SoapySdrRig;
/// Connection details for instantiating a rig backend.
#[derive(Debug, Clone)]