2020-02-28 13:34:34 +11:00
|
|
|
[package]
|
2020-03-29 12:45:24 +11:00
|
|
|
name = "cacao"
|
2021-08-08 15:31:48 +10:00
|
|
|
description = "Rust bindings for AppKit (macOS/Airyx/GNUStep, beta) and UIKit (iOS/tvOS, alpha)."
|
2022-08-17 09:40:19 +10:00
|
|
|
version = "0.3.2"
|
2020-02-28 13:34:34 +11:00
|
|
|
edition = "2018"
|
2020-03-27 12:06:11 +11:00
|
|
|
authors = ["Ryan McGrath <ryan@rymc.io>"]
|
2020-02-28 13:34:34 +11:00
|
|
|
build = "build.rs"
|
2020-03-29 12:45:24 +11:00
|
|
|
repository = "https://github.com/ryanmcgrath/cacao"
|
|
|
|
categories = ["gui", "os::macos-apis", "os::ios-apis"]
|
|
|
|
keywords = ["gui", "macos", "ios", "appkit", "uikit"]
|
2021-06-10 09:48:45 +10:00
|
|
|
license = "MIT OR MPL-2.0+"
|
2020-03-20 14:07:44 +11:00
|
|
|
|
2021-06-10 09:46:28 +10:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
|
2021-02-05 08:34:12 +11:00
|
|
|
[package.metadata.docs.rs]
|
2021-03-05 12:24:39 +11:00
|
|
|
all-features = true
|
2021-02-05 08:34:12 +11:00
|
|
|
default-target = "x86_64-apple-darwin"
|
2021-03-05 12:24:39 +11:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2021-02-05 08:34:12 +11:00
|
|
|
|
2020-02-28 13:34:34 +11:00
|
|
|
[dependencies]
|
|
|
|
block = "0.1.6"
|
2022-08-11 23:34:54 +10:00
|
|
|
core-foundation = "0.9"
|
2021-02-05 08:34:12 +11:00
|
|
|
core-graphics = "0.22"
|
2020-02-28 13:34:34 +11:00
|
|
|
dispatch = "0.2.0"
|
2023-03-02 20:07:17 +11:00
|
|
|
infer = { version = "0.13", optional = true }
|
2020-04-05 12:50:58 +10:00
|
|
|
lazy_static = "1.4.0"
|
2020-03-18 10:55:09 +11:00
|
|
|
libc = "0.2"
|
2020-02-28 13:34:34 +11:00
|
|
|
objc = "0.2.7"
|
|
|
|
objc_id = "0.1.1"
|
2021-02-08 15:25:56 +11:00
|
|
|
os_info = "3.0.1"
|
2020-03-11 14:09:24 +11:00
|
|
|
url = "2.1.1"
|
2022-08-22 11:07:19 +10:00
|
|
|
uuid = { version = "1.1", features = ["v4"], optional = true }
|
2020-03-01 10:34:07 +11:00
|
|
|
|
2021-02-13 12:57:06 +11:00
|
|
|
[dev-dependencies]
|
|
|
|
eval = "0.4"
|
|
|
|
|
2020-03-01 10:34:07 +11:00
|
|
|
[features]
|
2021-08-08 15:31:48 +10:00
|
|
|
appkit = ["core-foundation/mac_os_10_8_features"]
|
|
|
|
uikit = []
|
2021-08-09 11:42:07 +10:00
|
|
|
autolayout = []
|
|
|
|
default = ["appkit", "autolayout"]
|
2020-03-17 16:22:15 +11:00
|
|
|
cloudkit = []
|
2021-02-13 12:57:06 +11:00
|
|
|
color_fallbacks = []
|
2021-02-05 08:34:12 +11:00
|
|
|
quicklook = []
|
2020-03-18 12:19:56 +11:00
|
|
|
user-notifications = ["uuid"]
|
2021-04-26 09:39:27 +10:00
|
|
|
webview = ["infer"]
|
2021-03-05 12:24:39 +11:00
|
|
|
webview-downloading-macos = []
|
2021-04-16 10:13:59 +10:00
|
|
|
|
|
|
|
[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."
|
2022-08-15 06:40:38 +10:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "webview_custom_protocol"
|
|
|
|
required-features = ["webview"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "browser"
|
|
|
|
required-features = ["webview"]
|
2022-08-15 06:50:40 +10:00
|
|
|
|
2022-08-15 06:40:38 +10:00
|
|
|
[[example]]
|
|
|
|
name = "ios-beta"
|
|
|
|
required-features = ["uikit", "autolayout"]
|
2022-08-21 15:03:56 +10:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "calculator"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "todos_list"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "animation"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "autolayout"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "custom_image_drawing"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "text_input"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "defaults"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "frame_layout"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "window"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "window_delegate"
|
|
|
|
required-features = ["appkit"]
|
|
|
|
[[example]]
|
|
|
|
name = "window_controller"
|
|
|
|
required-features = ["appkit"]
|
2023-04-24 05:31:58 +10:00
|
|
|
[[exmaple]]
|
|
|
|
name = "safe_area"
|
|
|
|
required-features = ["appkit"]
|