Skip to content

Commit b5db884

Browse files
committed
sync: update from the development repository
Content snapshot from the private development repository. The two histories are independent by design; this commit carries the file contents, not the upstream commits.
1 parent 9cf01d0 commit b5db884

8 files changed

Lines changed: 50 additions & 2 deletions

File tree

‎CHANGELOG.en.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
77

88
---
99

10+
## [Unreleased]
11+
12+
### Changed
13+
14+
- **Measured the MSRV as `1.88` and declared `rust-version` in
15+
`[workspace.package]`**, with every crate inheriting it via
16+
`rust-version.workspace = true`. The READMEs previously said only "built and
17+
tested with 1.96.0, MSRV undetermined" and the crates shipped no
18+
`rust-version` at all, so a consumer could not tell whether their toolchain
19+
would work without trying it.
20+
- The number is measured, not assumed: the workspace builds on 1.88.0 and
21+
cargo refuses 1.85.0.
22+
- **The floor comes from dependencies, not from this code**: cargo reports
23+
that `ort`/`ort-sys` 2.0.0-rc.12 require `rustc 1.88`. It moves when they
24+
do, so re-measure before lowering it.
25+
- Verified the declaration is live by injection: raising it to `1.99`
26+
temporarily makes cargo refuse and name *our* packages
27+
(`yu-hailo-auth@0.3.1 requires rustc 1.99`) rather than a dependency.
28+
Without that check, a failure of key inheritance would have left the MSRV
29+
a promise with nothing enforcing it.
30+
1031
## [0.3.1] - 2026-08-30
1132

1233
### Fixed

‎CHANGELOG.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77

88
---
99

10+
## [Unreleased]
11+
12+
### Changed
13+
14+
- **MSRV を `1.88` と実測し、`[workspace.package]` に `rust-version` を宣言した。**
15+
各クレートは `rust-version.workspace = true` で継承する。従来は「1.96.0 で
16+
確認済み、MSRV 未確定」と記すのみで `rust-version` を持たなかったため、
17+
利用者は自分の toolchain で動くかを試すまで判らなかった。
18+
- 1.88.0 でビルド成功、1.85.0 で失敗することを実測して決めた。
19+
- **下限を決めているのは本リポジトリのコードではなく依存**である。cargo は
20+
`ort`/`ort-sys` 2.0.0-rc.12 が `rustc 1.88` を要求すると報告する。依存を
21+
上下させればこの値も動くため、下げる際は旧 toolchain で実測すること。
22+
- 宣言が有効であることは注入で確かめた。一時的に `1.99` へ上げると、cargo は
23+
依存ではなく**当リポジトリのパッケージ名を挙げて**拒否する
24+
(`yu-hailo-auth@0.3.1 requires rustc 1.99`)。継承が効かなければこの検査は
25+
通ってしまい、MSRV は誰も強制しない約束になっていた。
26+
1027
## [0.3.1] - 2026-08-30
1128

1229
### Fixed

‎Cargo.toml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ resolver = "2"
55
[workspace.package]
66
version = "0.3.1"
77
edition = "2021"
8+
# Measured 2026-09-03, not guessed: the workspace builds on 1.88.0 and cargo
9+
# refuses 1.85.0. The floor comes from dependencies rather than from this
10+
# code -- `ort`/`ort-sys` 2.0.0-rc.12 declare `rust-version = 1.88` -- so it
11+
# moves when they do. Re-measure with `cargo build --workspace` under an older
12+
# toolchain before lowering this; a number nobody verified is worse than none,
13+
# because it reads as a promise.
14+
rust-version = "1.88"
815
license = "MIT"
916
repository = "https://github.com/eauesque/yu-hailo-infer"
1017
authors = ["eauesque"]

‎README.en.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This is the service itself, not a `-sys` binding crate. It targets the Hailo-10H
2727

2828
## Dependencies
2929

30-
- Rust: built and tested with 1.96.0. No MSRV is declared — older toolchains have not been verified, so the crates deliberately omit `rust-version`.
30+
- Rust: **1.88** or newer. `[workspace.package]` declares `rust-version = "1.88"` and every crate inherits it. The number was measured, not assumed (2026-09-03): the workspace builds on 1.88.0 and cargo refuses 1.85.0. The floor comes from dependencies rather than from this code — cargo reports that `ort`/`ort-sys` 2.0.0-rc.12 require `rustc 1.88` — so it moves when they do. Re-measure with `cargo build --workspace` under an older toolchain before lowering it.
3131
- HailoRT SDK (version to be documented) — requires `hailort` shared library and headers
3232
- `ort` (ONNX Runtime bindings) — used for CLIP text encoder and WD-Tagger inference
3333
- `tokenizers` (Apache-2.0) — used for BPE tokenization of CLIP/LLM

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Hailo-10H向けRustネイティブ推論マイクロサービス。HTTP経由で
2727

2828
## 依存
2929

30-
- Rust: 1.96.0 でビルド・テストを確認済み。最低対応バージョン(MSRV)は未確定であり、旧toolchainでの検証を行っていないため `rust-version` は宣言していない
30+
- Rust: **1.88** 以上。`[workspace.package]` に `rust-version = "1.88"` を宣言しており、各クレートが継承する。1.88.0 でのビルド成功と 1.85.0 での失敗を実測して決めた値である(2026-09-03)。下限を決めているのは本リポジトリのコードではなく依存で、cargo は `ort`/`ort-sys` 2.0.0-rc.12 が `rustc 1.88` を要求すると報告する。依存を上下させればこの値も動くため、下げる際は必ず旧 toolchain で `cargo build --workspace` を実測すること
3131
- HailoRT SDK(バージョン要記載) — `hailort`共有ライブラリ・ヘッダが必要
3232
- `ort`(ONNX Runtime バインディング) — CLIPテキストエンコーダ・WD-Tagger推論に使用
3333
- `tokenizers`(Apache-2.0) — CLIP/LLMのBPEトークナイズに使用

‎yu-hailo-auth/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ keywords = ["auth", "bearer", "token", "hailo"]
55
categories = ["authentication"]
66
version.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89
license.workspace = true
910
repository.workspace = true
1011
authors.workspace = true

‎yu-hailo-infer-core/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ keywords = ["onnx", "inference", "clip", "yolo", "hailo"]
55
categories = ["computer-vision", "science"]
66
version.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89
license.workspace = true
910
repository.workspace = true
1011
authors.workspace = true

‎yu-hailo-infer/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ categories = ["computer-vision", "web-programming::http-server"]
66
# No `readme`: the READMEs live at the workspace root, outside this package.
77
version.workspace = true
88
edition.workspace = true
9+
rust-version.workspace = true
910
license.workspace = true
1011
repository.workspace = true
1112
authors.workspace = true

0 commit comments

Comments
 (0)