mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Configure dependencies for release
This commit is contained in:
490
Cargo.lock
generated
490
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
16
Cargo.toml
16
Cargo.toml
@@ -30,15 +30,15 @@ members = [
|
|||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
actix-web = { version = "4", default-features = false, features = [ "macros", "compress-brotli", "compress-gzip", "compress-zstd", "ws"] }
|
actix-web = { version = "4", default-features = false, features = [ "macros", "compress-brotli", "compress-gzip", "compress-zstd", "ws"] }
|
||||||
actix-files = "0.6"
|
actix-files = "0.6"
|
||||||
libfj = { version = "0.9", path = "../libfj" }
|
#libfj = { version = "0.9", path = "../libfj" }
|
||||||
#libfj = { version = "0.8" }
|
libfj = { version = "0.9" }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
env_logger = "0.11"
|
env_logger = "0.11"
|
||||||
clap = { version = "4.5", features = [ "derive" ] }
|
clap = { version = "4.5", features = [ "derive" ] }
|
||||||
polariton = { version = "0.5", path = "../polariton", features = [ "tokio-async" ] }
|
#polariton = { version = "0.5", path = "../polariton", features = [ "tokio-async" ] }
|
||||||
polariton_server = { version = "0.5", path = "../polariton/server", features = [ "tokio-async" ] }
|
#polariton_server = { version = "0.5", path = "../polariton/server", features = [ "tokio-async" ] }
|
||||||
#polariton = { version = "0.4", features = [ "tokio-async" ] }
|
polariton = { version = "0.4", features = [ "tokio-async" ] }
|
||||||
#polariton_server = { version = "0.4", features = [ "tokio-async" ] }
|
polariton_server = { version = "0.4", features = [ "tokio-async" ] }
|
||||||
serde = { version = "1.0", features = [ "derive" ] }
|
serde = { version = "1.0", features = [ "derive" ] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
@@ -49,5 +49,5 @@ rand = { version = "0.9", features = [ "thread_rng" ] }
|
|||||||
num-quaternion = "1.0"
|
num-quaternion = "1.0"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
base64 = "0.22"
|
base64 = "0.22"
|
||||||
oj_serdes = { version = "0.3.0", path = "../oj_core/serdes" }
|
#oj_serdes = { version = "0.3.0", path = "../oj_core/serdes" }
|
||||||
#oj_serdes = "0.2.0"
|
oj_serdes = "0.3.0"
|
||||||
|
|||||||
@@ -461,7 +461,8 @@ fn default_rotation() -> GameEventSequence {
|
|||||||
GameEventSequence {
|
GameEventSequence {
|
||||||
strategy: GameRotationStrategy::Sequence,
|
strategy: GameRotationStrategy::Sequence,
|
||||||
modes: vec![
|
modes: vec![
|
||||||
GameEvents {
|
// dev mode sequence
|
||||||
|
/*GameEvents {
|
||||||
singleplayer: GameEvent {
|
singleplayer: GameEvent {
|
||||||
map: GameMap::Earth1,
|
map: GameMap::Earth1,
|
||||||
visibility: GameVisibility::Good,
|
visibility: GameVisibility::Good,
|
||||||
@@ -490,8 +491,9 @@ fn default_rotation() -> GameEventSequence {
|
|||||||
auto_heal: true,
|
auto_heal: true,
|
||||||
},
|
},
|
||||||
duration_s: 30, // 30 seconds
|
duration_s: 30, // 30 seconds
|
||||||
},
|
},*/
|
||||||
/*GameEvents {
|
// release sequence
|
||||||
|
GameEvents {
|
||||||
singleplayer: GameEvent {
|
singleplayer: GameEvent {
|
||||||
map: GameMap::Neptune1,
|
map: GameMap::Neptune1,
|
||||||
visibility: GameVisibility::Good,
|
visibility: GameVisibility::Good,
|
||||||
@@ -610,7 +612,7 @@ fn default_rotation() -> GameEventSequence {
|
|||||||
auto_heal: true,
|
auto_heal: true,
|
||||||
},
|
},
|
||||||
duration_s: 5*60,
|
duration_s: 5*60,
|
||||||
},*/
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -142,8 +142,8 @@ pub(super) fn default_net_conf() -> NetworkConf {
|
|||||||
overflow_threshold: 10,
|
overflow_threshold: 10,
|
||||||
//max_packet_size: 5888,
|
//max_packet_size: 5888,
|
||||||
max_packet_size: 1024,
|
max_packet_size: 1024,
|
||||||
resend_delay_base: 0.1,
|
resend_delay_base: 0.05,
|
||||||
resend_delay_rtt_mult: 0.5,
|
resend_delay_rtt_mult: 1.5,
|
||||||
network_peer_update_interval: 1,
|
network_peer_update_interval: 1,
|
||||||
max_delay_for_disconnect_ms: 5000,
|
max_delay_for_disconnect_ms: 5000,
|
||||||
max_bulk_resend: 2,
|
max_bulk_resend: 2,
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ num-quaternion.workspace = true
|
|||||||
rand.workspace = true
|
rand.workspace = true
|
||||||
git-version.workspace = true
|
git-version.workspace = true
|
||||||
|
|
||||||
literustlib_server = { version = "0.4", path = "../../LiteRustLib/server" }
|
#literustlib_server = { version = "0.4", path = "../../LiteRustLib/server" }
|
||||||
literustlib = { version = "0.4", path = "../../LiteRustLib" }
|
#literustlib = { version = "0.4", path = "../../LiteRustLib" }
|
||||||
#literustlib_server = { version = "0.4" }
|
literustlib_server = { version = "0.4" }
|
||||||
#literustlib = { version = "0.4" }
|
literustlib = { version = "0.4" }
|
||||||
rlnl = { version = "0.1", path = "../../rlnl" }
|
rlnl = { version = "0.1", path = "../../rlnl" }
|
||||||
|
|
||||||
oj_serdes.workspace = true
|
oj_serdes.workspace = true
|
||||||
|
|||||||
Reference in New Issue
Block a user