# 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 = "knyst" version = "0.5.1" authors = ["Erik Natanael Gustafsson "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Real time dynamic audio graph and synthesis library" homepage = "https://github.com/ErikNatanael/knyst" readme = "README.md" keywords = [ "audio", "synthesis", "music", "dsp", "sound", ] categories = ["multimedia::audio"] license = "MIT OR Apache-2.0" repository = "https://github.com/ErikNatanael/knyst" [package.metadata.docs.rs] features = [ "jack", "cpal", "serde-derive", ] [lib] name = "knyst" path = "src/lib.rs" [[example]] name = "adjust_frequency" path = "examples/basic/adjust_frequency.rs" required-features = ["cpal"] [[example]] name = "beat_callbacks" path = "examples/beat_callbacks.rs" required-features = ["cpal"] [[example]] name = "compressor_test" path = "examples/compressor_test.rs" [[example]] name = "filter_test" path = "examples/filter_test.rs" [[example]] name = "frequency_envelope" path = "examples/envelopes/frequency_envelope.rs" required-features = ["cpal"] [[example]] name = "interactive" path = "examples/interactive.rs" required-features = ["cpal"] [[example]] name = "modulation" path = "examples/basic/modulation.rs" required-features = ["cpal"] [[example]] name = "more_advanced_example" path = "examples/more_advanced_example.rs" required-features = ["cpal"] [[example]] name = "scheduling" path = "examples/basic/scheduling.rs" required-features = ["cpal"] [[example]] name = "sound_file_playback" path = "examples/basic/sound_file_playback.rs" required-features = ["cpal"] [[example]] name = "tone" path = "examples/basic/tone.rs" required-features = ["cpal"] [[example]] name = "tones" path = "examples/basic/tones.rs" required-features = ["cpal"] [[example]] name = "volume_envelope" path = "examples/envelopes/volume_envelope.rs" required-features = ["cpal"] [[example]] name = "write_your_own_gen" path = "examples/write_your_own_gen.rs" required-features = ["cpal"] [[test]] name = "macro_tests" path = "macro_tests/macro_tests_main.rs" [[bench]] name = "large_sine_graph" path = "benches/large_sine_graph.rs" harness = false [[bench]] name = "micro_benchmarks" path = "benches/micro_benchmarks.rs" [dependencies.assert_no_alloc] version = "1.1.2" optional = true [dependencies.cpal] version = "0.15" optional = true [dependencies.crossbeam-channel] version = "0.5.6" [dependencies.downcast-rs] version = "1.2.0" [dependencies.fastapprox] version = "0.3" [dependencies.fastrand] version = "2.0.1" [dependencies.hound] version = "3.5.1" [dependencies.itertools] version = "0.13.0" [dependencies.jack] version = "0.13" optional = true [dependencies.knyst_macro] version = "0.5.1" [dependencies.num-traits] version = "0.2.17" [dependencies.rtrb] version = "0.3" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.slotmap] version = "1.0" [dependencies.symphonia] version = "0.5.1" features = ["mp3"] [dependencies.thiserror] version = "1.0" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.dialog] version = "0.3" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rfd] version = "0.15.1" [dev-dependencies.tokio] version = "1.26.0" features = [ "rt", "time", "macros", "rt-multi-thread", ] [dev-dependencies.trybuild] version = "1.0" features = ["diff"] [features] debug-warn-on-alloc = ["assert_no_alloc/warn_debug"] default = [ "cpal", "jack", "assert_no_alloc", ] serde-derive = ["dep:serde"] unstable = [] [target."cfg(loom)".dependencies.loom] version = "0.7" features = ["checkpoint"] [target."cfg(unix)".dev-dependencies.termion] version = "2.0.3"