feat: appimage support!!
This commit is contained in:
39
Cargo.toml
39
Cargo.toml
@@ -8,6 +8,33 @@ license = "GPLv2"
|
|||||||
repository = "https://github.com/StardustXR/stardust-xr-server/"
|
repository = "https://github.com/StardustXR/stardust-xr-server/"
|
||||||
homepage = "https://stardustxr.org"
|
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]
|
[dependencies]
|
||||||
color-eyre = { version = "0.6.2", default-features = false }
|
color-eyre = { version = "0.6.2", default-features = false }
|
||||||
clap = { version = "4.2.4", features = ["derive"] }
|
clap = { version = "4.2.4", features = ["derive"] }
|
||||||
@@ -53,18 +80,6 @@ optional = true
|
|||||||
version = "0.7.1"
|
version = "0.7.1"
|
||||||
optional = true
|
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]
|
# [patch.crates-io.stereokit]
|
||||||
# path = "../stereokit-rs"
|
# path = "../stereokit-rs"
|
||||||
# [patch.crates-io.stereokit-sys]
|
# [patch.crates-io.stereokit-sys]
|
||||||
|
|||||||
Reference in New Issue
Block a user