Update deps, id is a string

This commit is contained in:
Matteo Settenvini 2023-07-31 10:21:47 +02:00
parent 6bed919b9e
commit fead18ab10
Signed by: matteo
GPG Key ID: 8576CC1AD97D42DF
4 changed files with 554 additions and 454 deletions

View File

@ -4,7 +4,7 @@
"recommendations": [ "recommendations": [
"bungcip.better-toml", "bungcip.better-toml",
"shd101wyy.markdown-preview-enhanced", "shd101wyy.markdown-preview-enhanced",
"matklad.rust-analyzer", "rust-lang.rust-analyzer",
"serayuzgur.crates" "serayuzgur.crates"
] ]
} }

1000
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -35,7 +35,7 @@ version = "4.1"
features = ["cargo"] features = ["cargo"]
[dependencies.directories] [dependencies.directories]
version = "4.0" version = "5.0"
[dependencies.env_logger] [dependencies.env_logger]
version = "0.10" version = "0.10"

View File

@ -10,7 +10,7 @@ use {
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub struct Metadata { pub struct Metadata {
#[serde(rename = "recipe_id")] #[serde(rename = "recipe_id")]
pub id: u64, pub id: String,
pub name: String, pub name: String,
pub keywords: Option<String>, pub keywords: Option<String>,
@ -25,7 +25,7 @@ pub struct Metadata {
#[derive(Deserialize, Debug)] #[derive(Deserialize, Debug)]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub struct Recipe { pub struct Recipe {
pub id: u64, pub id: String,
pub name: String, pub name: String,
pub description: String, pub description: String,
pub url: Option<String>, pub url: Option<String>,