# 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 = "2021" name = "ensnare" version = "0.0.3" authors = ["Mike Tsao "] build = false exclude = [ "test-data/*", "assets-nodist/*", "res/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Create digital audio" homepage = "https://github.com/ensnare-org/ensnare" documentation = "https://docs.rs/ensnare/" readme = "README.md" keywords = [ "audio", "music", ] license = "BSD-3-Clause" repository = "https://github.com/ensnare-org/ensnare" [package.metadata.cross.target.aarch64-unknown-linux-gnu] image = "ghcr.io/iced-rs/aarch64:latest" pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt -qq update", "apt -y install pkg-config libfontconfig-dev:$CROSS_DEB_ARCH libasound2-dev:$CROSS_DEB_ARCH", ] xargo = false [package.metadata.cross.target.armv7-unknown-linux-gnueabihf] image = "ghcr.io/iced-rs/armv7:latest" pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt -qq update", "apt -y install pkg-config libfontconfig-dev:$CROSS_DEB_ARCH libasound2-dev:$CROSS_DEB_ARCH", ] xargo = false [package.metadata.docs.rs] all-features = true [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "ensnare" path = "src/lib.rs" [[example]] name = "entity-gui-explorer" path = "examples/entity-gui-explorer.rs" required-features = [ "std", "egui", ] [[example]] name = "hello-world" path = "examples/hello-world.rs" required-features = [ "std", "hound", "egui_extras", ] [[example]] name = "minidaw" path = "examples/minidaw/main.rs" required-features = [ "std", "egui", "egui_extras", "ensnare-services/audio", "ensnare-services/midi", ] [[example]] name = "play-song" path = "examples/play-song.rs" [[example]] name = "pocket-calculator" path = "examples/pocket-calculator/main.rs" required-features = [ "std", "egui", "ensnare-services/audio", ] [[example]] name = "render-project" path = "examples/render-project.rs" required-features = ["std"] [[example]] name = "subtractive-patch-converter" path = "examples/subtractive-patch-converter.rs" [[example]] name = "widget-explorer" path = "examples/widget-explorer.rs" required-features = [ "std", "hound", "egui_extras", ] [[test]] name = "automation" path = "tests/automation.rs" [[test]] name = "aux_bus" path = "tests/aux_bus.rs" [[test]] name = "entity_validator" path = "tests/entity_validator.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "sidechain" path = "tests/sidechain.rs" [[test]] name = "song_editing" path = "tests/song_editing.rs" [[test]] name = "song_programming" path = "tests/song_programming.rs" [[test]] name = "subtractive-patch-explorer" path = "tests/subtractive-patch-explorer.rs" [dependencies.anyhow] version = "1.0.86" default-features = false [dependencies.app_dirs2] version = "2.5.5" [dependencies.bit-vec] version = "0.8.0" [dependencies.bounded-vec-deque] version = "0.1.1" [dependencies.byteorder] version = "1.5.0" [dependencies.convert_case] version = "0.6.0" optional = true [dependencies.cpal] version = "0.15.3" optional = true [dependencies.crossbeam] version = "0.8.4" [dependencies.delegate] version = "0.12.0" [dependencies.derivative] version = "2.2.0" features = ["use_core"] [dependencies.derive_builder] version = "0.20.0" [dependencies.derive_more] version = "0.99.17" [dependencies.eframe] version = "0.28" optional = true [dependencies.egui_extras] version = "0.28" features = ["image"] optional = true [dependencies.ensnare-proc-macros] version = "0.0.8" [dependencies.getrandom] version = "0.2.12" features = [] [dependencies.hound] version = "3.5" optional = true [dependencies.include_dir] version = "0.7.3" [dependencies.kahan] version = "0.1.4" [dependencies.midly] version = "0.5.3" [dependencies.nalgebra] version = "0.32.3" [dependencies.nonoverlapping_interval_tree] version = "0.1.5" [dependencies.once_cell] version = "1.19.0" [dependencies.oorandom] version = "11.1.3" [dependencies.rustc-hash] version = "1.1.0" [dependencies.serde] version = "1.0" features = [ "rc", "derive", ] [dependencies.serde_json] version = "1.0" [dependencies.spectrum-analyzer] version = "1.5.0" optional = true [dependencies.strum] version = "0.26" [dependencies.strum_macros] version = "0.26" [dependencies.synonym] version = "0.1.6" [dependencies.thiserror] version = "1.0.50" [dependencies.typetag] version = "0.2.16" [dev-dependencies.clap] version = "4.5.4" features = ["derive"] [dev-dependencies.egui-notify] version = "0.15.0" [dev-dependencies.egui_dock] version = "0.13.0" [dev-dependencies.ensnare-services] version = "0.0" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.float-cmp] version = "0.9.0" [dev-dependencies.more-asserts] version = "0.3.1" [dev-dependencies.native-dialog] version = "0.7.0" [dev-dependencies.regex] version = "1.7" [features] cpal = ["dep:cpal"] default = [ "std", "egui", "hound", "simple", ] egui = [ "convert_case", "eframe", "spectrum-analyzer", ] egui_extras = ["dep:egui_extras"] f32 = [] hound = ["dep:hound"] simple = [] std = [ "getrandom/std", "anyhow/std", ]