1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add web adapter for vehicle factory

This commit is contained in:
NG (Graham)
2026-02-08 17:21:32 -05:00
parent 378d2d2cd8
commit dde005b371
7 changed files with 176 additions and 5 deletions

View File

@@ -25,6 +25,8 @@ pub enum AdapterSettings {
Arc(ArcFactorySettings),
#[serde(alias = "integrated")]
BuiltIn,
#[serde(alias = "online")]
Web(WebFactorySettings),
None,
}
@@ -42,3 +44,8 @@ pub struct ArcFactorySettings {
fn default_true() -> bool {
true
}
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct WebFactorySettings {
pub url: String,
}