mirror of
https://github.com/hanzoai/ml.git
synced 2026-11-20 23:08:29 +00:00
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]>
20 lines
569 B
TOML
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"] }
|