# 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 = "2024"
name = "quicklook"
version = "0.1.4"
authors = ["Justin Harrell"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An easy to use Rust wrapper for Apple's QuickLookUI API."
readme = "README.md"
keywords = [
    "macos",
    "appkit",
    "quicklook-ui",
    "apple",
]
categories = [
    "os::macos-apis",
    "api-bindings",
]
license = "MIT OR Apache-2.0"

[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
serde = ["dep:serde"]

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

[[example]]
name = "simple_test"
path = "examples/simple_test.rs"

[dependencies.objc2]
version = "0.6.4"

[dependencies.objc2-app-kit]
version = "0.3.2"
features = [
    "NSEvent",
    "NSImage",
    "NSPanel",
]
default-features = false

[dependencies.objc2-foundation]
version = "0.3.2"
features = [
    "NSURL",
    "NSArray",
    "NSGeometry",
]
default-features = false

[dependencies.objc2-quick-look-ui]
version = "0.3.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.objc2-app-kit]
version = "0.3.2"
features = ["NSApplication"]
default-features = false
