-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
58 lines (51 loc) · 1.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "fruity"
version = "0.3.0"
authors = ["Nikolai Vazquez <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Rusty bindings for Apple libraries"
repository = "https://github.com/nvzqz/fruity"
homepage = "https://github.com/nvzqz/fruity"
documentation = "https://docs.rs/fruity"
categories = ["api-bindings", "development-tools::ffi", "os"]
keywords = ["apple", "cocoa", "objc", "foundation", "uikit"]
include = [
# Manifest
"Cargo.toml",
# Source files
"src",
"tests",
"examples",
# Documents
"README*",
"CHANGELOG*",
"LICENSE*",
]
[features]
default = ["malloced"]
# Libraries and frameworks
app_kit = ["foundation"]
cf_network = ["core_foundation"]
core_animation = ["foundation"]
core_audio = []
core_foundation = ["objc"]
core_graphics = []
core_image = ["foundation"]
core_services = ["core_foundation"]
core_text = ["core_foundation"]
core_video = ["foundation"]
dispatch = []
foundation = ["objc", "core_graphics"]
io_kit = ["core_foundation"]
objc = []
system_configuration = ["core_foundation"]
ui_kit = ["foundation"]
[dependencies]
malloced = { version = "1", optional = true }
libc = { version = "0.2", optional = true }
[dev-dependencies]
rand = "0.7.3"
[package.metadata.docs.rs]
targets = ["x86_64-apple-darwin"]
all-features = true