Commit 1bc6cd0
feat(deps): gate blake3/p64/fractal behind hpc-extras feature (#116, sprint A1)
Make blake3, p64, and fractal optional dependencies pulled in only when
the hpc-extras feature is enabled. hpc-extras is enabled by default so
existing consumers see no change. Downstream crates (notably burn-ndarray)
that only need the core array layer can opt out via:
[dependencies]
ndarray = { version = "0.17", default-features = false, features = ["std"] }
This keeps cargo build (default) and cargo build --no-default-features
both clean while removing ~200 transitive deps from minimal builds.
Sprint A1 of burn-ndarray parity sprint.
https://claude.ai/code/session_01NYGrxVopyszZYgLBxe4hgj
Co-authored-by: Claude <noreply@anthropic.com>1 parent 658ab59 commit 1bc6cd0
2 files changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | | - | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
84 | | - | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
87 | 97 | | |
88 | 98 | | |
89 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
261 | 265 | | |
262 | 266 | | |
263 | 267 | | |
| |||
0 commit comments