vstorage 0.6.0

Common API for various icalendar/vcard storages.
Documentation
# 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"
rust-version = "1.86.0"
name = "vstorage"
version = "0.6.0"
authors = ["Hugo Osvaldo Barrera <hugo@whynothugo.nl>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common API for various icalendar/vcard storages."
homepage = "https://sr.ht/~whynothugo/pimsync/"
readme = "README.md"
keywords = [
    "vdir",
    "filesystem",
    "icalendar",
    "caldav",
]
license = "EUPL-1.2"
repository = "https://git.sr.ht/~whynothugo/vstorage"

[features]
default = ["jmap"]
jmap = [
    "dep:calcard",
    "dep:libjmap",
    "dep:serde_json",
]
jmap_test = ["jmap"]
webcal_test = []

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

[[example]]
name = "dump_caldav_storage"
path = "examples/dump_caldav_storage.rs"

[[example]]
name = "webcal_to_vdir"
path = "examples/webcal_to_vdir.rs"

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

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

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

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

[dependencies.async-trait]
version = "0.1.64"

[dependencies.calcard]
version = "0.2.0"
features = ["jmap"]
optional = true

[dependencies.camino]
version = "1.1.6"

[dependencies.futures-util]
version = "0.3.28"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1.0"

[dependencies.hyper]
version = "1"
features = [
    "http1",
    "client",
]

[dependencies.hyper-rustls]
version = "0.27.0"
features = [
    "ring",
    "http1",
    "native-tokio",
    "tls12",
    "rustls-native-certs",
]
default-features = false

[dependencies.hyper-util]
version = "0.1.1"
features = [
    "client",
    "client-legacy",
    "http1",
]

[dependencies.libdav]
version = "0.10.2"

[dependencies.libjmap]
version = "0.1.0"
optional = true

[dependencies.log]
version = "0.4.17"

[dependencies.rand]
version = "0.9"

[dependencies.rustix]
version = "1"
features = ["fs"]

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sha2]
version = "0.10.2"

[dependencies.sqlite]
version = "0.37.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.21.2"
features = [
    "io-util",
    "fs",
]

[dependencies.tower]
version = "0.5"

[dependencies.vparser]
version = "1.1.0"

[dev-dependencies.anyhow]
version = "1.0.71"

[dev-dependencies.tempfile]
version = "3.3.0"

[dev-dependencies.tokio]
version = "1.21.2"
features = ["full"]

[dev-dependencies.tower-http]
version = "0.6.2"
features = ["auth"]

[target.'cfg(target_os = "linux")'.dependencies.inotify]
version = "0.11.0"