1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# fc-git -- working-tree summary for the git surface.
#
# Three pure functions over status entries: summarize_status, order_entries, and
# diff_counts. Deliberately free of `js-sys` and `serde-wasm-bindgen`, for the same
# reason fc-diff is: js-sys adds roughly 302 KB the moment it is used and LTO
# cannot remove it (see Phase A in docs/PLAN.md). Every crossing here is a flat
# array of numbers in, a flat array of numbers out, so this crate should land well
# under 30 KB.
#
# There is no `fc-core` dependency and no `serde`, because none of the three
# functions needs shared infrastructure -- adding a dependency for symmetry with
# other crates would be the wrong reason.
[]
= "fc-git"
= "Working-tree summary for the future-css git surface"
= true
= true
= true
= true
= true
= true
[]
= ["cdylib", "rlib"]
[]
= { = true, = true }
# Match the existing primitives-only crates: std is unnecessary on the wire.
[]
= { = true, = true }
[]
# `bindgen` exports the JavaScript boundary and is on by default, so the WASM
# build is unchanged. A pure Rust consumer (the Dioxus library) turns defaults
# off and gets the same model with no wasm-bindgen in its dependency tree.
= ["bindgen"]
= ["dep:wasm-bindgen"]
= ["dep:dlmalloc"]