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)."
|
2023-08-01 17:28:14 +10:00
|
|
|
version = "0.4.0-beta2"
|
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]
|
2023-07-14 10:22:54 +10:00
|
|
|
bitmask-enum = "2.2.1"
|
2023-11-02 10:42:53 +11:00
|
|
|
objc = { version = "=0.3.0-beta.3", package = "objc2" }
|
2023-09-12 02:59:21 +10:00
|
|
|
block = { version = "=0.2.0-alpha.6", package = "block2" }
|
|
|
|
# Temporary: Patched versions that implement `Encode` for common types
|
|
|
|
# Branch: `objc2`
|
|
|
|
core-foundation = { git = "https://github.com/madsmtm/core-foundation-rs.git", rev = "7d593d016175755e492a92ef89edca68ac3bd5cd" }
|
|
|
|
core-graphics = { git = "https://github.com/madsmtm/core-foundation-rs.git", rev = "7d593d016175755e492a92ef89edca68ac3bd5cd" }
|
2020-02-28 13:34:34 +11:00
|
|
|
dispatch = "0.2.0"
|
2023-07-05 18:22:10 +10:00
|
|
|
infer = { version = "0.15", 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"
|
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-05-07 08:46:31 +10:00
|
|
|
[[example]]
|
2023-04-24 05:31:58 +10:00
|
|
|
name = "safe_area"
|
2023-06-09 09:09:42 +10:00
|
|
|
required-features = ["appkit"]
|
2023-07-10 17:42:46 +10:00
|
|
|
[[example]]
|
|
|
|
name = "popover"
|
2023-07-14 10:22:54 +10:00
|
|
|
required-features = ["appkit"]
|