[dependencies.bitflags]
default-features = false
features = ["std"]
optional = true
version = "2.5.0"
[dependencies.block2]
default-features = false
features = ["alloc"]
optional = true
version = ">=0.6.1, <0.8.0"
[dependencies.libc]
default-features = false
optional = true
version = "0.2.80"
[dependencies.objc2]
default-features = false
features = ["std"]
version = ">=0.6.2, <0.8.0"
[dependencies.objc2-foundation]
default-features = false
features = ["alloc"]
version = "0.3.2"
[features]
FSClient = ["objc2-foundation/NSArray", "objc2-foundation/NSError"]
FSContainer = ["objc2-foundation/NSData", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSUUID"]
FSEntityIdentifier = ["objc2-foundation/NSData", "objc2-foundation/NSObject", "objc2-foundation/NSUUID"]
FSFileName = ["objc2-foundation/NSData", "objc2-foundation/NSObject", "objc2-foundation/NSString"]
FSFileSystem = []
FSFileSystemBase = ["objc2-foundation/NSError"]
FSItem = ["bitflags", "objc2-foundation/NSObject"]
FSKitDefines = []
FSKitError = ["objc2-foundation/NSError", "objc2-foundation/NSString"]
FSKitFunctions = ["objc2-foundation/NSError"]
FSKitTypes = []
FSModuleIdentity = ["objc2-foundation/NSString", "objc2-foundation/NSURL"]
FSMutableFileDataBuffer = []
FSResource = ["objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSProgress", "objc2-foundation/NSString", "objc2-foundation/NSURL"]
FSTask = ["objc2-foundation/NSError", "objc2-foundation/NSString"]
FSTaskOptions = ["objc2-foundation/NSArray", "objc2-foundation/NSString", "objc2-foundation/NSURL"]
FSUnaryFileSystem = ["objc2-foundation/NSError"]
FSVolume = ["bitflags", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSUUID"]
FSVolumeExtent = ["bitflags", "objc2-foundation/NSError"]
alloc = []
bitflags = ["dep:bitflags"]
block2 = ["dep:block2"]
default = ["std", "FSClient", "FSContainer", "FSEntityIdentifier", "FSFileName", "FSFileSystem", "FSFileSystemBase", "FSItem", "FSKitDefines", "FSKitError", "FSKitFunctions", "FSKitTypes", "FSModuleIdentity", "FSMutableFileDataBuffer", "FSResource", "FSTask", "FSTaskOptions", "FSUnaryFileSystem", "FSVolume", "FSVolumeExtent", "bitflags", "block2", "libc"]
libc = ["dep:libc"]
std = ["alloc"]
unstable-darwin-objc = []
[lib]
name = "objc2_fs_kit"
path = "src/lib.rs"
[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"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis"]
description = "Bindings to the FSKit framework"
edition = "2021"
keywords = ["cocoa", "apple", "framework", "macos"]
license = "Zlib OR Apache-2.0 OR MIT"
name = "objc2-fs-kit"
readme = "README.md"
repository = "https://github.com/madsmtm/objc2"
rust-version = "1.71"
version = "0.3.2"
[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
rustc-args = ["--cfg", "docsrs"]
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]