-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
65 lines (58 loc) · 1.76 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright © 2019-2022 The Wavy Contributors.
#
# Licensed under any of:
# - Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
# - Boost Software License, Version 1.0 (https://www.boost.org/LICENSE_1_0.txt)
# - MIT License (https://mit-license.org/)
# At your choosing (See accompanying files LICENSE_APACHE_2_0.txt,
# LICENSE_MIT.txt and LICENSE_BOOST_1_0.txt).
[package]
name = "wavy"
version = "0.10.0"
license = "Apache-2.0 OR BSL-1.0 OR MIT"
description = """
Asynchronous cross-platform real-time audio recording & playback.
"""
repository = "https://github.com/ardaku/wavy"
documentation = "https://docs.rs/wavy"
homepage = "https://github.com/ardaku/wavy/blob/stable/CHANGELOG.md"
include = ["Cargo.toml", "src/*"]
categories = [
"game-engines", "hardware-support", "multimedia", "multimedia::audio", "os"
]
keywords = ["audio", "realtime", "cross-platform", "record", "play"]
readme = "README.md"
edition = "2021"
# For all platforms
[dependencies.fon]
version = "0.5"
[dependencies.pasts]
version = "0.12"
# For Linux and Android
[target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "linux", target_os = "android")))'.dependencies]
smelling_salts = "0.2"
dl_api = "0.4"
# For Web Assembly
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"AudioContext",
"AudioContextOptions",
"AudioNode",
"AudioDestinationNode",
"ScriptProcessorNode",
"AudioProcessingEvent",
"AudioBuffer",
"MediaStreamConstraints",
"Window",
"Navigator",
"MediaDevices",
"MediaStream",
"MediaStreamAudioSourceNode",
"MediaStreamAudioSourceOptions",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
# Examples
[dev-dependencies]
twang = "0.7"