Improve and try to fix remaining demo recipes

This commit is contained in:
Ribbon 2026-02-13 21:33:49 -03:00
parent 616c16edaa
commit d287a71b1e
28 changed files with 93 additions and 27 deletions

View File

@ -1,9 +1,11 @@
#TODO compiled but not tested
[source]
git = "https://github.com/nidhoggfgg/rsille"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples anime-mix obj-mix cube cube-colorful
recipe="$(basename "${COOKBOOK_RECIPE}")"
for example in imgille

View File

@ -1,9 +1,13 @@
#TODO compiled but not tested
[source]
git = "https://github.com/audulus/rui"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_packages calculator synth
cookbook_cargo_examples action background basic canvas counter counter2 font_size gallery list menu shapes slider text_editor toggle
cookbook_cargo_examples action background basic canvas \
counter counter2 font_size gallery list menu shapes slider \
text_editor toggle
"""

View File

@ -1,8 +1,10 @@
#TODO device_query crate error
[source]
git = "https://github.com/lemunozm/ruscii"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples pong space_invaders
"""

View File

@ -1,8 +1,13 @@
#TODO compiled but not tested
[source]
git = "https://github.com/warpy-ai/rustubble"
shallow_clone = true
[build]
template = "custom"
script = """
cookbook_cargo_examples list_example menu_list_example progress_bar_example spinner_example stopwatch_example table_example text_area_example text_input_example timer_example viewport_example
DYNAMIC_INIT
cookbook_cargo_examples list_example menu_list_example \
progress_bar_example spinner_example stopwatch_example \
table_example text_area_example text_input_example \
timer_example viewport_example
"""

View File

@ -1,9 +1,11 @@
#TODO not compiled or tested
[source]
git = "https://github.com/broccolingual/rustui"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples hello_world colors inputs file_reader
cookbook_cargo_packages tetris
"""

View File

@ -1,5 +1,6 @@
#TODO working but don't exit and hang the orbterm window
#TODO compiled but not tested for a long time
[source]
git = "https://github.com/cowboy8625/rusty-rain"
shallow_clone = true
[build]
template = "cargo"

View File

@ -1,11 +1,13 @@
#TODO not compiled or tested
[source]
git = "https://github.com/nacho/servo-gtk"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"gtk4"
]
script = """
DYNAMIC_INIT
cookbook_cargo_examples browser
"""

View File

@ -1,8 +1,10 @@
#TODO compiled but not tested
[source]
git = "https://github.com/simd-lite/simd-json"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples perf
"""

View File

@ -1,12 +1,11 @@
#TODO make libwayland work
#TODO not compiled or tested
[source]
git = "https://github.com/slint-ui/slint"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"libwayland",
]
script = """
DYNAMIC_INIT
cookbook_cargo_packages gallery energy-monitor carousel \
memory imagefilter plotter opengl_underlay opengl_texture \
maps virtual_keyboard 7guis

View File

@ -1,6 +1,10 @@
#TODO glutin crate error
[source]
git = "https://github.com/gold-silver-copper/soft_ratatui"
shallow_clone = true
[build]
template = "cargo"
package_path = "egui_colors_example"
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_packages egui_colors_example
"""

View File

@ -1,8 +1,10 @@
#TODO glutin crate error
[source]
git = "https://github.com/QuantumBadger/Speedy2D"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples animation hello_world moving_text
"""

View File

@ -1,8 +1,11 @@
#TODO compiled but not tested
[source]
git = "https://github.com/FGRibreau/spinners"
shallow_clone = true
[build]
template = "custom"
script = """
cookbook_cargo_examples cycle simple stop_persist stop_symbol timer
DYNAMIC_INIT
cookbook_cargo_examples cycle simple stop_persist \
stop_symbol timer
"""

View File

@ -1,8 +1,10 @@
#TODO compiled but not tested
[source]
git = "https://github.com/ad4mx/spinoff"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples simple stop_and_persist stream
"""

View File

@ -1,8 +1,10 @@
#TODO compiled but not tested
[source]
git = "https://github.com/junkdog/tachyonfx"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples basic-effects open-window tweens
"""

View File

@ -1,8 +1,10 @@
#TODO compiled but not tested
[source]
git = "https://github.com/DioxusLabs/taffy"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples basic
"""

View File

@ -1,5 +1,6 @@
#TODO compiled but not tested
[source]
git = "https://github.com/ckaznable/tenki"
shallow_clone = true
[build]
template = "cargo"

View File

@ -1,8 +1,10 @@
#TODO compiled but not tested
[source]
git = "https://github.com/rust-cli/termtree"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples tree
"""

View File

@ -1,8 +1,15 @@
#TODO probably wrong script, see https://github.com/p-e-w/ternimal#building
#TODO not compiled or tested
#TODO add condition script for multiarch compilation
# build instructions: https://github.com/p-e-w/ternimal#building
[source]
git = "https://github.com/p-e-w/ternimal"
shallow_clone = true
[build]
template = "custom"
script = """
rustc -O "${COOKBOOK_SOURCE}"/ternimal.rs
DYNAMIC_INIT
cp -v "${COOKBOOK_SOURCE}"/ternimal.rs "${COOKBOOK_BUILD}"
rustc -O "${COOKBOOK_BUILD}"/ternimal.rs --target x86_64-unknown-redox
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v "${COOKBOOK_BUILD}"/ternimal "${COOKBOOK_STAGE}/usr/bin"
"""

View File

@ -1,9 +1,10 @@
#TODO not compiled or tested
[source]
git = "https://github.com/fintelia/terra"
shallow_clone = true
[build]
template = "cargo"
dependencies = [
"openssl1",
"openssl3",
"mesa",
]

View File

@ -1,11 +1,16 @@
#TODO glutin crate error
[source]
git = "https://github.com/asny/three-d"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"openssl1",
"openssl3",
]
script = """
cookbook_cargo_examples animation environment fireworks fog forest image instanced_shapes lighting lights logo mandelbrot multiwindow pbr shapes shapes2d sprites statues terrain texture triangle
DYNAMIC_INIT
cookbook_cargo_examples animation environment fireworks \
fog forest image instanced_shapes lighting lights logo \
mandelbrot multiwindow pbr shapes shapes2d sprites statues \
terrain texture triangle
"""

View File

@ -1,9 +1,11 @@
#TODO tikv-jemalloc-sys crate error
[source]
git = "https://github.com/Tencent/tquic"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_packages tquic_tools
mv "${COOKBOOK_STAGE}/usr/bin/tquic_server" "${COOKBOOK_STAGE}/usr/bin/tquic-server"
mv "${COOKBOOK_STAGE}/usr/bin/tquic_client" "${COOKBOOK_STAGE}/usr/bin/tquic-client"

View File

@ -1,11 +1,13 @@
#TODO xcap crate error
[source]
git = "https://github.com/mediar-ai/uniOCR"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"openssl1",
"openssl3",
]
script = """
DYNAMIC_INIT
cookbook_cargo_examples basic batch_processing
"""

View File

@ -1,6 +1,7 @@
#TODO not compiled or tested
[source]
git = "https://github.com/tversteeg/usfx"
shallow_clone = true
[build]
template = "custom"
dependencies = [
@ -8,5 +9,6 @@ dependencies = [
"sdl2",
]
script = """
DYNAMIC_INIT
cookbook_cargo_examples cpal music sdl2
"""

View File

@ -1,11 +1,13 @@
#TODO make libwayland work
#TODO not compiled or tested
[source]
git = "https://github.com/vizia/vizia"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"libwayland",
]
#dependencies = [
# "libwayland",
#]
script = """
DYNAMIC_INIT
cookbook_cargo_examples animation dragdrop number input timers
"""

View File

@ -1,8 +1,10 @@
#TODO compiled but not tested
[source]
git = "https://github.com/ardaku/wavy"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples monitor play query record
"""

View File

@ -1,5 +1,6 @@
#TODO compiled but not tested
[source]
git = "https://github.com/bmatthieu3/wgpu-sky-rendering"
shallow_clone = true
[build]
template = "cargo"

View File

@ -1,10 +1,13 @@
#TODO missing script for QMake, see https://github.com/xaos-project/XaoS/wiki/Developer's-Guide#build-instructions-for-version-43
#TODO not compiled or tested
#TODO determine minimum dependencies from cmake log
# build instructions: https://github.com/xaos-project/XaoS/wiki/Developer's-Guide#build-instructions-for-version-433
[source]
git = "https://github.com/xaos-project/XaoS"
rev = "7f36177f32a23eea88911afb90878046912d7e2d"
rev = "release-4.3.4"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"qt6-base",
"mesa",
]
template = "cmake"
#dependencies = [
# "qt6-base",
# "mesa",
#]

View File

@ -1,8 +1,10 @@
#TODO xilem_core crate error
[source]
git = "https://github.com/linebender/xilem"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_examples components
"""