# 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" name = "block2" version = "0.2.0-alpha.6" authors = [ "Steven Sheldon", "Mads Marquart ", ] description = "Apple's C language extension of blocks" documentation = "https://docs.rs/block2/" readme = "README.md" keywords = [ "objective-c", "macos", "ios", "blocks", ] categories = [ "api-bindings", "development-tools::ffi", "os::macos-apis", ] license = "MIT" repository = "https://github.com/madsmtm/objc2" resolver = "2" [package.metadata.docs.rs] default-target = "x86_64-apple-darwin" targets = [ "x86_64-apple-darwin", "aarch64-apple-darwin", "aarch64-apple-ios", "x86_64-apple-ios", "x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "x86_64-pc-windows-msvc", ] [dependencies.block-sys] version = "=0.1.0-beta.1" default-features = false [dependencies.objc2-encode] version = "=2.0.0-pre.2" default-features = false [features] alloc = [ "objc2-encode/alloc", "block-sys/alloc", ] apple = [ "block-sys/apple", "objc2-encode/apple", ] compiler-rt = [ "block-sys/compiler-rt", "objc2-encode/apple", ] default = [ "std", "apple", ] gnustep-1-7 = [ "block-sys/gnustep-1-7", "objc2-encode/gnustep-1-7", ] gnustep-1-8 = [ "gnustep-1-7", "block-sys/gnustep-1-8", "objc2-encode/gnustep-1-8", ] gnustep-1-9 = [ "gnustep-1-8", "block-sys/gnustep-1-9", "objc2-encode/gnustep-1-9", ] gnustep-2-0 = [ "gnustep-1-9", "block-sys/gnustep-2-0", "objc2-encode/gnustep-2-0", ] gnustep-2-1 = [ "gnustep-2-0", "block-sys/gnustep-2-1", "objc2-encode/gnustep-2-1", ] std = [ "alloc", "objc2-encode/std", "block-sys/std", ]