# 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 = "2021" name = "mml-lib" version = "1.1.0" authors = ["soywod "] description = "Rust implementation of the Emacs MIME message Meta Language (MML)" homepage = "https://pimalaya.org/" documentation = "https://docs.rs/mml-lib/latest/mml/" readme = "README.md" keywords = [ "email", "mime", "message", "mml", "emacs", ] categories = [ "asynchronous", "email", "text-processing", ] license = "MIT" repository = "https://github.com/pimalaya/core/tree/master/mml/" [package.metadata.docs.rs] features = [ "command", "keyring", "derive", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "mml" [dependencies.async-recursion] version = "1" [dependencies.chumsky] version = "=1.0.0-alpha.7" features = [ "std", "label", ] optional = true default-features = false [dependencies.gpgme] version = "0.11" optional = true [dependencies.mail-builder] version = "0.3" [dependencies.mail-parser] version = "0.9" [dependencies.nanohtml2text] version = "0.1" optional = true [dependencies.pgp-lib] version = "1" features = ["key-discovery"] optional = true default-features = false [dependencies.process-lib] version = "1" optional = true default-features = false [dependencies.secret-lib] version = "1" optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.shellexpand-utils] version = "=0.2.1" optional = true [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dependencies.tree_magic_mini] version = "3" optional = true [dev-dependencies.concat-with] version = "0.2" [dev-dependencies.tempfile] version = "3.8" [dev-dependencies.test-log] version = "0.2" features = [ "color", "trace", ] default-features = false [dev-dependencies.tokio] version = "1.23" features = ["full"] [features] async-std = [ "pgp-lib?/async-std", "process-lib?/async-std", "secret-lib?/async-std", ] command = ["secret-lib?/command"] compiler = [ "dep:chumsky", "dep:shellexpand-utils", "dep:tree_magic_mini", ] default = [ "tokio", "rustls", "compiler", "interpreter", ] derive = [ "dep:serde", "process-lib?/derive", "secret-lib?/derive", ] interpreter = ["dep:nanohtml2text"] keyring = ["secret-lib?/keyring"] native-tls = [ "pgp-lib?/native-tls", "secret-lib?/openssl", ] pgp = [] pgp-commands = [ "dep:process-lib", "pgp", ] pgp-gpg = [ "dep:gpgme", "pgp", ] pgp-native = [ "dep:pgp-lib", "dep:secret-lib", "dep:shellexpand-utils", "pgp", ] rustls = [ "pgp-lib?/rustls", "secret-lib?/rustls", ] tokio = [ "pgp-lib?/tokio", "process-lib?/tokio", "secret-lib?/tokio", ] vendored = [ "pgp-lib?/vendored", "secret-lib?/vendored", ]