Skip to content

Commit ab32547

Browse files
feat: make airframe the default feature
airframe is now a public crate on crates.io - promote it to default. cargo install shimmy now builds with full Airframe GPU engine. CPU-only: cargo install shimmy --no-default-features --features huggingface
1 parent 05a157a commit ab32547

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ include = [
1919
"LICENSE",
2020
"build.rs"
2121
]
22-
# crates.io publish: default features exclude airframe (path dep); full builds use --features airframe with submodule
2322
publish = true
2423

2524
[features]
26-
default = ["huggingface"] # crates.io-safe default; release binaries built by CI with --features airframe
25+
default = ["airframe", "huggingface"] # Full GPU build; use --no-default-features --features huggingface for CPU-only
2726
# Engine backends
28-
airframe = ["dep:airframe"] # Airframe native GPU engine (default in v2.0; requires ../airframe path)
27+
airframe = ["dep:airframe"] # Airframe native GPU engine
2928
huggingface = [] # Python integration, no additional Rust deps
3029
mlx = [] # Apple MLX integration for Metal GPU acceleration on Apple Silicon
3130
# Convenience feature sets
@@ -68,10 +67,8 @@ uuid = { version = "1", features = ["v4", "serde"] }
6867
dirs = "5.0"
6968
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream"], default-features = false }
7069

71-
# Airframe native GPU inference (optional — public crate on crates.io)
72-
# GPU release binaries are built by private CI with --features airframe
73-
# Local dev and CI: cargo build --features airframe resolves from crates.io
74-
airframe = { version = "0.0.1", optional = true }
70+
# Airframe native GPU inference — public crate on crates.io
71+
airframe = { version = "0.1", optional = true }
7572

7673
[dev-dependencies]
7774
tokio-tungstenite = "0.20"

0 commit comments

Comments
 (0)