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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[]
= "fiftyone-javascript-builder"
= "4.5.2"
= "JavaScript snippet builder element with bundled Mustache asset for the 51Degrees pipeline."
= true
= true
= true
= true
= true
= true
[]
# Minify the rendered JavaScript with the oxc toolchain (parse, minify, print).
# On by default. A minification failure falls back to the unminified template,
# so output is always served even when minification fails. Turn it off with
# `default-features = false` to drop the oxc dependency and serve unminified JS,
# which also keeps a lower minimum supported Rust version for that build.
= ["minify"]
= ["dep:oxc"]
# Re-export the engines data-update service for native and on-premise consumers.
# Off by default so a default build carries no reqwest/notify and reaches
# wasm32-wasip1.
= ["fiftyone-pipeline-engines/data-update"]
[]
= { = "4.5.2", = "../pipeline-core" }
# default-features = false drops the engines data-update service (reqwest/notify),
# which this crate never uses, so it compiles for wasm32-wasip1. Enable the
# `data-update` feature to re-export it.
= { = "4.5.2", = "../pipeline-engines", = false }
# The session id and sequence evidence keys excluded from the request parameters
# live in the 51Degrees-specific engines crate. Depending on it keeps those keys
# in one place rather than re-spelling them here.
= { = "4.5.2", = "../pipeline-engines-fiftyone" }
= { = "4.5.2", = "../json-builder" }
# The bundled JavaScriptResource.mustache template is rendered by this crate's
# own small, pure-safe-Rust Mustache renderer (the `mustache` module). A
# third-party engine was previously used, but its unsafe internals corrupted the
# process heap during rendering, surfacing on Windows as an intermittent access
# violation (exit 0xC0000005) whose backtrace faults inside the heap allocator
# (RtlAllocateHeap/RtlFreeHeap). It reproduced under the rustdoc merged-doctest
# harness and was not reproduced by standalone single- or multi-threaded
# rendering. Removing it entirely eliminated the crash. The in-crate renderer
# supports exactly the constructs the template uses and produces byte-identical
# output.
# serde_json serializes the request parameters object into the template.
= true
# URL-encoding of the request parameter keys and values. percent-encoding is
# already used elsewhere in the workspace so it is reused here for a single
# resolved version.
= "2.3.2"
# oxc is a large, native-oriented toolchain. Restrict it to non-wasm targets so
# this crate, and the web crates that build on it, compile for wasm32-wasip1. The
# minify code is gated on the same condition and falls back to the unminified
# script on wasm.
[]
= { = "0.136", = ["minifier", "codegen"], = true }
[]
# The byte-identity test reads the reference template at test time, so no extra
# crate is needed for that. serde_json is reused for asserting the parameters JSON.
[]
# Build the documentation on docs.rs with every feature enabled, so the
# cloud, on-premise and optional paths are all documented.
= true