[package]
name = "cloudkit"
version = "0.3.1"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/doom-fish/cloudkit-rs"
repository = "https://github.com/doom-fish/cloudkit-rs"
description = "Safe Rust bindings for Apple's CloudKit framework — iCloud databases and sync on macOS"
authors = ["Per Johansson <per@doom.fish>"]
keywords = ["cloudkit", "icloud", "macos", "apple", "database"]
categories = ["api-bindings", "os::macos-apis", "database"]
rust-version = "1.70"
readme = "README.md"
build = "build.rs"
include = [
"src/**/*",
"swift-bridge/Package.swift",
"swift-bridge/Sources/**/*",
"examples/**/*",
"build.rs",
"Cargo.toml",
"README.md",
"LICENSE-*",
"CHANGELOG.md",
"COVERAGE.md",
"COVERAGE_AUDIT.md",
]
[lints.rust]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
[lib]
name = "cloudkit"
crate-type = ["lib"]
[features]
default = []
async = []
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
doom-fish-utils = { path = "../doom-fish-utils", version = ">=0.1, <0.3" }
[dev-dependencies]
pollster = "0.3"
[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" }
[[example]]
name = "01_account_status_smoke"
[profile.release]
debug = "full"
strip = "none"