summaryrefslogtreecommitdiffstats
path: root/third_party/rust/midir/Cargo.toml
blob: f84a0a79cb7f06477f69b2c8d4fcf038b7fbef6a (plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# 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]
name = "midir"
version = "0.7.0"
authors = ["Patrick Reisert"]
description = "A cross-platform, realtime MIDI processing library, inspired by RtMidi."
readme = "README.md"
keywords = [
    "midi",
    "audio",
    "music",
    "sound",
]
categories = [
    "multimedia::audio",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/Boddlnagg/midir"

[dependencies]
bitflags = "1.2"
memalloc = "0.1.0"

[dependencies.jack-sys]
version = "0.1.0"
optional = true

[dependencies.libc]
version = "0.2.21"
optional = true

[dependencies.winrt]
version = "0.7.0"
optional = true

[features]
avoid_timestamping = []
default = []
jack = [
    "jack-sys",
    "libc",
]

[target."cfg(target_arch = \"wasm32\")".dependencies]
js-sys = "0.3"
wasm-bindgen = "0.2"

[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
version = "0.3"
features = [
    "Event",
    "Navigator",
    "Window",
    "MidiAccess",
    "MidiInput",
    "MidiInputMap",
    "MidiMessageEvent",
    "MidiOptions",
    "MidiOutput",
    "MidiOutputMap",
    "MidiPort",
    "MidiPortType",
]

[target."cfg(target_arch = \"wasm32\")".dev-dependencies]
wasm-bindgen-test = "0.2"

[target."cfg(target_os = \"linux\")".dependencies]
alsa = "0.7"
libc = "0.2.21"

[target."cfg(target_os = \"macos\")".dependencies]
coremidi = "0.6.0"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "mmsystem",
    "mmeapi",
]

[workspace]
members = [
    ".",
    "examples/browser",
]