# 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.90"
name = "imap_session"
version = "0.1.1"
authors = ["Victor Martínez Montané <jaster.victor@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A wrapper around async_imap offering a simpler way to deal with common IMAP operations"
homepage = "https://github.com/primait/imap.rs"
readme = "README.md"
keywords = [
    "imap",
    "email",
    "network",
    "deadpool",
    "pool",
]
categories = [
    "email",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/primait/imap.rs"

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

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

[dependencies.async-native-tls]
version = "0.5.0"
features = [
    "tokio",
    "runtime-tokio",
    "futures-util",
]
default-features = false

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

[dependencies.derive_more]
version = "2.1.1"
features = [
    "display",
    "from",
    "from_str",
]

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

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.serde_with]
version = "3.16.1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.50.0"
features = ["net"]

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies]
