Commit 7f4b02c
authored
fix: import CollectInto from crate::utils to fix default-feature build (#3123)
`schema/mod.rs` imported `CollectInto` from the crate root, but that
re-export is gated behind the `internal-api` feature. `cargo publish`
verifies the packaged crate with default features (`delta_kernel`'s
`default = []`), so the crate failed to compile without `internal-api`
(E0432 unresolved import) -- which blocked the v0.27.0 publish. The
`--all-features` CI build enabled `internal-api`, so it never exercised
this path.
Fix: import `CollectInto` from `crate::utils` (where it's defined),
which resolves regardless of feature flags.
Verified with `cargo check -p delta_kernel --no-default-features`:
compiles with 0 errors (previously E0432).1 parent 0aefffb commit 7f4b02c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments