[package]
edition = "2021"
rust-version = "1.70"
name = "eventkit"
version = "0.3.1"
authors = ["Per Johansson <per@doom.fish>"]
build = "build.rs"
include = [
"src/**/*",
"swift-bridge/Package.swift",
"swift-bridge/Sources/**/*",
"examples/**/*",
"tests/**/*",
"build.rs",
"Cargo.toml",
"README.md",
"COVERAGE.md",
"LICENSE-*",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for Apple's EventKit framework — events, reminders, calendars, sources, participants, structured locations, and virtual conference descriptors on macOS"
homepage = "https://github.com/doom-fish/eventkit-rs"
readme = "README.md"
keywords = [
"eventkit",
"calendar",
"reminders",
"macos",
"apple",
]
categories = [
"api-bindings",
"os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doom-fish/eventkit-rs"
[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]
async = ["dep:doom-fish-utils"]
default = []
[lib]
name = "eventkit"
crate-type = ["lib"]
path = "src/lib.rs"
[[example]]
name = "01_event_store_smoke"
path = "examples/01_event_store_smoke.rs"
[[example]]
name = "01_eventkit_smoke"
path = "examples/01_eventkit_smoke.rs"
[[example]]
name = "02_event_roundtrip"
path = "examples/02_event_roundtrip.rs"
[[example]]
name = "03_reminder_roundtrip"
path = "examples/03_reminder_roundtrip.rs"
[[example]]
name = "04_calendar_snapshot"
path = "examples/04_calendar_snapshot.rs"
[[example]]
name = "05_recurrence_rule_roundtrip"
path = "examples/05_recurrence_rule_roundtrip.rs"
[[example]]
name = "06_alarm_roundtrip"
path = "examples/06_alarm_roundtrip.rs"
[[example]]
name = "07_participant_snapshot"
path = "examples/07_participant_snapshot.rs"
[[example]]
name = "08_source_listing"
path = "examples/08_source_listing.rs"
[[example]]
name = "09_structured_location_roundtrip"
path = "examples/09_structured_location_roundtrip.rs"
[[example]]
name = "10_virtual_conference_provider_roundtrip"
path = "examples/10_virtual_conference_provider_roundtrip.rs"
[[example]]
name = "11_object_wrapper"
path = "examples/11_object_wrapper.rs"
[[example]]
name = "12_async_access"
path = "examples/12_async_access.rs"
[[test]]
name = "alarm_tests"
path = "tests/alarm_tests.rs"
[[test]]
name = "async_api_tests"
path = "tests/async_api_tests.rs"
[[test]]
name = "calendar_tests"
path = "tests/calendar_tests.rs"
[[test]]
name = "event_store_tests"
path = "tests/event_store_tests.rs"
[[test]]
name = "event_tests"
path = "tests/event_tests.rs"
[[test]]
name = "object_tests"
path = "tests/object_tests.rs"
[[test]]
name = "participant_tests"
path = "tests/participant_tests.rs"
[[test]]
name = "recurrence_rule_tests"
path = "tests/recurrence_rule_tests.rs"
[[test]]
name = "reminder_tests"
path = "tests/reminder_tests.rs"
[[test]]
name = "source_tests"
path = "tests/source_tests.rs"
[[test]]
name = "structured_location_tests"
path = "tests/structured_location_tests.rs"
[[test]]
name = "virtual_conference_provider_tests"
path = "tests/virtual_conference_provider_tests.rs"
[dependencies.doom-fish-utils]
version = "0.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dev-dependencies.pollster]
version = "0.3"
[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
strip = "none"