[package] name = "deltachat" version = "1.0.0-beta.22" authors = ["Delta Chat Developers (ML) "] edition = "2018" license = "MPL-2.0" [profile.release] lto = true [dependencies] deltachat_derive = { path = "./deltachat_derive" } libc = "0.2.51" pgp = { version = "0.4.0", default-features = false } hex = "0.4.0" sha2 = "0.8.0" rand = "0.7.0" smallvec = "1.0.0" reqwest = { version = "0.10.0", features = ["blocking", "json"] } num-derive = "0.3.0" num-traits = "0.2.6" async-smtp = { git = "https://github.com/async-email/async-smtp" } email = { git = "https://github.com/deltachat/rust-email", branch = "master" } lettre_email = { git = "https://github.com/deltachat/lettre", branch = "master" } # XXX newer commits of async-imap lead to import-export tests hanging async-imap = { git = "https://github.com/async-email/async-imap", branch = "dcc-stable" } async-native-tls = "0.1.1" async-std = { version = "1.0", features = ["unstable"] } base64 = "0.11" charset = "0.1" percent-encoding = "2.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" chrono = "0.4.6" failure = "0.1.5" failure_derive = "0.1.5" indexmap = "1.3.0" # TODO: make optional rustyline = "4.1.0" lazy_static = "1.4.0" regex = "1.1.6" rusqlite = { version = "0.21", features = ["bundled"] } r2d2_sqlite = "0.13.0" r2d2 = "0.8.5" strum = "0.16.0" strum_macros = "0.16.0" thread-local-object = "0.1.0" backtrace = "0.3.33" byteorder = "1.3.1" itertools = "0.8.0" image-meta = "0.1.0" quick-xml = "0.17.1" escaper = "0.1.0" bitflags = "1.1.0" debug_stub_derive = "0.3.0" sanitize-filename = "0.2.1" stop-token = { version = "0.1.1", features = ["unstable"] } mailparse = "0.10.2" encoded-words = { git = "https://github.com/async-email/encoded-words", branch="master" } native-tls = "0.2.3" image = { version = "0.22.4", default-features=false, features = ["gif_codec", "jpeg", "ico", "png_codec", "pnm", "webp", "bmp"] } [dev-dependencies] tempfile = "3.0" pretty_assertions = "0.6.1" pretty_env_logger = "0.3.0" proptest = "0.9.4" [workspace] members = [ "deltachat-ffi", "deltachat_derive", ] [[example]] name = "simple" path = "examples/simple.rs" [[example]] name = "repl" path = "examples/repl/main.rs" [features] default = ["nightly", "ringbuf"] vendored = ["native-tls/vendored", "reqwest/native-tls-vendored"] nightly = ["pgp/nightly"] ringbuf = ["pgp/ringbuf"]