Skip to content

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

1.2 KB
Raw Blame
[package]
name = "rustcord-setup"
description = "RustCord's Windows installer and uninstaller"
version.workspace = true
edition.workspace = true
license.workspace = true

# Three programs: RustCordSetup (carries rustcord.exe and the uninstaller
# inside it, compressed), the small uninstaller it leaves in the install
# folder, and the build step that does the compressing.
# Build it all with build-installer.cmd at the repository root.
[[bin]]
name = "rustcord-setup"
path = "src/main.rs"

[[bin]]
name = "rustcord-uninstall"
path = "src/bin/uninstall.rs"

[[bin]]
name = "rustcord-pack"
path = "src/bin/pack.rs"

[dependencies]
flate2 = "1"

[build-dependencies]
embed-resource = "2"

[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Credentials",
    "Win32_Storage_FileSystem",
    "Win32_System_Com",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_LibraryLoader",
    "Win32_System_Registry",
    "Win32_System_SystemInformation",
    "Win32_System_Threading",
    "Win32_UI_Controls",
    "Win32_UI_Shell",
    "Win32_UI_Shell_Common",
    "Win32_UI_WindowsAndMessaging",
] }