[package] name = "deltachat" version = "1.71.0" authors = ["Delta Chat Developers (ML) "] edition = "2018" license = "MPL-2.0" resolver = "2" [profile.dev] debug = 0 [profile.release] lto = true [patch.crates-io] rusqlite = { git = "https://github.com/rusqlite/rusqlite", branch="master" } [dependencies] deltachat_derive = { path = "./deltachat_derive" } ansi_term = { version = "0.12.1", optional = true } anyhow = "1" async-imap = { git = "https://github.com/async-email/async-imap" } async-native-tls = { version = "0.3" } async-smtp = { git = "https://github.com/async-email/async-smtp", branch="master", features = ["socks5"] } async-std-resolver = "0.20" async-std = { version = "1", features = ["unstable"] } async-tar = { version = "0.4", default-features=false } async-trait = "0.1" backtrace = "0.3" base64 = "0.13" bitflags = "1.3" byteorder = "1.3" chrono = "0.4" dirs = { version = "4", optional=true } email = { git = "https://github.com/deltachat/rust-email", branch = "master" } encoded-words = { git = "https://github.com/async-email/encoded-words", branch="master" } escaper = "0.1" futures = "0.3" hex = "0.4.0" image = { version = "0.23.5", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] } kamadak-exif = "0.5" lettre_email = { git = "https://github.com/deltachat/lettre", branch = "master" } libc = "0.2" log = {version = "0.4.8", optional = true } mailparse = "0.13" native-tls = "0.2" num_cpus = "1.13" num-derive = "0.3" num-traits = "0.2" once_cell = "1.9.0" percent-encoding = "2.0" pgp = { version = "0.7", default-features = false } pretty_env_logger = { version = "0.4", optional = true } quick-xml = "0.22" r2d2 = "0.8" r2d2_sqlite = "0.19" rand = "0.7" regex = "1.5" rusqlite = { version = "0.26", features = ["sqlcipher"] } rust-hsluv = "0.1" rustyline = { version = "9", optional = true } sanitize-filename = "0.3" serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } sha-1 = "0.10" sha2 = "0.10" smallvec = "1" stop-token = "0.7" strum = "0.23" strum_macros = "0.23" surf = { version = "2.3", default-features = false, features = ["h1-client"] } thiserror = "1" toml = "0.5" url = "2" uuid = { version = "0.8", features = ["serde", "v4"] } fast-socks5 = "0.4" humansize = "1" qrcodegen = "1.7.0" tagger = "4.2.1" textwrap = "0.14.2" zip = { version = "0.5.13", default-features = false, features = ["deflate"] } [dev-dependencies] ansi_term = "0.12.0" async-std = { version = "1", features = ["unstable", "attributes"] } criterion = "0.3" futures-lite = "1.12" log = "0.4" pretty_env_logger = "0.4" proptest = { version = "1", default-features = false, features = ["std"] } tempfile = "3" [workspace] members = [ "deltachat-ffi", "deltachat_derive", ] [[example]] name = "simple" path = "examples/simple.rs" required-features = ["repl"] [[example]] name = "repl" path = "examples/repl/main.rs" required-features = ["repl"] [[bench]] name = "create_account" harness = false [[bench]] name = "contacts" harness = false [[bench]] name = "search_msgs" harness = false [features] default = ["vendored"] internals = [] repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"] vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored", "rusqlite/bundled-sqlcipher-vendored-openssl"] nightly = ["pgp/nightly"]