# 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" rust-version = "1.60" name = "icalendar" version = "0.16.2" authors = ["Hendrik Sollich "] build = false exclude = [ "fixtures", ".github", ".gitignore", "*.json", ] 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-rs" [package.metadata.docs.rs] all-features = true [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 = "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 = "readme" path = "examples/readme.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_fixtures" path = "tests/parse_fixtures.rs" [[test]] name = "reserialize" path = "tests/reserialize.rs" [[test]] name = "try_into_string" path = "tests/try_into_string.rs" [dependencies.chrono] version = "0.4" features = [ "clock", "std", "wasmbind", ] default-features = false [dependencies.chrono-tz] version = "0.9" optional = true [dependencies.iso8601] version = "0.6" [dependencies.nom] version = "7" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dev-dependencies.pretty_assertions] version = "1" [features] default = ["parser"] parser = ["dep:nom"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid] version = "1.8" features = ["v4"] [target.'cfg(target_arch = "wasm32")'.dependencies.uuid] version = "1.8" features = [ "v4", "js", ]