# 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 = "highlandcows-eventkit"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust wrapper for Apple's EventKit — CRUD access to macOS Reminders"
homepage = "https://github.com/njacobs5074/highlandcows"
readme = false
keywords = [
    "eventkit",
    "reminders",
    "macos",
    "apple",
]
categories = ["os::macos-apis"]
license = "MIT"
repository = "https://github.com/njacobs5074/highlandcows"

[features]
default = []
tokio = ["dep:tokio"]

[lib]
name = "highlandcows_eventkit"
path = "src/lib.rs"

[[test]]
name = "builder"
path = "tests/builder.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[[test]]
name = "types"
path = "tests/types.rs"

[dependencies.tokio]
version = "1"
features = ["sync"]
optional = true

[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"

[target.'cfg(target_os = "macos")'.dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"

[target.'cfg(target_os = "macos")'.dependencies.objc2-event-kit]
version = "0.3.2"
features = [
    "EKEventStore",
    "EKReminder",
    "EKCalendar",
    "EKCalendarItem",
    "EKObject",
    "EKTypes",
    "EKError",
    "EKSource",
]

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
    "NSArray",
    "NSCalendar",
    "NSDate",
    "NSError",
    "NSPredicate",
    "NSString",
    "NSTimeZone",
    "NSURL",
]

[target.'cfg(target_os = "macos")'.dependencies.thiserror]
version = "1"
