Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 06 May 09:39
· 27 commits to main since this release
v0.6.0
f8e81ef

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
    pinning edgefirst-hal = "0.18" must bump in lockstep. No source
    changes were required in ara2 itself — all decoder use goes
    through the high-level Decoder/materialize_masks facade, which
    absorbs the 0.19 internals (binary MaskResolution::Proto masks,
    ProtoData layout-aware shape, new pre_nms_top_k / max_det
    decoder knobs).

Removed (BREAKING)

  • The hal Cargo feature on the ara2 crate has been removed.
    edgefirst-hal and image are now mandatory dependencies — the
    Model API exposes Tensor<u8> and TensorMemory in its public
    signatures, so an FFI-only build was never a meaningful
    configuration. Consumers using features = ["hal"] will now get a
    Cargo error because ara2 no longer defines that feature (for
    example: package 'ara2' depends on feature 'hal' but 'ara2' does not have that feature); consumers using default-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