Cargo.toml

8454dcd1674dfb48ab4ee615134e2d4d5fc04fa7
weechat-matrix-rs/Cargo.toml history · blame · raw

68 lines · 1964 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"
36chrono = "0.4.22"
37dashmap = "6.1.0"
38url = "2.3.1"
39serde_json = "1.0.85"
40strum = { version = "0.24.0", features = ["derive"] }
41tokio = { version = "1.21.1", features = ["rt-multi-thread", "sync"] }
42tracing = "0.1.36"
43tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
44uuid = { version = "1.1.2", features = ["v4"] }
45unicode-segmentation = "1.10.0"
46futures-util = "0.3"
47ruma-html = { version = "0.5.0", features = ["matrix"] }
48
49# Auto-select version from matrix-sdk
50qrcode = { version = "*", default-features = false }
51image = { version = "*", default-features = false, features = ["jpeg"] }
52mime_guess = "2.0"
53
54[dependencies.weechat]
55git = "https://github.com/poljar/rust-weechat"
56features = ["async", "config_macro"]
57
58[build-dependencies.weechat-sys]
59git = "https://github.com/poljar/rust-weechat"
60
61[dependencies.matrix-sdk]
62version = "0.14.0"
63# git = "https://github.com/matrix-org/matrix-rust-sdk.git"
64# rev = "92192c549b3f53889c23954386743867a73b31b1"
65features = ["markdown", "socks", "qrcode", "sso-login"]
66
67[profile.dev.package]
68sha2 = { opt-level = 2 }