Files
jcoffey-dev 78da6d3526 Calendars: build calcard from a vendored copy
The server now builds calcard, its iCalendar and vCard library, from
vendor/calcard instead of crates.io, patched in with [patch.crates-io]
like sieve-rs, so it can carry fixes to it. The copy is the published
0.3.14 with the same checksum Cargo.lock had, under Apache-2.0 OR MIT;
its 26 MB of test samples are left out. Nothing changes in how the
server behaves: Cargo.lock only drops calcard's registry source.

Test: the workspace builds, calcard's own tests pass from vendor/calcard
(52; the six that read the left-out samples are skipped), and the webdav
suite passes.
2026-10-29 06:09:09 -07:00

117 lines
2.2 KiB
TOML

# 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 = "2024"
name = "calcard"
version = "0.3.14"
authors = ["Stalwart Labs <[email protected]>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "iCalendar/JSCalendar and vCard/JSContact parsing, building and conversion library for Rust"
homepage = "https://github.com/stalwartlabs/calcard"
readme = "README.md"
keywords = [
"icalendar",
"vcard",
"jscalendar",
"jscontact",
"parser",
]
categories = [
"date-and-time",
"email",
"parser-implementations",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/stalwartlabs/calcard"
resolver = "2"
[features]
default = ["jmap"]
jmap = [
"jmap-tools",
"uuid",
"serde",
"serde_json",
]
rkyv = ["dep:rkyv"]
serde = [
"dep:serde",
"chrono/serde",
]
wasm = ["hashify/force-32bit"]
[lib]
name = "calcard"
path = "src/lib.rs"
doctest = false
[dependencies.ahash]
version = "0.8.11"
[dependencies.chrono]
version = "0.4.40"
[dependencies.chrono-tz]
version = "0.10.3"
[dependencies.hashify]
version = "0.2.7"
[dependencies.jmap-tools]
version = "0.1"
optional = true
[dependencies.mail-builder]
version = "1.0.0"
default-features = false
[dependencies.mail-parser]
version = "0.11"
[dependencies.rkyv]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.uuid]
version = "1.26"
features = ["v5"]
optional = true
default-features = false
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.rkyv]
version = "0.8"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"