68 lines
1.6 KiB
TOML
68 lines
1.6 KiB
TOML
[package]
|
|
name = "cacao"
|
|
description = "Rust bindings for AppKit (macOS/Airyx/GNUStep, beta) and UIKit (iOS/tvOS, alpha)."
|
|
version = "0.3.2"
|
|
edition = "2018"
|
|
authors = ["Ryan McGrath <ryan@rymc.io>"]
|
|
build = "build.rs"
|
|
repository = "https://github.com/ryanmcgrath/cacao"
|
|
categories = ["gui", "os::macos-apis", "os::ios-apis"]
|
|
keywords = ["gui", "macos", "ios", "appkit", "uikit"]
|
|
license = "MIT OR MPL-2.0+"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
default-target = "x86_64-apple-darwin"
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
block = "0.1.6"
|
|
core-foundation = "0.9"
|
|
core-graphics = "0.22"
|
|
dispatch = "0.2.0"
|
|
infer = { version = "0.4", optional = true }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2"
|
|
objc = "0.2.7"
|
|
objc_id = "0.1.1"
|
|
os_info = "3.0.1"
|
|
url = "2.1.1"
|
|
uuid = { version = "0.8", features = ["v4"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
eval = "0.4"
|
|
|
|
[features]
|
|
appkit = ["core-foundation/mac_os_10_8_features"]
|
|
uikit = []
|
|
autolayout = []
|
|
default = ["appkit", "autolayout"]
|
|
cloudkit = []
|
|
color_fallbacks = []
|
|
quicklook = []
|
|
user-notifications = ["uuid"]
|
|
webview = ["infer"]
|
|
webview-downloading-macos = []
|
|
|
|
[package.metadata.bundle.example.ios-beta]
|
|
name = "ios-beta"
|
|
identifier = "com.cacao.ios-test"
|
|
category = "Developer Tool"
|
|
short_description = "An example Cacao iOS app."
|
|
long_description = "An example Cacao iOS app."
|
|
|
|
[[example]]
|
|
name = "webview_custom_protocol"
|
|
required-features = ["webview"]
|
|
|
|
[[example]]
|
|
name = "browser"
|
|
required-features = ["webview"]
|
|
|
|
[[example]]
|
|
name = "ios-beta"
|
|
required-features = ["uikit", "autolayout"]
|