-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
86 lines (76 loc) · 2.61 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "matrix-commander"
version = "0.10.0"
edition = "2021"
description = "simple but convenient CLI-based Matrix client app for sending and receiving"
documentation = "https://docs.rs/matrix-commander"
readme = "README.md"
homepage = "https://github.com/8go/matrix-commander-rs"
repository = "https://github.com/8go/matrix-commander-rs/"
license = "GPL-3.0-or-later"
# crates.io only allows 5 keywords
keywords = ["Matrix", "cli", "command-line-tool", "tool", "messaging"]
categories = ["command-line-utilities", "network-programming"]
exclude = ["todo.txt", ".*"]
publish = true
[dependencies]
clap = { version = "4.5", features = [
"derive",
"color",
"wrap_help",
"unicode",
] }
colored = "2.1"
directories = "5.0"
futures-util = "0.3"
json = "0.12"
# matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk , features = ["markdown", "anyhow"] }
matrix-sdk = { version = "0.7", features = [
"markdown",
"anyhow",
"bundled-sqlite",
] }
mime = "0.3"
mime_guess = "2.0"
#
# create openssl dependency for cross compilation.
# this removes dependencies on architecture specific openssl files.
# see: https://stackoverflow.com/questions/54775076/how-to-cross-compile-a-rust-project-with-openssl
# see: https://github.com/cross-rs/cross/issues/229
# see: https://stackoverflow.com/questions/68871193/pkg-config-error-during-rust-cross-compilation
openssl = { version = '0.10', features = ["vendored"] }
regex = "1.11"
reqwest = "0.12"
rpassword = "7.3"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1.41", default-features = false, features = [
"rt-multi-thread",
"macros",
] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
update-informer = "1.1"
url = { version = "2.5", features = ["serde"] }
[dev-dependencies]
# "matrix-commander-rs" will be the Rust program
# to perform tests on async functions
tokio-test = "0.4"
# this is to distinguish it from "matrix-commander" which is the Python program
# For people that have both Python and Rust installed:
# "matrix-commander" will remain the Python program
[[bin]]
name = "matrix-commander-rs"
path = "src/main.rs"
# https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
[badges]
# The author wants to share it with the community but is not intending to meet anyone's particular use case.
maintenance = { status = "experimental" }
[profile.release]
strip = "symbols"
lto = true
[profile.release-tiny]
inherits = "release"
opt-level = "s"