[package]
edition = "2024"
name = "rtpmidi"
version = "0.4.4"
authors = ["Jesse Higginson "]
build = false
include = [
"src",
"examples",
"tests",
"Cargo.toml",
"README.md",
"LICENSE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for RTP-MIDI / AppleMIDI"
homepage = "https://github.com/iKadmium/rtp-midi-rs"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/iKadmium/rtp-midi-rs"
[features]
default = [
"tokio/net",
"tokio/time",
"tokio/rt",
"tokio/macros",
"tokio/sync",
]
examples = [
"default",
"tokio/rt-multi-thread",
"tokio/signal",
"tracing-subscriber",
]
mdns = [
"mdns-sd",
"hostname",
"local-ip-address",
]
[lib]
name = "rtpmidi"
path = "src/lib.rs"
[[example]]
name = "invite_to_session"
path = "examples/invite_to_session.rs"
[[example]]
name = "log_messages"
path = "examples/log_messages.rs"
[[example]]
name = "send_midi"
path = "examples/send_midi.rs"
[[test]]
name = "cleanup"
path = "tests/cleanup.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[dependencies.anyhow]
version = "1.0.98"
[dependencies.bytes]
version = "1.10.1"
[dependencies.futures]
version = "0.3.31"
[dependencies.hostname]
version = "0.4.1"
optional = true
[dependencies.local-ip-address]
version = "0.6.5"
optional = true
[dependencies.mdns-sd]
version = "0.13.9"
optional = true
[dependencies.midi-types]
version = "0.2.1"
[dependencies.rand]
version = "0.9.1"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tokio]
version = "1"
[dependencies.tokio-util]
version = "0.7.15"
[dependencies.tracing]
version = "0.1.41"
[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"fmt",
"env-filter",
]
optional = true
[dependencies.zerocopy]
version = "0.8.26"
features = ["derive"]
[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
[lints.clippy]
uninlined_format_args = "warn"
[profile.release]
debug = 0
strip = true
[profile.release-with-debug]
debug = 2
inherits = "release"