Skip to content

Commit a4c7997

Browse files
authored
Merge branch 'TeamFlos:main' into main
2 parents 8cb23b1 + a3588cc commit a4c7997

35 files changed

Lines changed: 2026 additions & 1890 deletions

File tree

Cargo.lock

Lines changed: 1756 additions & 1693 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,45 @@ edition = "2021"
1616
license = "GPL-3.0-only"
1717

1818
[workspace.dependencies]
19+
anyhow = "1.0"
20+
async-trait = "0.1.89"
21+
base64 = "0.22.1"
22+
bitflags = "2.10.0"
23+
chrono = "0.4.43"
24+
fluent = "0.17.0"
25+
fluent-syntax = "0.12.0"
26+
futures-util = "0.3.31"
27+
hex = "0.4.3"
28+
image = { version = "0.25.9", default-features = false }
29+
lru = "0.16.3"
30+
lyon = "1.0.16"
31+
nalgebra = "0.34.1"
32+
once_cell = "1.21.3"
33+
pollster = "0.4.0"
34+
rand = "0.8.5"
35+
regex = "1.12.2"
36+
reqwest = { version = "0.13.1", default-features = false }
37+
serde = "1.0.228"
38+
serde_json = "1.0.49"
39+
serde_yaml = "0.9.34"
40+
sha2 = "0.10.9"
41+
sys-locale = "0.3.2"
42+
tempfile = "3.24.0"
1943
tokio = "1.38.2"
44+
tracing = "0.1.44"
45+
uuid = "1.20.0"
46+
walkdir = "2.5.0"
47+
zip = { version = "7.2.0", default-features = false }
48+
49+
macroquad = { git = "https://github.com/Mivik/prpr-macroquad", rev = "c2d2e71", default-features = false }
50+
miniquad = { git = "https://github.com/Mivik/prpr-miniquad", rev = "3a3a121" }
51+
phira = { path = "phira", default-features = false }
52+
phira-mp-client = { git = "https://github.com/TeamFlos/phira-mp", rev = "6967475" }
53+
phira-mp-common = { git = "https://github.com/TeamFlos/phira-mp", rev = "6967475" }
54+
prpr = { path = "prpr", default-features = false }
55+
prpr-avc = { path = "prpr-avc" }
56+
prpr-l10n = { path = "prpr-l10n" }
57+
sasa = { git = "https://github.com/Mivik/sasa", rev = "63d019c", default-features = false }
2058

2159
[profile.release]
2260
opt-level = 2

README-zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Phira
22

3-
![Phira](https://files-cf.phira.cn/github-showcase.png)
3+
![Phira Showcase](https://phira.5wyxi.com/files/github-showcase.png)
44

55
## 下载
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Phira
22

3-
![Phira](https://files-cf.phira.cn/github-showcase.png)
3+
![Phira Showcase](https://phira.5wyxi.com/files/github-showcase.png)
44

55
[中文版本](./README-zh_CN.md)
66

assets/bold.ttf

387 KB
Binary file not shown.

phira-main/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "phira-main"
3-
version.workspace = true
4-
edition.workspace = true
5-
license.workspace = true
3+
version = { workspace = true }
4+
edition = { workspace = true }
5+
license = { workspace = true }
66

77
[dependencies]
8-
phira = { path = "../phira" }
8+
phira = { workspace = true }

phira-monitor/Cargo.toml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,27 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
anyhow = "*"
8-
chrono = "0.4.41"
9-
futures-util = "0.3.31"
10-
log = "0.4.27"
11-
macroquad = { git = "https://github.com/Mivik/prpr-macroquad", default-features = false }
7+
anyhow = { workspace = true }
8+
chrono = { workspace = true }
9+
futures-util = { workspace = true }
10+
log = "0.4.29"
11+
macroquad = { workspace = true, default-features = false }
1212
pretty_env_logger = "0.5.0"
13-
reqwest = { version = "0.12.19",default-features = false, features = ["json", "stream", "gzip", "charset", "http2", "system-proxy", "rustls-tls"] }
14-
serde = { version = "*", features = ["derive"] }
15-
serde_yaml = "*"
13+
reqwest = { workspace = true, default-features = false, features = [
14+
"json",
15+
"stream",
16+
"gzip",
17+
"charset",
18+
"http2",
19+
"system-proxy",
20+
"rustls",
21+
] }
22+
serde = { workspace = true, features = ["derive"] }
23+
serde_json = { workspace = true }
24+
serde_yaml = { workspace = true }
1625
tokio = { workspace = true }
17-
uuid = { version = "1.17.0", features = ["v4"] }
26+
uuid = { workspace = true, features = ["v4"] }
1827

19-
phira-mp-client = { git = "https://github.com/TeamFlos/phira-mp" }
20-
phira-mp-common = { git = "https://github.com/TeamFlos/phira-mp" }
21-
prpr = { path = "../prpr" }
22-
serde_json = "1.0.140"
28+
phira-mp-client = { workspace = true }
29+
phira-mp-common = { workspace = true }
30+
prpr = { workspace = true }

phira/Cargo.toml

Lines changed: 44 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "phira"
3-
version.workspace = true
4-
edition.workspace = true
5-
license.workspace = true
3+
version = { workspace = true }
4+
edition = { workspace = true }
5+
license = { workspace = true }
66

77
[lib]
88
crate-type = ["lib", "cdylib"]
@@ -15,74 +15,73 @@ aa = []
1515
event_debug = []
1616

1717
[dependencies]
18-
anyhow = "1.0"
19-
arc-swap = "1.7.1"
20-
base64 = "0.22.1"
21-
bitflags = "2.9.1"
22-
bytes = "1.10.1"
18+
anyhow = { workspace = true }
19+
arc-swap = "1.8.1"
20+
async-trait = { workspace = true }
21+
base64 = { workspace = true }
22+
bitflags = { workspace = true }
23+
bytes = "1.11.0"
24+
bytesize = "2.3.1"
2325
cacache = { version = "13.1.0", default-features = false, features = [
2426
"tokio-runtime",
2527
] }
26-
chrono = { version = "0.4.41", features = ["serde"] }
27-
futures-util = "0.3.31"
28-
hex = "0.4.3"
29-
image = { version = "0.25.6", default-features = false, features = [
28+
chrono = { workspace = true, features = ["serde"] }
29+
futures-util = { workspace = true }
30+
hex = { workspace = true }
31+
image = { workspace = true, default-features = false, features = [
3032
"bmp",
3133
"gif",
3234
"jpeg",
3335
"png",
3436
"rayon",
3537
"webp",
3638
] }
37-
lru = "0.14.0"
38-
lyon = "*"
39-
macroquad = { git = "https://github.com/Mivik/prpr-macroquad", default-features = false }
40-
nalgebra = "*"
41-
once_cell = "*"
42-
pollster = "0.4.0"
43-
prpr = { path = "../prpr", features = ["log"], default-features = false }
44-
prpr-l10n = { path = "../prpr-l10n" }
45-
rand = "0.8.5"
46-
regex = "1.11.1"
47-
reqwest = { version = "0.12.19", default-features = false, features = [
39+
logos = "0.16.1"
40+
lru = { workspace = true }
41+
lyon = { workspace = true }
42+
macroquad = { workspace = true, default-features = false }
43+
nalgebra = { workspace = true }
44+
once_cell = { workspace = true }
45+
pollster = { workspace = true }
46+
prpr = { workspace = true, features = ["log"], default-features = false }
47+
prpr-l10n = { workspace = true }
48+
rand = { workspace = true }
49+
regex = { workspace = true }
50+
reqwest = { workspace = true, default-features = false, features = [
4851
"json",
4952
"stream",
5053
"gzip",
5154
"charset",
5255
"http2",
5356
"system-proxy",
54-
"rustls-tls",
57+
"rustls",
58+
"query",
5559
] }
56-
serde = { version = "*", features = ["derive"] }
57-
serde_json = "*"
58-
serde_yaml = "0.9.34"
59-
sha2 = "*"
60+
semver = { version = "1.0.27", features = ["serde"] }
61+
serde = { workspace = true, features = ["derive"] }
62+
serde_json = { workspace = true }
63+
serde_yaml = { workspace = true }
64+
sha2 = { workspace = true }
6065
smallvec = "1.15.1"
6166
tap = "1.0.1"
62-
tempfile = "3.20.0"
67+
tempfile = { workspace = true }
6368
tokio = { workspace = true, features = ["rt-multi-thread", "sync"] }
64-
tracing = "0.1.41"
65-
walkdir = "2.5.0"
66-
zip = "4.0.0"
69+
tracing = { workspace = true }
70+
uuid = { workspace = true, features = ["v4"] }
71+
walkdir = { workspace = true }
72+
zip = { workspace = true }
6773
zstd = "0.13"
6874

69-
phira-mp-client = { git = "https://github.com/TeamFlos/phira-mp" }
70-
phira-mp-common = { git = "https://github.com/TeamFlos/phira-mp" }
71-
uuid = { version = "1.17.0", features = ["v4"] }
72-
logos = "0.15.0"
73-
semver = { version = "1.0.26", features = ["serde"] }
74-
async-trait = "0.1.88"
75-
bytesize = "2.0.1"
75+
phira-mp-client = { workspace = true }
76+
phira-mp-common = { workspace = true }
7677

7778
[target.'cfg(target_os = "android")'.dependencies]
7879
ndk-sys = "0.2"
7980
ndk-context = "0.1"
80-
sasa = { git = "https://github.com/Mivik/sasa", default-features = false, features = [
81-
"oboe",
82-
] }
81+
sasa = { workspace = true, default-features = false, features = ["oboe"] }
8382

8483
[target.'cfg(not(target_os = "android"))'.dependencies]
85-
sasa = { git = "https://github.com/Mivik/sasa" }
84+
sasa = { workspace = true, default-features = true }
8685

8786
[target.'cfg(target_os = "ios")'.dependencies]
8887
objc = "*"
@@ -92,5 +91,5 @@ objc-foundation = "*"
9291
dotenv-build = "0.1"
9392

9493
[dev-dependencies]
95-
fluent = "0.17.0"
96-
fluent-syntax = "0.12.0"
94+
fluent = { workspace = true }
95+
fluent-syntax = { workspace = true }

phira/locales/de-DE/resource.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
chap-c1 = Zukunfts Relikte
33
chap-c1-intro =
44
Im Jahr 137 n. Chr. ereignete sich im Land Phira's ein wundersames Ereignis.
5-
Der Himmel öffnete sich, und unzählige Bauwerke und Maschinen stürzten auf die Erde und trugen magische Artefakte aus der Zukunft in sich.
6-
Dies stürzte den Kontinent in Panik und Chaos...
5+
Der Himmel öffnete sich, und unzählige Bauwerke und Maschinen stürzten auf die Erde und trugen magische Artefakte aus der Zukunft in sich.
6+
Dies stürzte den Kontinent in Panik und Chaos...

phira/locales/en-US/settings.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ item-music = Music Volume
3939
item-sfx = SFX Volume
4040
item-bgm = BGM Volume
4141
item-cali = Adjust Offset
42+
item-preferred-sample-rate = Preferred Sample Rate
4243
4344
item-show-acc = Real-Time Accuracy
4445
item-dc-pause = Double-Tap to Pause

0 commit comments

Comments
 (0)