# 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 = "media-remote"
version = "0.4.1"
build = "build.rs"
exclude = [".*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings for MediaRemote.framework"
readme = "README.md"
keywords = [
    "macos",
    "media-remote",
    "bindings",
]
license = "MIT"
repository = "https://github.com/nohackjustnoobb/media-remote"

[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
]

[features]
artwork = [
    "image",
    "base64",
]
default = ["artwork"]

[lib]
name = "media_remote"
path = "src/lib.rs"

[[bin]]
name = "media-remote"
path = "src/main.rs"

[[test]]
name = "test_helpers"
path = "tests/test_helpers.rs"

[[test]]
name = "test_low_level"
path = "tests/test_low_level.rs"

[[test]]
name = "test_now_playing"
path = "tests/test_now_playing.rs"

[[test]]
name = "test_now_playing_jxa"
path = "tests/test_now_playing_jxa.rs"

[[test]]
name = "test_now_playing_perl"
path = "tests/test_now_playing_perl.rs"

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.block2]
version = "0.6.0"

[dependencies.dispatch2]
version = "0.2.0"

[dependencies.flate2]
version = "1.1.8"

[dependencies.image]
version = "0.25.5"
optional = true

[dependencies.objc2]
version = "0.6.3"

[dependencies.objc2-app-kit]
version = "0.3.2"

[dependencies.objc2-core-foundation]
version = "0.3.2"

[dependencies.objc2-foundation]
version = "0.3.2"

[dependencies.serde_json]
version = "1.0.140"

[dependencies.speedate]
version = "0.17.0"

[dependencies.tar]
version = "0.4.44"

[dependencies.tempfile]
version = "3.24.0"
