Ordo v0.1.4
Install
Script (Linux / macOS):
curl -fsSL https://raw.githubusercontent.com/narusenia/ordo/main/install.sh | shCargo:
cargo install --git https://github.com/narusenia/ordo.git --tag v0.1.4Manual 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 run—ordo runnow accepts--features,--all-features, and--no-default-features, matchingordo build. Previously these flags were only available onordo 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, itsMATHLIB_LOGGINGandMATHLIB_SIMDdefines are passed to any project that includes mathlib's headers. (#40) dep_name/featureforwarding syntax — Features can forward to dependency features using Cargo-style syntax:Enabling[features] full = ["mathlib/simd", "mathlib/logging"]
fullon the parent also enablessimdandloggingon themathlibdependency. (#40)- Path dependency
features = [...]— Extra features can be specified directly on path dependencies:These features are activated when the dependency is built. (#40)mathlib = { path = "../../libs/mathlib", features = ["simd"] }
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