Skip to content

Commit b4c4785

Browse files
cataggarctaggart
andauthored
ToTokens refactor (#754)
Co-authored-by: Cameron Taggart <[email protected]>
1 parent 55d7edc commit b4c4785

File tree

45 files changed

+1029
-621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1029
-621
lines changed

services/autorust/codegen/examples/list_crates.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(dead_code)]
12
// cargo run --example list_crates
23
// This list all crates that are generated.
34

@@ -54,7 +55,7 @@ fn list_crate_names() -> Result<Vec<String>> {
5455
}
5556

5657
fn main() -> Result<()> {
57-
let version = std::env::args().nth(1);
58+
// let version = std::env::args().nth(1);
5859

5960
let names = list_crate_names()?;
6061
// match &version {

services/autorust/codegen/src/autorust_toml.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use std::{collections::HashSet, fs};
55

66
#[derive(Deserialize, Debug, Default)]
77
pub struct PackageConfig {
8+
#[serde(default)]
89
pub tags_allow: Vec<String>,
910
}
1011
impl<'a> PackageConfig {

0 commit comments

Comments
 (0)