Source code

Revision control

Copy as Markdown

Other Tools

# 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"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
[lib]
name = "midir"
path = "src/lib.rs"
[[example]]
name = "test_forward"
path = "examples/test_forward.rs"
[[example]]
name = "test_list_ports"
path = "examples/test_list_ports.rs"
[[example]]
name = "test_play"
path = "examples/test_play.rs"
[[example]]
name = "test_read_input"
path = "examples/test_read_input.rs"
[[example]]
name = "test_reuse"
path = "examples/test_reuse.rs"
[[example]]
name = "test_sysex"
path = "examples/test_sysex.rs"
[[test]]
name = "virtual"
path = "tests/virtual.rs"
[dependencies]
memalloc = "0.1.0"
[dependencies.bitflags]
version = "2"
optional = true
[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",
"bitflags",
]
[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.8"
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",
]