Cargo.toml

1aebd1afe96d6b9a2f26ca598c88d5aae0ba5008
weechat-matrix-rs/Cargo.toml history · blame · raw

72 lines · 2066 bytes

 1[package]
 2name = "weechat-matrix"
 3version = "0.1.0"
 4authors = ["Damir Jelić <poljar@termina.org.uk>"]
 5edition = "2018"
 6license = "ISC"
 7resolver = "2"
 8description = "WeeChat plugin for the Matrix protocol"
 9
10[package.metadata.deb]
11name = "weechat-matrix-rs"
12maintainer = "Damir Jelić <poljar@termina.org.uk>"
13copyright = "2019-2024, Damir Jelić <poljar@termina.org.uk>"
14extended-description = """\
15WeeChat plugin for the Matrix protocol built with the Matrix Rust SDK.
16Provides native Matrix support within WeeChat, allowing you to chat
17on Matrix from your favourite IRC client."""
18section = "net"
19priority = "optional"
20depends = "$auto, weechat-plugins"
21assets = [
22    ["target/release/libmatrix.so",
23     "/usr/lib/x86_64-linux-gnu/weechat/plugins/matrix-rs.so",
24     "755"],
25]
26
27[lib]
28name = "matrix"
29crate-type = ["cdylib"]
30
31[features]
32default = []
33
34[dependencies]
35clap = "2.34.0"
36base64 = "0.22"
37chrono = "0.4.22"
38dashmap = "6.1.0"
39url = "2.3.1"
40serde_json = "1.0.85"
41serde = { version = "1.0", features = ["derive"] }
42strum = { version = "0.24.0", features = ["derive"] }
43tokio = { version = "1.21.1", features = ["rt-multi-thread", "sync", "time"] }
44tracing = "0.1.36"
45tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
46uuid = { version = "1.1.2", features = ["v4"] }
47unicode-segmentation = "1.10.0"
48futures-util = "0.3"
49ruma-html = { version = "0.8.0", features = ["matrix"] }
50
51# Auto-select version from matrix-sdk
52qrcode = { version = "*", default-features = false }
53image = { version = "*", default-features = false, features = ["jpeg"] }
54mime = "0.3"
55mime_guess = "2.0"
56sha2 = "0.10"
57
58[dependencies.weechat]
59git = "https://github.com/poljar/rust-weechat"
60features = ["async", "config_macro"]
61
62[build-dependencies.weechat-sys]
63git = "https://github.com/poljar/rust-weechat"
64
65[dependencies.matrix-sdk]
66version = "0.18.0"
67# git = "https://github.com/matrix-org/matrix-rust-sdk.git"
68# rev = "92192c549b3f53889c23954386743867a73b31b1"
69features = ["markdown", "socks", "qrcode", "sso-login"]
70
71[profile.dev.package]
72sha2 = { opt-level = 2 }