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