| 1 |
[dependencies.objc2-encode] |
| 2 |
default-features = false |
| 3 |
version = "4.1.0" |
| 4 |
|
| 5 |
[dependencies.objc2-exception-helper] |
| 6 |
default-features = false |
| 7 |
optional = true |
| 8 |
version = "0.1.1" |
| 9 |
|
| 10 |
[dependencies.objc2-proc-macros] |
| 11 |
optional = true |
| 12 |
version = "0.2.0" |
| 13 |
|
| 14 |
[dev-dependencies.backtrace] |
| 15 |
version = "0.3.74" |
| 16 |
|
| 17 |
[dev-dependencies.iai] |
| 18 |
version = "0.1" |
| 19 |
|
| 20 |
[dev-dependencies.libc] |
| 21 |
version = "0.2.158" |
| 22 |
|
| 23 |
[dev-dependencies.memoffset] |
| 24 |
version = "0.9.0" |
| 25 |
|
| 26 |
[dev-dependencies.static_assertions] |
| 27 |
version = "1.1.0" |
| 28 |
|
| 29 |
[features] |
| 30 |
alloc = ["objc2-encode/alloc"] |
| 31 |
catch-all = ["exception"] |
| 32 |
default = ["std"] |
| 33 |
disable-encoding-assertions = [] |
| 34 |
exception = ["dep:objc2-exception-helper"] |
| 35 |
gnustep-1-7 = ["unstable-static-class", "objc2-exception-helper?/gnustep-1-7"] |
| 36 |
gnustep-1-8 = ["gnustep-1-7", "objc2-exception-helper?/gnustep-1-8"] |
| 37 |
gnustep-1-9 = ["gnustep-1-8", "objc2-exception-helper?/gnustep-1-9"] |
| 38 |
gnustep-2-0 = ["gnustep-1-9", "objc2-exception-helper?/gnustep-2-0"] |
| 39 |
gnustep-2-1 = ["gnustep-2-0", "objc2-exception-helper?/gnustep-2-1"] |
| 40 |
objc2-proc-macros = [] |
| 41 |
relax-sign-encoding = [] |
| 42 |
relax-void-encoding = [] |
| 43 |
std = ["alloc", "objc2-encode/std"] |
| 44 |
unstable-apple-new = [] |
| 45 |
unstable-arbitrary-self-types = [] |
| 46 |
unstable-autoreleasesafe = [] |
| 47 |
unstable-coerce-pointee = [] |
| 48 |
unstable-compiler-rt = ["gnustep-1-7"] |
| 49 |
unstable-darwin-objc = [] |
| 50 |
unstable-gnustep-strict-apple-compat = ["gnustep-1-7"] |
| 51 |
unstable-objfw = [] |
| 52 |
unstable-requires-macos = [] |
| 53 |
unstable-static-class = ["dep:objc2-proc-macros"] |
| 54 |
unstable-static-class-inlined = ["unstable-static-class"] |
| 55 |
unstable-static-sel = ["dep:objc2-proc-macros"] |
| 56 |
unstable-static-sel-inlined = ["unstable-static-sel"] |
| 57 |
unstable-winobjc = ["gnustep-1-8"] |
| 58 |
verify = [] |
| 59 |
|
| 60 |
[lib] |
| 61 |
path = "src/lib.rs" |
| 62 |
|
| 63 |
[lints.clippy] |
| 64 |
ptr_as_ptr = "warn" |
| 65 |
redundant_feature_names = "allow" |
| 66 |
|
| 67 |
[lints.clippy.cargo] |
| 68 |
level = "warn" |
| 69 |
priority = -1 |
| 70 |
|
| 71 |
[lints.rust] |
| 72 |
elided_lifetimes_in_paths = "warn" |
| 73 |
missing_copy_implementations = "warn" |
| 74 |
non_ascii_idents = "deny" |
| 75 |
unreachable_pub = "warn" |
| 76 |
unsafe_op_in_unsafe_fn = "deny" |
| 77 |
|
| 78 |
[package] |
| 79 |
authors = ["Mads Marquart <[email protected]>"] |
| 80 |
autobenches = false |
| 81 |
autobins = false |
| 82 |
autoexamples = false |
| 83 |
autolib = false |
| 84 |
autotests = false |
| 85 |
categories = ["external-ffi-bindings", "api-bindings", "development-tools::ffi", "os::macos-apis"] |
| 86 |
description = "Objective-C interface and runtime bindings" |
| 87 |
edition = "2021" |
| 88 |
keywords = ["objective-c", "macos", "ios", "objc_msgSend", "objc"] |
| 89 |
license = "MIT" |
| 90 |
name = "objc2" |
| 91 |
readme = "README.md" |
| 92 |
repository = "https://github.com/madsmtm/objc2" |
| 93 |
rust-version = "1.71" |
| 94 |
version = "0.6.4" |
| 95 |
|
| 96 |
[package.metadata.docs.rs] |
| 97 |
default-target = "aarch64-apple-darwin" |
| 98 |
features = ["exception"] |
| 99 |
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-tvos", "aarch64-apple-watchos", "aarch64-apple-ios-macabi", "aarch64-apple-visionos", "x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"] |
| 100 |
|
| 101 |
[package.metadata.release] |
| 102 |
shared-version = false |
| 103 |
tag-prefix = "objc2" |
| 104 |
|
| 105 |
[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dev-dependencies] |
| 106 |
|
| 107 |
[target.'cfg(target_os = "macos")'.dev-dependencies] |
| 108 |
|
| 109 |
[target.'cfg(target_vendor = "apple")'.dev-dependencies.core-foundation] |
| 110 |
version = "0.10.0" |