v0.25.14: rename Drive raw-read API to remove third-party project breadcrumbs

Pure rename pass — no behavioral change:
- Drive::is_libredrive_active() → Drive::is_raw_read_active()
- PlatformDriver::is_libredrive_active() trait method (same rename)
- Mt1959 struct field libredrive_active → raw_read_active
- Error::AacsLibredriveUnsupported → Error::AacsRawReadUnsupported
  (numeric code E7016 unchanged)
- All callers, tests, and doc comments updated to the new name.

Old identifiers removed entirely; downstream consumers must update.
Mirrored in bdemu, freemkv, autorip, freemkv-tools.
This commit is contained in:
MattJackson
2026-05-21 14:43:20 -07:00
parent 1805d92ca4
commit a956c6ad94
9 changed files with 77 additions and 60 deletions
+5 -5
View File
@@ -432,7 +432,7 @@ impl Drive {
}
}
/// True if the drive is currently in libredrive raw-read mode.
/// True if the drive is currently in raw-read mode.
///
/// Detected by the platform driver during `init()` from the unlock
/// response's mode markers. When true:
@@ -444,11 +444,11 @@ impl Drive {
///
/// AACS layer code should branch on this: if true, skip
/// `aacs::handshake::aacs_authenticate` (the cert dance) and read
/// VID via the libredrive alternate path. If false, fall back to
/// the standard cert-based handshake.
pub fn is_libredrive_active(&self) -> bool {
/// VID via the alternate VID read path. If false, fall back to the
/// standard cert-based handshake.
pub fn is_raw_read_active(&self) -> bool {
match self.driver {
Some(ref d) => d.is_libredrive_active(),
Some(ref d) => d.is_raw_read_active(),
None => false,
}
}