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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user