mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
92 lines
2.7 KiB
TOML
92 lines
2.7 KiB
TOML
[package]
|
|
name = "gopher64"
|
|
version = "1.1.20"
|
|
edition = "2024"
|
|
rust-version = "1.95.0"
|
|
|
|
[features]
|
|
default = ["gui"]
|
|
gui = ["dep:rfd", "dep:slint", "dep:slint-build"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
dirs = "6.0"
|
|
zip = "8.0"
|
|
sevenz-rust2 = "0.21"
|
|
chrono = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde-big-array = "0.5"
|
|
open = "5.3"
|
|
sha2 = "0.11"
|
|
sdl3-sys = { version = "0.6", features = ["build-from-source-static"] }
|
|
sdl3-ttf-sys = { version = "0.6", features = ["build-static-vendored", "no-sdlttf-harfbuzz", "no-sdlttf-plutosvg"] }
|
|
sdl3-image-sys = { version = "0.6", features = ["build-static-vendored"] }
|
|
tokio = {version = "1.46", features = ["rt-multi-thread", "macros", "fs", "process"] }
|
|
spin_sleep = "1.3"
|
|
encoding_rs = "0.8"
|
|
mimalloc = "0.1"
|
|
regex = "1.11"
|
|
tokio-tungstenite = "0.29"
|
|
futures = "0.3"
|
|
socket2 = { version = "0.6", features = ["all"] }
|
|
rand = "0.10"
|
|
fatfs = "0.3"
|
|
semver = "1.0"
|
|
postcard = { version = "1.1", features = ["use-std"] }
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
reqwest = { version = "0.13", features = ["json", "query"] }
|
|
discord-rich-presence = "1.1"
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
slint = { version = "1.16", default-features = false, features = ["compat-1-2", "std", "unstable-winit-030", "backend-winit", "renderer-femtovg-wgpu", "accessibility"], optional = true }
|
|
rfd = {version = "0.17", optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
slint = { version = "1.16", default-features = false, features = ["compat-1-2", "std", "backend-android-activity-06", "accessibility"], optional = true }
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1"
|
|
bindgen = "0.72"
|
|
slint-build = { version = "1.12", optional = true }
|
|
cc = { version = "1.2", features = ["parallel"] }
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = "thin"
|
|
strip = true
|
|
|
|
[profile.release-with-debug]
|
|
inherits = "release"
|
|
debug = true
|
|
strip = false
|
|
panic = "unwind"
|
|
|
|
[package.metadata.bundle]
|
|
name = "Gopher64"
|
|
identifier = "io.github.gopher64.gopher64"
|
|
category = "public.app-category.games"
|
|
icon = ["data/icon/gopher64_128x128.png","data/icon/gopher64_256x256.png","data/icon/gopher64_512x512.png"]
|
|
osx_frameworks = ["/opt/homebrew/opt/molten-vk/lib/libMoltenVK.dylib"]
|
|
osx_minimum_system_version = "15.0"
|
|
|
|
[package.metadata.android]
|
|
package = "io.github.gopher64.gopher64"
|
|
build_targets = ["aarch64-linux-android"]
|
|
resources = "data/android/res"
|
|
|
|
[package.metadata.android.application]
|
|
icon = "@mipmap/ic_launcher"
|
|
label = "Gopher64"
|
|
|
|
[package.metadata.android.sdk]
|
|
min_sdk_version = 34
|
|
target_sdk_version = 35
|
|
|
|
[[package.metadata.android.uses_feature]]
|
|
name = "android.hardware.vulkan.version"
|
|
required = true
|
|
version = 0x401000
|