# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.70" name = "iamb" version = "0.0.10" authors = ["Ulyssa "] build = "build.rs" exclude = [ ".github", "CONTRIBUTING.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Matrix chat client that uses Vim keybindings" homepage = "https://iamb.chat" readme = "README.md" keywords = [ "matrix", "chat", "tui", "vim", ] categories = ["command-line-utilities"] license = "Apache-2.0" repository = "https://github.com/ulyssa/iamb" [package.metadata.deb] assets = [ [ "target/release/iamb", "usr/bin/iamb", "755", ], [ "docs/iamb.1", "usr/share/man/man1/iamb.1", "644", ], [ "docs/iamb.5", "usr/share/man/man5/iamb.5", "644", ], [ "iamb.desktop", "usr/share/applications/iamb.desktop", "644", ], [ "config.example.toml", "usr/share/iamb/config.example.toml", "644", ], [ "docs/iamb.svg", "usr/share/icons/hicolor/scalable/apps/iamb.svg", "644", ], [ "docs/iamb.metainfo.xml", "usr/share/metainfo/iamb.metainfo.xml", "644", ], ] license-file = [ "LICENSE", "0", ] section = "net" [[package.metadata.generate-rpm.assets]] dest = "/usr/bin/iamb" mode = "755" source = "target/release/iamb" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/man/man1/iamb.1" mode = "644" source = "docs/iamb.1" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/man/man5/iamb.5" mode = "644" source = "docs/iamb.5" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/applications/iamb.desktop" mode = "644" source = "iamb.desktop" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/iamb/config.example.toml" mode = "644" source = "config.example.toml" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/icons/hicolor/scalable/apps/iamb.svg" mode = "644" source = "docs/iamb.svg" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/metainfo/iamb.metainfo.xml" mode = "644" source = "docs/iamb.metainfo.xml" [profile.release-lto] lto = true incremental = false inherits = "release" [[bin]] name = "iamb" path = "src/main.rs" [dependencies.anyhow] version = "1.0" [dependencies.bitflags] version = "^2.3" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "~4.3" features = ["derive"] [dependencies.comrak] version = "0.22.0" features = ["shortcodes"] default-features = false [dependencies.css-color-parser] version = "0.1.2" [dependencies.dirs] version = "4.0.0" [dependencies.edit] version = "0.1.4" [dependencies.emojis] version = "0.5" [dependencies.futures] version = "0.3" [dependencies.gethostname] version = "0.4.1" [dependencies.html5ever] version = "0.26.0" [dependencies.humansize] version = "2.0.0" [dependencies.image] version = "0.24.5" [dependencies.libc] version = "0.2" [dependencies.markup5ever_rcdom] version = "0.2.0" [dependencies.matrix-sdk] version = "0.7.1" features = [ "e2e-encryption", "sqlite", "sso-login", ] default-features = false [dependencies.mime] version = "^0.3.16" [dependencies.mime_guess] version = "^2.0.4" [dependencies.modalkit] version = "0.0.20" default-features = false [dependencies.modalkit-ratatui] version = "0.0.20" [dependencies.nom] version = "7.0.0" [dependencies.notify-rust] version = "4.10.0" features = [ "zbus", "serde", ] optional = true default-features = false [dependencies.open] version = "3.2.0" [dependencies.rand] version = "0.8.5" [dependencies.ratatui] version = "0.26" [dependencies.ratatui-image] version = "1.0.0" features = ["serde"] [dependencies.regex] version = "^1.5" [dependencies.rpassword] version = "^7.2" [dependencies.serde] version = "^1.0" [dependencies.serde_json] version = "^1.0" [dependencies.sled] version = "0.34.7" [dependencies.temp-dir] version = "0.1.12" [dependencies.thiserror] version = "^1.0.37" [dependencies.tokio] version = "1.24.1" features = [ "macros", "net", "rt-multi-thread", "sync", "time", ] [dependencies.toml] version = "^0.8.12" [dependencies.tracing] version = "~0.1.36" [dependencies.tracing-appender] version = "~0.2.2" [dependencies.tracing-subscriber] version = "0.3.16" [dependencies.unicode-segmentation] version = "^1.7" [dependencies.unicode-width] version = "0.1.10" [dependencies.url] version = "^2.2.2" features = ["serde"] [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.pretty_assertions] version = "1.4.0" [build-dependencies.vergen] version = "8" features = [ "build", "git", "gitcl", ] default-features = false [features] bundled = [ "matrix-sdk/bundled-sqlite", "rustls-tls", ] default = [ "bundled", "desktop", ] desktop = [ "dep:notify-rust", "modalkit/clipboard", ] native-tls = ["matrix-sdk/native-tls"] rustls-tls = ["matrix-sdk/rustls-tls"]