mirror of
https://github.com/acemod/arma3-wiki.git
synced 2025-12-22 05:37:06 +00:00
add defaults
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -49,7 +49,7 @@ checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
|
||||
|
||||
[[package]]
|
||||
name = "arma3-wiki"
|
||||
version = "0.1.17"
|
||||
version = "0.1.18"
|
||||
dependencies = [
|
||||
"directories",
|
||||
"fs_extra",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "arma3-wiki"
|
||||
description = "A project to store data about Arma 3 commands in a useable format"
|
||||
license = "MIT"
|
||||
version = "0.1.17"
|
||||
version = "0.1.18"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -15,6 +15,7 @@ pub struct Command {
|
||||
#[serde(default)]
|
||||
#[serde(skip_serializing_if = "Vec::is_empty")]
|
||||
problem_notes: Vec<String>,
|
||||
#[serde(default)]
|
||||
groups: Vec<String>,
|
||||
syntax: Vec<Syntax>,
|
||||
argument_loc: Locality,
|
||||
@@ -22,6 +23,7 @@ pub struct Command {
|
||||
#[serde(default)]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
server_exec: Option<bool>,
|
||||
#[serde(default)]
|
||||
since: Since,
|
||||
#[serde(default)]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Reference in New Issue
Block a user