diff --git a/Cargo.toml b/Cargo.toml index a415c5e..ee73c11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,33 @@ license = "GPLv2" repository = "https://github.com/StardustXR/stardust-xr-server/" homepage = "https://stardustxr.org" +[[bin]] +name = "stardust-xr-server" +path = "src/main.rs" + +[features] +default = ["wayland"] +wayland = ["dep:smithay", "dep:xkbcommon"] +profile_tokio = ["dep:console-subscriber", "tokio/tracing"] +profile_app = ["dep:tracing-chrome"] + +[package.metadata.appimage] +auto_link = true +auto_link_exclude_list = [ + "libc*", + "libdl*", + "libpthread*", + "ld-linux*", + "libGL*", + "libEGL*" +] + +[profile.dev.package."*"] +opt-level = 3 +[profile.release] +strip = true +lto = true + [dependencies] color-eyre = { version = "0.6.2", default-features = false } clap = { version = "4.2.4", features = ["derive"] } @@ -53,18 +80,6 @@ optional = true version = "0.7.1" optional = true -[features] -default = ["wayland"] -wayland = ["dep:smithay", "dep:xkbcommon"] -profile_tokio = ["dep:console-subscriber", "tokio/tracing"] -profile_app = ["dep:tracing-chrome"] - -[profile.dev.package."*"] -opt-level = 3 -[profile.release] -strip = true -lto = true - # [patch.crates-io.stereokit] # path = "../stereokit-rs" # [patch.crates-io.stereokit-sys] diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..ec35007 Binary files /dev/null and b/icon.png differ