[dependencies.bitflags]
version = "2"
[dependencies.block]
version = "0.1"
[dependencies.cocoa-foundation]
default-features = false
version = "0.2"
[dependencies.core-foundation]
default-features = false
version = "0.10"
[dependencies.core-graphics]
default-features = false
version = "0.24"
[dependencies.foreign-types]
version = "0.5"
[dependencies.libc]
version = "0.2"
[dependencies.objc]
version = "0.2.3"
[[example]]
name = "color"
path = "examples/color.rs"
[[example]]
name = "fullscreen"
path = "examples/fullscreen.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "nsvisualeffectview_blur"
path = "examples/nsvisualeffectview_blur.rs"
[[example]]
name = "tab_view"
path = "examples/tab_view.rs"
[features]
default = ["link"]
link = ["core-foundation/link", "cocoa-foundation/link", "core-graphics/link"]
[lib]
name = "cocoa"
path = "src/lib.rs"
[lints.clippy]
assertions_on_constants = "allow"
doc_markdown = "warn"
len_without_is_empty = "allow"
manual_range_contains = "allow"
missing_safety_doc = "allow"
new_ret_no_self = "allow"
new_without_default = "allow"
non_canonical_partial_ord_impl = "allow"
not_unsafe_ptr_arg_deref = "allow"
result_unit_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(feature, values("cargo-clippy"))']
level = "warn"
priority = 0
[package]
authors = ["The Servo Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Bindings to Cocoa for macOS"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "cocoa"
readme = "README.md"
repository = "https://github.com/servo/core-foundation-rs"
rust-version = "1.65"
version = "0.26.1"
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"