refactor: Refactor json loading mechanism & more
- Move json loading into separate crate `common` - Add new http route for handling SRTools API - Listen to `freesr-data.json` file change, and sync with client immediately - Move json loading into `PlayerSession`, instead of load it everytime - Implement global buff for Castorice - Implement `GetBigDataAllRecommendCsReq`
This commit is contained in:
@@ -7,6 +7,7 @@ edition = "2024"
|
||||
anyhow.workspace = true
|
||||
env_logger.workspace = true
|
||||
|
||||
tower-http = { workspace = true, features = ["cors"]}
|
||||
axum.workspace = true
|
||||
axum-server.workspace = true
|
||||
|
||||
@@ -28,3 +29,4 @@ ansi_term.workspace = true
|
||||
prost.workspace = true
|
||||
rbase64.workspace = true
|
||||
proto.workspace = true
|
||||
common.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user