Skip to content

v0.1.4

Latest

Choose a tag to compare

@narusenia narusenia released this 29 Jun 07:33
· 21 commits to main since this release
v0.1.4
4e4ce1c

Ordo v0.1.4

Install

Script (Linux / macOS):

curl -fsSL https://raw.githubusercontent.com/narusenia/ordo/main/install.sh | sh

Cargo:

cargo install --git https://github.com/narusenia/ordo.git --tag v0.1.4

Manual download:

Platform Binary
Linux x86_64 ordo-linux-x86_64
Linux aarch64 ordo-linux-aarch64
macOS x86_64 ordo-macos-x86_64
macOS aarch64 ordo-macos-aarch64
Windows x86_64 ordo-windows-x86_64.exe

What's Changed

Features

  • Feature flags in ordo runordo run now accepts --features, --all-features, and --no-default-features, matching ordo build. Previously these flags were only available on ordo build. (#39)
  • Feature propagation across dependencies — Feature defines from path dependencies and workspace members now propagate to consumer compilations. When mathlib is built with --all-features, its MATHLIB_LOGGING and MATHLIB_SIMD defines are passed to any project that includes mathlib's headers. (#40)
  • dep_name/feature forwarding syntax — Features can forward to dependency features using Cargo-style syntax:
    [features]
    full = ["mathlib/simd", "mathlib/logging"]
    Enabling full on the parent also enables simd and logging on the mathlib dependency. (#40)
  • Path dependency features = [...] — Extra features can be specified directly on path dependencies:
    mathlib = { path = "../../libs/mathlib", features = ["simd"] }
    These features are activated when the dependency is built. (#40)

Fixes

  • Cached path dep feature defines — When a workspace member was already built and cached, its feature defines were not attached to the FetchedDep. Consumer compilations now correctly resolve and propagate the dep's feature defines even on cache hits. (#40)

Full Changelog: v0.1.3...v0.1.4

Pull Requests

  • feat: add --features/--all-features/--no-default-features to ordo run by @narusenia in #39
  • feat: feature propagation for workspace and path dependencies by @narusenia in #40