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
68
69
70
71
72
73
74
[]
= "compose-rust"
# 0.0.0 on purpose: the boundary works and so do the desktop and iOS renderers, but the
# widget vocabulary is still being filled in and nothing here is stable yet. A number that
# says so is more honest than one that implies a first usable release.
= "0.0.0"
= true
= true
= true
= "Declarative UI in Rust, rendered by an AOT-compiled Compose Multiplatform engine."
= "https://github.com/DarkPyonix/compose-rust"
= ["ui", "gui", "dioxus", "compose", "desktop"]
= ["gui"]
= "../README.md"
[]
= "compose_rust"
= ["rlib", "cdylib", "staticlib"]
# The lib has no #[bench] items, but `cargo bench` would still run its default test
# harness, which rejects Criterion's flags (--quick, --noplot). Benchmarks live in
# benches/host.rs with harness = false.
= false
[[]]
= "codegen"
= "src/bin/codegen.rs"
= false
[]
# The renderer is what draws, so it is on by default. Adding this crate to a Cargo.toml is
# meant to be the whole setup: the build script finds a renderer for the target or
# downloads the release artifact for this exact version, checksum first. Turn it off with
# `default-features = false` for a headless or documentation build, and know that the
# resulting binary says so on standard error and exits non-zero rather than opening no
# window and returning 0.
= ["native-renderer"]
# Drives the boundary with no renderer at all, for tests and for embedding the Host in
# something that draws for itself. Suppresses the renderer download.
= []
= []
[]
= true
= true
= true
= true
# The Android shims are generated against jni-rs. Nothing here is linked into a desktop,
# iOS or web build, and the alternative bindings generators were rejected for their
# per-call cost.
[]
= "0.21"
# Criterion is not built for the browser. Its default features pull in rayon, which
# refuses to compile for a wasm target, and building the Host as a wasm module compiles
# dev-dependencies because an example is a dev target. The benchmarks only ever run on the
# machine that records their numbers.
[]
= "0.7"
[[]]
= "host"
= false
[[]]
= "desktop_demo"
= ["native-renderer"]
# The browser's Host is a wasm module the page fetches. It has no `main` either: the
# Renderer's module owns the loop, and `web_main!` registers this example's root component
# from the entry point the page calls once both modules exist.
[[]]
= "web_demo"
= ["cdylib"]