Skip to content

Lightweight native Discord client for Windows, Linux and macOS, written in Rust. No Electron, no browser engine.

1.3 KB
Raw Blame
[workspace]
resolver = "2"
members = ["crates/discord", "crates/rencord", "crates/voice", "apps/rustcord", "apps/setup"]

[workspace.package]
version = "0.4.43"
edition = "2021"
license = "PolyForm-Noncommercial-1.0.0"

# Dependencies (egui, image and audio decoding, crypto) are optimised even in
# debug builds, otherwise drawing, decoding and voice crawl.
[profile.dev.package."*"]
opt-level = 2

[profile.release]
lto = "thin"
strip = true

# The voice crate's patched dependencies (from Serein, see crates/voice/NOTICE.md):
# davey without openmls' `js` feature, hpke-rs with a security backport.
[patch.crates-io]
davey = { path = "crates/voice/vendor/davey" }
hpke-rs = { path = "crates/voice/vendor/hpke-rs" }
# egui_glow 0.29.1 with text shaded like Chrome's (see crates/vendor/egui_glow/src/painter.rs).
egui_glow = { path = "crates/vendor/egui_glow" }
# egui-winit 0.29.1 that keeps text typed with AltGr as Ctrl + Alt on Windows
# (see on_keyboard_input in crates/vendor/egui-winit/src/lib.rs).
egui-winit = { path = "crates/vendor/egui-winit" }
# epaint 0.29.1 with text laid out like a browser: sizes and glyph advances not
# rounded to whole pixels, GPOS kerning, and shaped, right-to-left Arabic and
# Hebrew (see crates/vendor/epaint/src/text).
epaint = { path = "crates/vendor/epaint" }