Debian Codegraph @

third_party/rust/midir/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 name = "midir"
14 version = "0.7.0"
15 authors = ["Patrick Reisert"]
16 build = false
17 autolib = false
18 autobins = false
19 autoexamples = false
20 autotests = false
21 autobenches = false
22 description = "A cross-platform, realtime MIDI processing library, inspired by RtMidi."
23 readme = "README.md"
24 keywords = [
25 "midi",
26 "audio",
27 "music",
28 "sound",
29 ]
30 categories = [
31 "multimedia::audio",
32 "api-bindings",
33 ]
34 license = "MIT"
35 repository = "https://github.com/Boddlnagg/midir"
36
37 [features]
38 avoid_timestamping = []
39 default = []
40 jack = [
41 "jack-sys",
42 "libc",
43 "bitflags",
44 ]
45
46 [lib]
47 name = "midir"
48 path = "src/lib.rs"
49
50 [[example]]
51 name = "test_forward"
52 path = "examples/test_forward.rs"
53
54 [[example]]
55 name = "test_list_ports"
56 path = "examples/test_list_ports.rs"
57
58 [[example]]
59 name = "test_play"
60 path = "examples/test_play.rs"
61
62 [[example]]
63 name = "test_read_input"
64 path = "examples/test_read_input.rs"
65
66 [[example]]
67 name = "test_reuse"
68 path = "examples/test_reuse.rs"
69
70 [[example]]
71 name = "test_sysex"
72 path = "examples/test_sysex.rs"
73
74 [[test]]
75 name = "virtual"
76 path = "tests/virtual.rs"
77
78 [dependencies]
79 memalloc = "0.1.0"
80
81 [dependencies.bitflags]
82 version = "2"
83 optional = true
84
85 [dependencies.jack-sys]
86 version = "0.1.0"
87 optional = true
88
89 [dependencies.libc]
90 version = "0.2.21"
91 optional = true
92
93 [dependencies.winrt]
94 version = "0.7.0"
95 optional = true
96
97 [target.'cfg(target_arch = "wasm32")'.dependencies]
98 js-sys = "0.3"
99 wasm-bindgen = "0.2"
100
101 [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
102 version = "0.3"
103 features = [
104 "Event",
105 "Navigator",
106 "Window",
107 "MidiAccess",
108 "MidiInput",
109 "MidiInputMap",
110 "MidiMessageEvent",
111 "MidiOptions",
112 "MidiOutput",
113 "MidiOutputMap",
114 "MidiPort",
115 "MidiPortType",
116 ]
117
118 [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
119 wasm-bindgen-test = "0.2"
120
121 [target.'cfg(target_os = "linux")'.dependencies]
122 alsa = "0.8"
123 libc = "0.2.21"
124
125 [target.'cfg(target_os = "macos")'.dependencies]
126 coremidi = "0.6.0"
127
128 [target."cfg(windows)".dependencies.winapi]
129 version = "0.3"
130 features = [
131 "mmsystem",
132 "mmeapi",
133 ]
134
135 [workspace]
136 members = [
137 ".",
138 "examples/browser",
139 ]