[package]
edition = "2024"
rust-version = "1.88"
name = "icalendar"
version = "0.17.13"
authors = ["Hendrik Sollich <hendrik@hoodie.de>"]
build = false
exclude = [
"fixtures",
".github",
".gitignore",
"*.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strongly typed iCalendar builder and parser."
documentation = "https://docs.rs/icalendar/"
readme = "README.md"
keywords = [
"ical",
"icalendar",
"parser",
"RFC5545",
"RFC7986",
]
categories = [
"date-and-time",
"data-structures",
"parsing",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/hoodie/icalendar"
[package.metadata.docs.rs]
all-features = true
[features]
chrono-tz = ["dep:chrono-tz"]
default = ["parser"]
parser = [
"dep:nom",
"dep:nom-language",
]
recurrence = [
"dep:rrule",
"chrono-tz",
"dep:thiserror",
]
strict-dates = []
[lib]
name = "icalendar"
path = "src/lib.rs"
[[example]]
name = "alarm"
path = "examples/alarm.rs"
[[example]]
name = "alarm_minimal"
path = "examples/alarm_minimal.rs"
[[example]]
name = "attendee_parse"
path = "examples/attendee_parse.rs"
required-features = ["parser"]
[[example]]
name = "change_status"
path = "examples/change_status.rs"
[[example]]
name = "custom_property"
path = "examples/custom_property.rs"
[[example]]
name = "default"
path = "examples/default.rs"
[[example]]
name = "example_utils"
path = "examples/example_utils.rs"
[[example]]
name = "full_circle"
path = "examples/full_circle.rs"
required-features = ["parser"]
[[example]]
name = "ical_to_json"
path = "examples/ical_to_json.rs"
required-features = [
"parser",
"serde",
"serde_json",
]
[[example]]
name = "json_to_ical"
path = "examples/json_to_ical.rs"
required-features = [
"parser",
"serde",
"serde_json",
]
[[example]]
name = "parse"
path = "examples/parse.rs"
required-features = ["parser"]
[[example]]
name = "parse_advanced"
path = "examples/parse_advanced.rs"
required-features = ["parser"]
[[example]]
name = "parsed_property"
path = "examples/custom_property_parsed.rs"
required-features = ["parser"]
[[example]]
name = "rdate"
path = "examples/rdate.rs"
required-features = [
"recurrence",
"chrono-tz",
]
[[example]]
name = "readme"
path = "examples/readme.rs"
[[example]]
name = "readme_parse"
path = "examples/readme-parse.rs"
required-features = [
"parser",
"chrono-tz",
]
[[example]]
name = "recurrence_all_day"
path = "examples/recurrence_all_day.rs"
required-features = ["recurrence"]
[[example]]
name = "recurrence_calendar_tz"
path = "examples/recurrence_calendar_tz.rs"
required-features = ["recurrence"]
[[example]]
name = "recurrence_id"
path = "examples/recurrence_id.rs"
required-features = [
"recurrence",
"chrono-tz",
]
[[example]]
name = "recurrence_parse"
path = "examples/recurrence_parse.rs"
required-features = [
"recurrence",
"parser",
]
[[example]]
name = "recurrence_with_tz"
path = "examples/recurrence_with_tz.rs"
required-features = [
"recurrence",
"chrono-tz",
]
[[example]]
name = "removing_properties"
path = "examples/removing_properties.rs"
[[example]]
name = "timezone"
path = "examples/timezone.rs"
required-features = ["chrono-tz"]
[[example]]
name = "todos"
path = "examples/todos.rs"
[[test]]
name = "alarm"
path = "tests/alarm.rs"
[[test]]
name = "calendar"
path = "tests/calendar.rs"
[[test]]
name = "folding_consistency"
path = "tests/folding_consistency.rs"
[[test]]
name = "full_circle"
path = "tests/full_circle.rs"
[[test]]
name = "parse_attendees"
path = "tests/parse_attendees.rs"
[[test]]
name = "parse_fixtures"
path = "tests/parse_fixtures.rs"
[[test]]
name = "parse_recurrence"
path = "tests/parse_recurrence.rs"
[[test]]
name = "reserialize"
path = "tests/reserialize.rs"
[[test]]
name = "todo_uid_preservation"
path = "tests/todo_uid_preservation.rs"
[[test]]
name = "try_into_string"
path = "tests/try_into_string.rs"
[dependencies.chrono]
version = "0.4.45"
features = [
"clock",
"std",
"wasmbind",
]
default-features = false
[dependencies.chrono-tz]
version = "0.10"
optional = true
[dependencies.iso8601]
version = "0.6"
[dependencies.nom]
version = "8"
optional = true
[dependencies.nom-language]
version = "0.1"
optional = true
[dependencies.rrule]
version = "0.14"
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0.150"
optional = true
[dependencies.thiserror]
version = "2.0.18"
optional = true
[dependencies.time]
version = "0.3.49"
optional = true
[dev-dependencies.pretty_assertions]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1"
features = ["v4"]
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
"v4",
"js",
]