Cargo.toml

4fddc50d6d9f3d82220a4e3264d792d54fc940cf
weechat-matrix-rs/Cargo.toml history · blame · raw

62 lines · 1796 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]
11maintainer = "Damir Jelić <poljar@termina.org.uk>"
12copyright = "2019-2024, Damir Jelić <poljar@termina.org.uk>"
13extended-description = """\
14WeeChat plugin for the Matrix protocol built with the Matrix Rust SDK.
15Provides native Matrix support within WeeChat, allowing you to chat
16on Matrix from your favourite IRC client."""
17section = "net"
18priority = "optional"
19depends = "$auto, weechat-plugins"
20assets = [
21    ["target/release/libmatrix.so", "usr/lib/weechat/plugins/matrix.so", "755"],
22]
23
24[lib]
25name = "matrix"
26crate-type = ["cdylib"]
27
28[features]
29default = []
30
31[dependencies]
32clap = "2.34.0"
33chrono = "0.4.22"
34dashmap = "6.1.0"
35url = "2.3.1"
36serde_json = "1.0.85"
37strum = { version = "0.24.0", features = ["derive"] }
38tokio = { version = "1.21.1", features = ["rt-multi-thread", "sync"] }
39tracing = "0.1.36"
40tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
41uuid = { version = "1.1.2", features = ["v4"] }
42unicode-segmentation = "1.10.0"
43
44# Auto-select version from matrix-sdk
45qrcode = { version = "*", default-features = false }
46image = { version = "*", default-features = false, features = ["jpeg"] }
47
48[dependencies.weechat]
49git = "https://github.com/poljar/rust-weechat"
50features = ["async", "config_macro"]
51
52[build-dependencies.weechat-sys]
53git = "https://github.com/poljar/rust-weechat"
54
55[dependencies.matrix-sdk]
56version = "0.14.0"
57# git = "https://github.com/matrix-org/matrix-rust-sdk.git"
58# rev = "92192c549b3f53889c23954386743867a73b31b1"
59features = ["markdown", "socks", "qrcode"]
60
61[profile.dev.package]
62sha2 = { opt-level = 2 }