mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 05:14:18 +08:00
Migrate remaining demo recipes to Cargo data types
This commit is contained in:
parent
9b9e25841c
commit
00350d5f8c
@ -3,7 +3,24 @@
|
||||
git = "https://github.com/lukexor/pix-engine"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"maze",
|
||||
"2d_raycasting",
|
||||
"3d_raycasting",
|
||||
"asteroids",
|
||||
"colors",
|
||||
"fluid_simulation",
|
||||
"gui",
|
||||
"hello_world",
|
||||
"image",
|
||||
"light",
|
||||
"matrix",
|
||||
"shapes",
|
||||
"textures",
|
||||
"tree",
|
||||
"windows",
|
||||
]
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
"sdl2-image",
|
||||
@ -11,9 +28,3 @@ dependencies = [
|
||||
"sdl2-ttf",
|
||||
"sdl-gfx",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples maze 2d_raycasting 3d_raycasting \
|
||||
asteroids colors fluid_simulation gui hello_world image \
|
||||
light matrix shapes textures tree windows
|
||||
"""
|
||||
|
||||
@ -3,9 +3,11 @@
|
||||
git = "https://github.com/parasyte/pixels"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages conway invaders minimal-egui \
|
||||
minimal-winit tiny-skia-winit
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"conway",
|
||||
"invaders",
|
||||
"minimal-egui",
|
||||
"minimal-winit",
|
||||
"tiny-skia-winit",
|
||||
]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/saschagrunert/rain"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples demo
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = ["demo"]
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
git = "https://github.com/dimforge/rapier"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages rapier-examples-2d rapier-examples-3d \
|
||||
rapier-examples-3d-f64
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"rapier-examples-2d",
|
||||
"rapier-examples-3d",
|
||||
"rapier-examples-3d-f64",
|
||||
]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/BVE-Reborn/rend3"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages rend3-examples-package
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = ["rend3-examples-package"]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/schell/renderling"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages example
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = ["example"]
|
||||
|
||||
@ -4,8 +4,9 @@
|
||||
git = "https://github.com/BeechatNetworkSystemsLtd/Reticulum-rs"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples tcp_client kaonic_client
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"tcp_client",
|
||||
"kaonic_client",
|
||||
]
|
||||
dev-dependencies = ["protobuf"]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/MeadowlarkDAW/rootvg"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples demo
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = ["demo"]
|
||||
|
||||
@ -3,10 +3,17 @@
|
||||
git = "https://github.com/ekzhang/rpt"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples basic cylinder fractal_spheres \
|
||||
fractal_teapots glass marbles metal rustacean sphere \
|
||||
spheres teapot
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"basic",
|
||||
"cylinder",
|
||||
"fractal_spheres",
|
||||
"fractal_teapots",
|
||||
"glass",
|
||||
"marbles",
|
||||
"metal",
|
||||
"rustacean",
|
||||
"sphere",
|
||||
"spheres",
|
||||
"teapot",
|
||||
]
|
||||
|
||||
@ -3,21 +3,11 @@
|
||||
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
|
||||
do
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/${COOKBOOK_CARGO_PATH}/Cargo.toml" \
|
||||
--example "${example}" \
|
||||
--release \
|
||||
--features=img
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v \
|
||||
"target/${TARGET}/${build_type}/examples/${example}" \
|
||||
"${COOKBOOK_STAGE}/usr/bin/${recipe}_${example}"
|
||||
done
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoflags = ["--features=img"]
|
||||
cargoexamples = [
|
||||
"anime-mix",
|
||||
"obj-mix",
|
||||
"cube",
|
||||
"cube-colorful",
|
||||
]
|
||||
|
||||
@ -3,11 +3,24 @@
|
||||
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
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"calculator",
|
||||
"synth",
|
||||
]
|
||||
cargoexamples = [
|
||||
"action",
|
||||
"background",
|
||||
"basic",
|
||||
"canvas",
|
||||
"counter",
|
||||
"counter2",
|
||||
"font_size",
|
||||
"gallery",
|
||||
"list",
|
||||
"menu",
|
||||
"shapes",
|
||||
"slider",
|
||||
"text_editor",
|
||||
"toggle",
|
||||
]
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
git = "https://github.com/lemunozm/ruscii"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples pong space_invaders
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"pong",
|
||||
"space_invaders",
|
||||
]
|
||||
|
||||
@ -3,11 +3,16 @@
|
||||
git = "https://github.com/warpy-ai/rustubble"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
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
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"list_example",
|
||||
"menu_list_example",
|
||||
"progress_bar_example",
|
||||
"spinner_example",
|
||||
"stopwatch_example",
|
||||
"table_example",
|
||||
"text_area_example",
|
||||
"text_input_example",
|
||||
"timer_example",
|
||||
"viewport_example",
|
||||
]
|
||||
|
||||
@ -3,9 +3,11 @@
|
||||
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
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = ["tetris"]
|
||||
cargoexamples = [
|
||||
"hello_world",
|
||||
"colors",
|
||||
"inputs",
|
||||
"file_reader",
|
||||
]
|
||||
|
||||
@ -3,11 +3,8 @@
|
||||
git = "https://github.com/nacho/servo-gtk"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cargo"
|
||||
cargoexamples = ["browser"]
|
||||
dependencies = [
|
||||
"gtk4"
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples browser
|
||||
"""
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/simd-lite/simd-json"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples perf
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = ["perf"]
|
||||
|
||||
@ -3,10 +3,17 @@
|
||||
git = "https://github.com/slint-ui/slint"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages gallery energy-monitor carousel \
|
||||
memory imagefilter plotter opengl_underlay opengl_texture \
|
||||
maps virtual_keyboard 7guis
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"gallery",
|
||||
"energy-monitor",
|
||||
"carousel",
|
||||
"memory",
|
||||
"imagefilter",
|
||||
"plotter",
|
||||
"opengl_underlay",
|
||||
"opengl_texture",
|
||||
"maps",
|
||||
"virtual_keyboard",
|
||||
"7guis",
|
||||
]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/gold-silver-copper/soft_ratatui"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages egui_colors_example
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = ["egui_colors_example"]
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
git = "https://github.com/QuantumBadger/Speedy2D"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples animation hello_world moving_text
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"animation",
|
||||
"hello_world",
|
||||
"moving_text",
|
||||
]
|
||||
|
||||
@ -3,9 +3,11 @@
|
||||
git = "https://github.com/FGRibreau/spinners"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples cycle simple stop_persist \
|
||||
stop_symbol timer
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"cycle",
|
||||
"simple",
|
||||
"stop_persist",
|
||||
"stop_symbol",
|
||||
"timer",
|
||||
]
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
git = "https://github.com/ad4mx/spinoff"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples simple stop_and_persist stream
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"simple",
|
||||
"stop_and_persist",
|
||||
"stream",
|
||||
]
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
git = "https://github.com/junkdog/tachyonfx"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples basic-effects open-window tweens
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"basic-effects",
|
||||
"open-window",
|
||||
"tweens",
|
||||
]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/DioxusLabs/taffy"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples basic
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = ["basic"]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/rust-cli/termtree"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples tree
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = ["tree"]
|
||||
|
||||
@ -3,14 +3,29 @@
|
||||
git = "https://github.com/asny/three-d"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"animation",
|
||||
"environment",
|
||||
"fireworks",
|
||||
"fog",
|
||||
"forest",
|
||||
"image",
|
||||
"instanced_shapes",
|
||||
"lighting",
|
||||
"lights",
|
||||
"logo",
|
||||
"mandelbrot",
|
||||
"multiwindow",
|
||||
"pbr",
|
||||
"shapes",
|
||||
"shapes2d",
|
||||
"sprites",
|
||||
"statues",
|
||||
"terrain",
|
||||
"texture",
|
||||
"triangle",
|
||||
]
|
||||
dependencies = [
|
||||
"openssl3",
|
||||
]
|
||||
script = """
|
||||
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
|
||||
"""
|
||||
|
||||
@ -3,11 +3,11 @@
|
||||
git = "https://github.com/mediar-ai/uniOCR"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"basic",
|
||||
"batch_processing",
|
||||
]
|
||||
dependencies = [
|
||||
"openssl3",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples basic batch_processing
|
||||
"""
|
||||
|
||||
@ -3,12 +3,13 @@
|
||||
git = "https://github.com/tversteeg/usfx"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"cpal",
|
||||
"music",
|
||||
"sdl2",
|
||||
]
|
||||
dependencies = [
|
||||
"libalsa",
|
||||
"sdl2",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples cpal music sdl2
|
||||
"""
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
git = "https://github.com/vizia/vizia"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
#dependencies = [
|
||||
# "libwayland",
|
||||
#]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples animation dragdrop number input timers
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"animation",
|
||||
"dragdrop",
|
||||
"number",
|
||||
"input",
|
||||
"timers",
|
||||
]
|
||||
#dependencies = ["libwayland"]
|
||||
|
||||
@ -3,8 +3,10 @@
|
||||
git = "https://github.com/ardaku/wavy"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples monitor play query record
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"monitor",
|
||||
"play",
|
||||
"query",
|
||||
"record",
|
||||
]
|
||||
|
||||
@ -3,8 +3,5 @@
|
||||
git = "https://github.com/linebender/xilem"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_examples components
|
||||
"""
|
||||
template = "cargo"
|
||||
cargoexamples = ["components"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user