Files
zeekayandHanzo Dev 21ce012334 fix(release): an excluded crate is its own workspace root
The kernel crates and the book are excluded from the workspace, so cargo walked
up out of the repo looking for a root and adopted whatever sat above it --
publishing hanzo-metal-kernels died on "multiple workspace roots found" from two
unrelated manifests in the parent directory. The two crates that already
published, hanzo-bindgen-cuda and hanzo-flash-attn-build, carry their own
[workspace]; now every excluded crate does, so none depends on what is above it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-15 20:43:33 -07:00

20 lines
569 B
TOML

# Excluded from the repo workspace, so it is its own root: without this cargo walks up
# past the repo and adopts whatever workspace sits above it.
[workspace]
[package]
name = "hanzo-kernel-macros"
version = "0.1.1"
edition = "2021"
description = "The #[kernel(targets(...))] attribute for hanzo-kernel: one Rust fn, declared backends, scoped intrinsic islands."
license = "MIT OR Apache-2.0"
repository = "https://github.com/hanzoai/ml"
[lib]
proc-macro = true
[dependencies]
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full", "visit-mut"] }