brainworm2024 commited on
Commit
19544a3
·
1 Parent(s): f48944d

fix: minimal Cargo.toml that builds on HF Space

Browse files
Files changed (1) hide show
  1. Cargo.toml +3 -18
Cargo.toml CHANGED
@@ -16,25 +16,10 @@ tracing = "0.1"
16
  tracing-subscriber = { version = "0.3", features = ["env-filter"] }
17
  anyhow = "1.0"
18
 
19
- # Candle (for local testing with your MI300X credits)
20
- candle-core = "0.8"
21
- candle-nn = "0.8"
22
- candle-transformers = "0.8"
23
- hf-hub = "0.3"
24
-
25
- # PII + regex
26
- pii = "0.1"
27
- regex = "1"
28
-
29
- # Web3 + proof
30
- cid = "0.11"
31
- multihash = "0.19"
32
- alloy = { version = "0.7", features = ["full", "reqwest", "hyper"] }
33
- alloy-provider = "0.7"
34
- alloy-signer-local = "0.7"
35
  hex = "0.4"
36
 
 
 
 
37
  [profile.release]
38
- lto = true
39
- codegen-units = 1
40
  opt-level = 3
 
16
  tracing-subscriber = { version = "0.3", features = ["env-filter"] }
17
  anyhow = "1.0"
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  hex = "0.4"
20
 
21
+ # Minimal dependencies for now (real Candle added locally later)
22
+ # candle-core = "0.8" # commented until we test locally with MI300X
23
+
24
  [profile.release]
 
 
25
  opt-level = 3