-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
54 lines (47 loc) · 1.85 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "mml-cli"
description = "CLI to convert MIME messages into/from Emacs MIME Meta Language"
version = "1.0.0"
authors = ["soywod <clement.douin@posteo.net>"]
edition = "2021"
license = "MIT"
categories = ["command-line-utilities", "email", "text-processing"]
keywords = ["email", "mime", "message", "mml", "emacs"]
homepage = "https://pimalaya.org/"
documentation = "https://github.com/pimalaya/mml/"
repository = "https://github.com/pimalaya/mml/"
[package.metadata.docs.rs]
features = ["pgp-native"]
rustdoc-args = ["--cfg", "docsrs"]
[[bin]]
name = "mml"
path = "src/main.rs"
[features]
default = ["compiler", "interpreter", "pgp-commands"]
compiler = ["dep:ariadne", "mml-lib/compiler"]
interpreter = ["mml-lib/interpreter"]
pgp-commands = ["mml-lib/pgp-commands"]
pgp-gpg = ["mml-lib/pgp-gpg"]
pgp-native = ["mml-lib/pgp-native"]
[build-dependencies]
pimalaya-tui = { version = "=0.1", default-features = false, features = ["build-envs"] }
[dev-dependencies]
mml-cli = { path = ".", features = ["pgp-gpg", "pgp-native"] }
[dependencies]
color-eyre = "0.6"
ariadne = { version = "0.3", optional = true }
atty = "0.2"
clap = { version = "4.3", features = ["derive"] }
clap_complete = "4.3"
clap_mangen = "0.2"
tracing = "0.1"
pimalaya-tui = { version = "=0.1", default-features = false, features = ["path", "cli", "tracing"] }
mml-lib = { version = "1", default-features = false, features = ["tokio", "rustls"] }
tokio = { version = "1.32", default-features = false, features = ["macros", "rt-multi-thread"] }
[patch.crates-io]
http-lib = { git = "https://github.com/pimalaya/core" }
mml-lib = { git = "https://github.com/pimalaya/core" }
pgp-lib = { git = "https://github.com/pimalaya/core" }
pimalaya-tui = { git = "https://github.com/pimalaya/tui" }
process-lib = { git = "https://github.com/pimalaya/core" }
secret-lib = { git = "https://github.com/pimalaya/core" }