Cargo.toml
139 lines · 3846 bytes
1[package]
2name = "iamb"
3version = "0.0.11"
4edition = "2018"
5authors = ["Ulyssa <git@ulyssa.dev>"]
6repository = "https://github.com/ulyssa/iamb"
7homepage = "https://iamb.chat"
8readme = "README.md"
9description = "A Matrix chat client that uses Vim keybindings"
10license = "Apache-2.0"
11exclude = [".github", "CONTRIBUTING.md"]
12keywords = ["matrix", "chat", "tui", "vim"]
13categories = ["command-line-utilities"]
14rust-version = "1.93"
15build = "build.rs"
16
17[features]
18default = ["bundled", "desktop"]
19bundled = ["matrix-sdk/bundled-sqlite"]
20desktop = ["dep:notify-rust", "modalkit/clipboard"]
21
22[build-dependencies.vergen-gitcl]
23version = "9"
24default-features = false
25features = ["build"]
26
27[dependencies]
28anyhow = "1.0"
29bitflags = "2.3"
30chrono = "0.4"
31clap = {version = "^4.6", features = ["derive"]}
32clap_complete = "^4.6"
33css-color-parser = "0.1.2"
34dirs = "6.0"
35edit = "0.1.4"
36emojis = "0.8"
37feruca = "0.11"
38futures = "0.3"
39gethostname = "1.1"
40html5ever = "0.39.0"
41http-serde = "2.1.1"
42humansize = "2.0.0"
43image = "0.25.6"
44libc = "0.2"
45linkify = "0.11.0"
46markup5ever_rcdom = "0.39"
47mime = "0.3.16"
48mime_guess = "2.0.4"
49nom = "8.0"
50open = "5.0.0"
51rand = "0.10"
52ratatui = "0.29.0"
53ratatui-image = { version = "8.0", features = ["serde"] }
54regex = "1.5"
55rpassword = "7.2"
56serde = "1.0"
57serde_json = "1.0"
58shellexpand = "3.1"
59sled = "0.34.7"
60temp-dir = "0.2"
61thiserror = "2.0"
62toml = "1.1"
63tracing = "0.1.36"
64tracing-appender = "0.2.2"
65tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
66unicode-segmentation = "1.7"
67unicode-width = "0.2"
68url = {version = "2.2.2", features = ["serde"]}
69
70[dependencies.comrak]
71version = "0.52.0"
72default-features = false
73features = ["shortcodes"]
74
75[dependencies.notify-rust]
76version = "4.12"
77optional = true
78
79[dependencies.modalkit]
80version = "0.0.25"
81default-features = false
82#git = "https://github.com/ulyssa/modalkit"
83#rev = "e40dbb0bfeabe4cfd08facd2acb446080a330d75"
84
85[dependencies.modalkit-ratatui]
86version = "0.0.25"
87#git = "https://github.com/ulyssa/modalkit"
88#rev = "e40dbb0bfeabe4cfd08facd2acb446080a330d75"
89
90[dependencies.matrix-sdk]
91version = "0.18.0"
92default-features = false
93features = ["e2e-encryption", "socks", "sqlite", "sso-login"]
94
95[dependencies.matrix-sdk-crypto]
96version = "0.18.0"
97
98[dependencies.tokio]
99version = "1.24.1"
100features = ["macros", "net", "rt-multi-thread", "sync", "time"]
101
102[dev-dependencies]
103lazy_static = "1.4.0"
104pretty_assertions = "1.4.0"
105
106[profile.release-lto]
107inherits = "release"
108incremental = false
109lto = true
110
111[package.metadata.deb]
112section = "net"
113license-file = ["LICENSE", "0"]
114assets = [
115 # Binary:
116 ["target/release/iamb", "usr/bin/iamb", "755"],
117 # Manual pages:
118 ["docs/iamb.1", "usr/share/man/man1/iamb.1", "644"],
119 ["docs/iamb.5", "usr/share/man/man5/iamb.5", "644"],
120 # Other assets:
121 ["iamb.desktop", "usr/share/applications/iamb.desktop", "644"],
122 ["config.example.toml", "usr/share/iamb/config.example.toml", "644"],
123 ["docs/iamb.svg", "usr/share/icons/hicolor/scalable/apps/iamb.svg", "644"],
124 ["docs/iamb.metainfo.xml", "usr/share/metainfo/iamb.metainfo.xml", "644"],
125]
126
127[package.metadata.generate-rpm]
128assets = [
129 # Binary:
130 { source = "target/release/iamb", dest = "/usr/bin/iamb", mode = "755" },
131 # Manual pages:
132 { source = "docs/iamb.1", dest = "/usr/share/man/man1/iamb.1", mode = "644" },
133 { source = "docs/iamb.5", dest = "/usr/share/man/man5/iamb.5", mode = "644" },
134 # Other assets:
135 { source = "iamb.desktop", dest = "/usr/share/applications/iamb.desktop", mode = "644" },
136 { source = "config.example.toml", dest = "/usr/share/iamb/config.example.toml", mode = "644"},
137 { source = "docs/iamb.svg", dest = "/usr/share/icons/hicolor/scalable/apps/iamb.svg", mode = "644"},
138 { source = "docs/iamb.metainfo.xml", dest = "/usr/share/metainfo/iamb.metainfo.xml", mode = "644"},
139]