Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

7.5 KB
Raw Blame
# raea: bevy_seedling 0.8.0 from crates.io, without its cpal 0.18 paths and ported to Bevy 0.20 (CorvusPrudens/bevy_seedling#134).
# Changes from upstream are marked "raea:". Re-vendor from the first release for Bevy 0.20 and drop the port.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95.0"
name = "bevy_seedling"
version = "0.8.0"
authors = ["Corvus Prudens <[email protected]>"]
build = false
exclude = ["/assets"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A sprouting integration of the Firewheel audio engine"
documentation = "https://docs.rs/bevy_seedling"
readme = "README.md"
keywords = [
    "gamedev",
    "audio",
    "bevy",
    "firewheel",
]
categories = [
    "game-development",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/corvusprudens/bevy_seedling"

[package.metadata.docs.rs]
all-features = true

[features]
# raea: the backends (cpal, rtaudio, web_audio) and hrtf removed with their dependencies: raea runs seedling's processor
# on its own core, and cpal 0.18 (which links alsa-sys, as the cpal 0.15 react and void use does) must stay out of the
# lockfile
adpcm = [
    "symphonia",
    "symphonium/adpcm",
]
default = [
    "wav",
    "ogg",
    "rand",
    "reflect",
    "diagnostics",
]
dev = [
    "entity_names",
    "track_location",
]
diagnostics = [
    "dep:bevy_diagnostic",
    "firewheel/node_profiling",
]
effects = ["firewheel/all_nodes"]
entity_names = []
flac = [
    "symphonia",
    "symphonium/flac",
]
loudness = [
    "dep:ebur128",
    "dep:portable-atomic",
]
mkv = [
    "symphonia",
    "symphonium/mkv",
]
mp3 = [
    "symphonia",
    "symphonium/mp3",
]
ogg = [
    "symphonia",
    "symphonium/ogg",
    "symphonium/vorbis",
]
profiling = ["dep:audioadapter-buffers"]
rand = ["dep:rand"]
reflect = [
    "firewheel/bevy_reflect",
]
symphonia = [
    "dep:symphonia",
    "dep:symphonium",
    "firewheel/symphonium",
]
track_location = []
wav = [
    "symphonia",
    "symphonium/wav",
    "symphonium/pcm",
]

[lib]
name = "bevy_seedling"
path = "src/lib.rs"

[[example]]
name = "buses_and_pools"
path = "examples/buses_and_pools.rs"

[[example]]
name = "bypassing"
path = "examples/bypassing.rs"

[[example]]
name = "crossfade"
path = "examples/crossfade.rs"

[[example]]
name = "custom_node"
path = "examples/custom_node.rs"

[[example]]
name = "input_processing"
path = "examples/input_processing.rs"

[[example]]
name = "loop_region"
path = "examples/loop_region.rs"

[[example]]
name = "loudness"
path = "examples/loudness.rs"

[[example]]
name = "one_shot"
path = "examples/one_shot.rs"

[[example]]
name = "pausing_samples"
path = "examples/pausing_samples.rs"

[[example]]
name = "pool_cleanup"
path = "examples/pool_cleanup.rs"

[[example]]
name = "precise_scheduling"
path = "examples/precise_scheduling.rs"

[[example]]
name = "priority"
path = "examples/priority.rs"

[[example]]
name = "randomized_speed"
path = "examples/randomized_speed.rs"

[[example]]
name = "reverb_tails"
path = "examples/reverb_tails.rs"

[[example]]
name = "sample_lifecycle"
path = "examples/sample_lifecycle.rs"

[[example]]
name = "sample_speed"
path = "examples/sample_speed.rs"

[[example]]
name = "select_output"
path = "examples/select_output.rs"

[[example]]
name = "sends"
path = "examples/sends.rs"

[[example]]
name = "settings_menu"
path = "examples/settings_menu.rs"

[[example]]
name = "spatial_basic"
path = "examples/spatial_basic.rs"

[[example]]
name = "spatial_hrtf"
path = "examples/spatial_hrtf.rs"

[[example]]
name = "spatial_itd"
path = "examples/spatial_itd.rs"

[[bench]]
name = "basic"
path = "benches/basic.rs"
harness = false
required-features = ["profiling"]

[dependencies.audioadapter-buffers]
version = "4.0"
optional = true
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_app]
version = "0.20.0"
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_asset]
version = "0.20.0"
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_diagnostic]
version = "0.20.0"
optional = true
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_ecs]
version = "0.20.0"
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_log]
version = "0.20.0"
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_math]
version = "0.20.0"
# raea: "curve" dropped: bevy_math 0.20 has no curve feature (curves are bevy_curve now) and seedling uses none
features = ["std"]
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_platform]
version = "0.20.0"
features = ["alloc"]
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_reflect]
version = "0.20.0"
features = ["glam"]
default-features = false

[dependencies.bevy_seedling_macros]
version = "0.8.0"

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_time]
version = "0.20.0"
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_transform]
version = "0.20.0"
features = ["bevy-support"]
default-features = false

# raea: Bevy 0.19 -> 0.20
[dependencies.bevy_utils]
version = "0.20.0"
default-features = false

[dependencies.ebur128]
version = "0.1.10"
optional = true

[dependencies.firewheel]
version = "0.12.0"
features = [
    "bevy",
    "spatial_basic_node",
    "scheduled_events",
    "musical_transport",
    # raea: glam-32 -> glam-33, Bevy 0.20's glam
    "glam-33",
    "sampler_node",
    "std",
]
# raea: "tracing" removed: it names firewheel-cpal?/tracing, and Cargo's lockfile takes a weak dependency's package in
# anyway (cpal 0.18 again)
default-features = false

[dependencies.portable-atomic]
version = "1.11"
features = ["float"]
optional = true

[dependencies.rand]
version = "0.10"
features = ["sys_rng"]
optional = true
default-features = false

[dependencies.smallvec]
version = "1.13"
default-features = false

[dependencies.symphonia]
version = "0.6"
optional = true
default-features = false

[dependencies.symphonium]
version = "0.12"
features = [
    "opt-simd",
    "fft-resampler",
    "resampler",
]
optional = true
default-features = false

[dev-dependencies.audioadapter-buffers]
version = "4.0"
default-features = false

# raea: Bevy 0.19 -> 0.20
[dev-dependencies.bevy]
version = "0.20.0"
features = [
    "2d_bevy_render",
    "default_app",
    "picking",
    "ui_bevy_render",
    "bevy_winit",
    "default_font",
    "std",
    "sysinfo_plugin",
    "wayland",
    "webgl2",
    "x11",
]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.firewheel]
version = "0.12.0"
features = ["fast_filter_nodes"]
default-features = false

# raea: the wasm32 Firewheel (features ["wasm-bindgen"]) removed: Firewheel's wasm-bindgen feature brings its cpal
# 0.18 backend, which links alsa-sys as the cpal 0.15 react and void use does, and cargo resolves every target's
# dependencies. raea never builds seedling for the web.

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
default-features = false

[profile.dev]
debug = "line-tables-only"