postvak-core 0.5.0

Postvak's sync, store, rules and daemon, shared by its command line, window and MCP server
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.99"
name = "postvak-core"
version = "0.5.0"
build = false
include = [
    "/LICENSE-*",
    "/migrations/**",
    "/src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postvak's sync, store, rules and daemon, shared by its command line, window and MCP server"
homepage = "https://postvak.pataar.nl/"
documentation = "https://postvak.pataar.nl/"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/postvak-app/postvak"

[features]
testing = ["dep:tempfile"]

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

[dependencies.anyhow]
version = "1"

[dependencies.async-imap]
version = "0.12"
features = ["runtime-tokio"]
default-features = false

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

[dependencies.directories]
version = "6"

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.humantime]
version = "2"

[dependencies.keyring-core]
version = "1"

[dependencies.log]
version = "0.4"

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

[dependencies.notify-rust]
version = "4"

[dependencies.regex]
version = "1"

[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]

[dependencies.rusqlite_migration]
version = "2"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
default-features = false

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_rusqlite]
version = "0.43"

[dependencies.signal-hook]
version = "0.4"
default-features = false

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "time",
    "macros",
]

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
    "logging",
]
default-features = false

[dependencies.toml]
version = "1"

[dependencies.toml_edit]
version = "0.25"

[dependencies.ureq]
version = "3"
features = ["rustls"]
default-features = false

[dependencies.url]
version = "2"

[dependencies.webpki-roots]
version = "1"

[dependencies.zeroize]
version = "1"

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

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

[target.'cfg(target_os = "linux")'.dependencies.zbus-secret-service-keyring-store]
version = "1"
features = ["rt-tokio-crypto-rust"]

[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1"
features = ["keychain"]

[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "deny"