v0.6.0
What's Changed
Changed (BREAKING)
- edgefirst-hal upgraded from 0.18.0 to 0.19.0. HAL types
(Tensor<u8>,TensorMemory,edgefirst_hal::tensor::Error,
edgefirst_hal::image::Error) appear in the public API surface of
ara2, so this is a transitive ABI break: downstream crates
pinningedgefirst-hal = "0.18"must bump in lockstep. No source
changes were required inara2itself — all decoder use goes
through the high-levelDecoder/materialize_masksfacade, which
absorbs the 0.19 internals (binaryMaskResolution::Protomasks,
ProtoDatalayout-aware shape, newpre_nms_top_k/max_det
decoder knobs).
Removed (BREAKING)
- The
halCargo feature on theara2crate has been removed.
edgefirst-halandimageare now mandatory dependencies — the
ModelAPI exposesTensor<u8>andTensorMemoryin its public
signatures, so an FFI-only build was never a meaningful
configuration. Consumers usingfeatures = ["hal"]will now get a
Cargo error becauseara2no longer defines that feature (for
example:package 'ara2' depends on feature 'hal' but 'ara2' does not have that feature); consumers usingdefault-features = false
will continue to build, but HAL is now unconditionally pulled in.
Migration
| 0.5.x | 0.6.0 |
|---|---|
ara2 = { version = "0.5", features = ["hal"] } |
ara2 = "0.6" |
cargo build -p ara2 --no-default-features |
cargo build -p ara2 |
edgefirst-hal = "0.18" (downstream pin) |
edgefirst-hal = "0.19" |
crates.io: ara2 | ara2-sys
PyPI: edgefirst-ara2