# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "block2" version = "0.6.2" authors = ["Mads Marquart "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Apple's C language extension of blocks" readme = "README.md" keywords = [ "objective-c", "macos", "ios", "blocks", ] categories = [ "api-bindings", "development-tools::ffi", "os::macos-apis", "external-ffi-bindings", ] license = "MIT" repository = "https://github.com/madsmtm/objc2" [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" features = ["unstable-private"] rustc-args = [ "--cfg", "docsrs", ] 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", ] [package.metadata.release] shared-version = false tag-prefix = "block2" [features] alloc = [] compiler-rt = ["objc2/unstable-compiler-rt"] default = ["std"] gnustep-1-7 = ["objc2/gnustep-1-7"] gnustep-1-8 = [ "gnustep-1-7", "objc2/gnustep-1-8", ] gnustep-1-9 = [ "gnustep-1-8", "objc2/gnustep-1-9", ] gnustep-2-0 = [ "gnustep-1-9", "objc2/gnustep-2-0", ] gnustep-2-1 = [ "gnustep-2-0", "objc2/gnustep-2-1", ] std = ["alloc"] unstable-coerce-pointee = [] unstable-objfw = [] unstable-private = [] unstable-winobjc = ["gnustep-1-8"] [lib] name = "block2" path = "src/lib.rs" [dependencies.objc2] version = ">=0.6.2, <0.8.0" features = ["std"] default-features = false [dev-dependencies] [lints.clippy] ptr_as_ptr = "warn" redundant_feature_names = "allow" [lints.clippy.cargo] level = "warn" priority = -1 [lints.rust] elided_lifetimes_in_paths = "warn" missing_copy_implementations = "warn" non_ascii_idents = "deny" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "deny"