Files
zeekayandHanzo Dev 02b3f00cef chore: complete brand scrub of upstream mistral.rs lineage to hanzo/hanzoai
Replace all remaining references to the upstream project/author/framework
brands with hanzo / hanzoai across source, comments, docs, examples, and
build scripts.

- Project spellings mistral.rs / mistral-rs / mistralrs -> hanzo (and the
  hanzo-* crate/binary names in Dockerfiles, Makefile, install.ps1, .gitignore).
- Author EricLBuehler / EricBuehler / EricB / Eric Buehler -> hanzoai / Hanzo AI
  (incl. Cargo `authors` and LICENSE copyright).
- URLs: github.com/EricLBuehler/mistral.rs -> github.com/hanzoai/engine;
  ericlbuehler.github.io/mistral.rs -> hanzoai.github.io/engine;
  github.com/huggingface/candle -> github.com/hanzoai/ml;
  docs.rs/candle-* -> docs.rs/hanzo-ml; ghcr.io image -> ghcr.io/hanzoai/engine.
- Env var prefix MISTRALRS_ -> HANZO_ (producers and consumers kept in sync,
  incl. the build-script-injected HANZO_GIT_REVISION).
- ROCm static lib libmistralrsrocm.a / mistralrsrocm -> libhanzorocm.a / hanzorocm.
- localStorage keys mistralrs_settings -> hanzo_settings.

Deliberately preserved: real model architectures (struct Mistral, models/mistral.rs
file, Mixtral/Llama/Gemma/Qwen/Phi), real model-org HF repo-ids (mistralai/,
meta-llama/, google/, Qwen/, microsoft/), the `use hanzo_ml as candle` code
aliases and `candle::` identifiers, and the upstream-author HF data repo-id
suffix in "hanzoai/mistralrs_tests".

Both `cargo check` and `cargo check --features vulkan` pass with 0 errors.

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-01 11:53:12 -07:00

61 lines
1.6 KiB
TOML

[package]
name = "hanzo-pyo3"
publish = false
authors = ["Hanzo AI"]
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
license.workspace = true
homepage.workspace = true
[lib]
name = "hanzo"
crate-type = ["cdylib"]
doc = false
[dependencies]
pyo3.workspace = true
hanzo-engine = { workspace = true, features = ["pyo3_macros"] }
hanzo-llm-mcp = { workspace = true, features = ["pyo3_macros"] }
serde.workspace = true
serde_json.workspace = true
hanzo-ml.workspace = true
indexmap.workspace = true
accelerate-src = { workspace = true, optional = true }
intel-mkl-src = { workspace = true, optional = true }
either.workspace = true
futures.workspace = true
tokio.workspace = true
image.workspace = true
reqwest.workspace = true
base64.workspace = true
url.workspace = true
data-url.workspace = true
anyhow.workspace = true
itertools.workspace = true
[build-dependencies]
pyo3-build-config.workspace = true
[features]
default = []
cuda = ["hanzo-ml/cuda", "hanzo-engine/cuda"]
vulkan = ["hanzo-ml/vulkan", "hanzo-engine/vulkan"]
rocm = ["hanzo-ml/rocm", "hanzo-engine/rocm"]
cudnn = ["hanzo-ml/cudnn", "hanzo-engine/cudnn"]
metal = ["hanzo-ml/metal", "hanzo-engine/metal"]
flash-attn = ["cuda", "hanzo-engine/flash-attn"]
accelerate = ["hanzo-engine/accelerate"]
mkl = ["hanzo-engine/mkl"]
nccl = ["hanzo-engine/nccl"]
ring = ["hanzo-engine/ring"]
code-execution = ["hanzo-engine/code-execution"]
[package.metadata.maturin]
include = ["hanzo.pyi", "py.typed"]
sdist-include = ["hanzo.pyi", "py.typed"]