-
Notifications
You must be signed in to change notification settings - Fork 0
feat: emit verified macOS-native MLX CPU receipt #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| [package] | ||
| name = "mlx_native_receipt" | ||
| description = "macOS-native MLX execution receipt probe for TEPP." | ||
| version.workspace = true | ||
| edition.workspace = true | ||
| rust-version.workspace = true | ||
| license.workspace = true | ||
| authors.workspace = true | ||
| repository.workspace = true | ||
| homepage.workspace = true | ||
| readme.workspace = true | ||
| keywords.workspace = true | ||
| categories.workspace = true | ||
| publish = false | ||
|
|
||
| [dependencies] | ||
| serde.workspace = true | ||
| serde_json.workspace = true | ||
| sha2.workspace = true | ||
|
|
||
| [target.'cfg(target_os = "macos")'.dependencies] | ||
| # Use the C contract directly because mlx-rs 0.25.3 unconditionally enables | ||
| # mlx-sys's default Metal feature even when its own default features are off. | ||
| mlx-sys = { version = "=0.2.0", default-features = false, features = ["accelerate"] } | ||
|
|
||
| [lints.rust] | ||
| # Unsafe is isolated to the audited opaque-handle C FFI function; callers and | ||
| # every mathematical operation remain safe Rust. | ||
| unsafe_code = "allow" | ||
| unsafe_op_in_unsafe_fn = "deny" | ||
|
|
||
| [lints.clippy] | ||
| all = "deny" | ||
| pedantic = "deny" | ||
|
Comment on lines
+26
to
+34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Info: Crate opts out of all workspace lints, not just unsafe_code Defining its own Was this helpful? React with 👍 or 👎 to provide feedback. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 New crate missing from CHANGELOG
The
mlx_native_receiptcrate is added to the workspace but has noCHANGELOG.mdentry, though theAddedsection lists every other new crate and CONTRIBUTING.md requires the changelog be updated for each change.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.