midir 0.11.0

A cross-platform, realtime MIDI processing library, inspired by RtMidi.
Documentation
# 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 = "midir"
version = "0.11.0"
authors = ["Patrick Reisert"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cross-platform, realtime MIDI processing library, inspired by RtMidi."
documentation = "https://docs.rs/midir"
readme = "README.md"
keywords = [
    "midi",
    "audio",
    "music",
    "sound",
]
categories = [
    "multimedia::audio",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/Boddlnagg/midir"

[features]
avoid_timestamping = []
coremidi_send_timestamped = []
default = []
jack = [
    "jack-sys",
    "libc",
    "bitflags",
]
winrt = [
    "windows/Foundation",
    "windows/Foundation_Collections",
    "windows/Devices_Midi",
    "windows/Devices_Enumeration",
    "windows/Storage_Streams",
    "windows/Win32_System_WinRT",
]

[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.bitflags]
version = "2"
optional = true

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

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

[dependencies.log]
version = "0.4"

[dev-dependencies.env_logger]
version = "0.11"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "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]
version = "0.2"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
default-features = false

[target.'cfg(target_os = "android")'.dependencies.jni-min-helper]
version = "0.3"

[target.'cfg(target_os = "android")'.dependencies.ndk-context]
version = "0.1"

[target.'cfg(target_os = "android")'.build-dependencies.cc]
version = "1.0"

[target.'cfg(target_os = "ios")'.dependencies.coremidi]
version = "0.9.0"

[target.'cfg(target_os = "linux")'.dependencies.alsa]
version = ">=0.9.0, <0.12"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.21"

[target.'cfg(target_os = "macos")'.dependencies.coremidi]
version = "0.9.0"

[target.'cfg(target_os = "windows")'.dependencies.parking_lot]
version = "0.12.1"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = ">=0.59.0,<=0.62"
features = [
    "Win32_Foundation",
    "Win32_Media",
    "Win32_Media_Multimedia",
    "Win32_Media_Audio",
]