neverest 0.2.0

CLI to synchronize PIM collections: mail, contact, calendar…
# 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.89"
name = "neverest"
version = "0.2.0"
authors = ["Clément DOUIN (soywod) <clement.douin@posteo.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI to synchronize PIM collections: mail, contact, calendar…"
homepage = "https://pimalaya.org"
readme = "README.md"
keywords = [
    "cli",
    "email",
    "contacts",
    "imap",
    "sync",
]
categories = [
    "command-line-utilities",
    "email",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pimalaya/neverest"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
dav = [
    "dep:io-webdav",
    "dep:io-http",
    "dep:ical-rs",
    "dep:vcard-rs",
    "io-pim-discovery/rfc6764",
]
default = [
    "rustls-ring",
    "imap",
    "smtp",
    "dav",
]
imap = [
    "dep:io-imap",
    "io-imap/client",
    "io-imap/scram",
]
msgraph = [
    "dep:io-msgraph",
    "io-msgraph/client",
]
native-tls = [
    "pimalaya-stream/native-tls",
    "io-pim-discovery/native-tls",
    "io-webdav?/native-tls",
    "io-imap?/native-tls",
    "io-msgraph?/native-tls",
    "io-smtp?/native-tls",
]
rustls-aws = [
    "pimalaya-stream/rustls-aws",
    "io-pim-discovery/rustls-aws",
    "io-webdav?/rustls-aws",
    "io-imap?/rustls-aws",
    "io-msgraph?/rustls-aws",
    "io-smtp?/rustls-aws",
]
rustls-ring = [
    "pimalaya-stream/rustls-ring",
    "io-pim-discovery/rustls-ring",
    "io-webdav?/rustls-ring",
    "io-imap?/rustls-ring",
    "io-msgraph?/rustls-ring",
    "io-smtp?/rustls-ring",
]
smtp = [
    "dep:io-smtp",
    "io-smtp/client",
    "io-smtp/scram",
]
vendored = [
    "io-pimdir/vendored",
    "pimalaya-config/vendored",
    "pimalaya-stream/vendored",
    "io-webdav?/vendored",
    "io-imap?/vendored",
    "io-msgraph?/vendored",
    "io-smtp?/vendored",
]

[[bin]]
name = "neverest"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.crossterm]
version = "0.29"
features = ["serde"]
default-features = false

[dependencies.dirs]
version = "7"

[dependencies.ical-rs]
version = "0.5"
optional = true

[dependencies.io-http]
version = "0.5"
optional = true
default-features = false

[dependencies.io-imap]
version = "0.6"
optional = true
default-features = false

[dependencies.io-msgraph]
version = "0.3"
optional = true
default-features = false

[dependencies.io-pim-discovery]
version = "0.7"
features = [
    "pacc",
    "autoconfig",
    "rfc6186",
]
default-features = false

[dependencies.io-pimdir]
version = "0.5"
features = ["client"]
default-features = false

[dependencies.io-sasl]
version = "0.1"
features = [
    "saslprep",
    "scram",
]
default-features = false

[dependencies.io-smtp]
version = "0.3"
optional = true
default-features = false

[dependencies.io-webdav]
version = "0.3"
optional = true
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.mail-parser]
version = "0.11"
features = ["serde"]

[dependencies.percent-encoding]
version = "2"

[dependencies.pimalaya-cli]
version = "0.2"
features = [
    "terminal",
    "prompt",
    "wizard",
    "spinner",
    "imap",
    "smtp",
]
default-features = false

[dependencies.pimalaya-config]
version = "0.2"
features = [
    "toml",
    "secret",
]
default-features = false

[dependencies.pimalaya-stream]
version = "0.3"
default-features = false

[dependencies.rfc2047-decoder]
version = "1"

[dependencies.schemars]
version = "1"

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.shellexpand]
version = "3.1"

[dependencies.tempfile]
version = "3"

[dependencies.toml]
version = "1.1"

[dependencies.url]
version = "2.2"
features = ["serde"]

[dependencies.vcard-rs]
version = "0.4"
optional = true

[build-dependencies.pimalaya-cli]
version = "0.2"
features = ["build"]
default-features = false

[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"