[package]
edition = "2021"
rust-version = "1.70"
name = "doom-fish-utils"
version = "0.2.0"
authors = ["Per Johansson <per@doom.fish>"]
build = false
include = [
"src/**/*",
"tests/**/*",
"Cargo.toml",
"README.md",
"LICENSE-*",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-agnostic FFI utilities shared by the doom-fish Apple-SDK Rust bindings: async/sync completion handlers, FFI string helpers, FourCharCode, panic-safe extern-C wrappers, and executor-agnostic bounded async streams."
homepage = "https://github.com/doom-fish/doom-fish-utils"
readme = "README.md"
keywords = [
"macos",
"ffi",
"apple",
"async",
"doom-fish",
]
categories = [
"api-bindings",
"asynchronous",
"os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doom-fish/doom-fish-utils"
[package.metadata.docs.rs]
all-features = true
default-target = "aarch64-apple-darwin"
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
default = []
futures-stream = ["dep:futures-core"]
[lib]
name = "doom_fish_utils"
crate-type = ["lib"]
path = "src/lib.rs"
[dependencies.futures-core]
version = "0.3"
optional = true
default-features = false
[dev-dependencies]
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
[profile.release]
debug = 2