Skip to content

Commit

Permalink
current state of #621 for cargo-typify
Browse files Browse the repository at this point in the history
  • Loading branch information
LimpidCrypto committed Dec 23, 2024
1 parent 256dff9 commit b4f2cba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions cargo-typify/tests/outputs/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Options:

-o, --output <OUTPUT>
The output file to write to. If not specified, the input file name will be used with a `.rs` extension.

If `-` is specified, the output will be written to stdout.

--crate <CRATES>
Expand All @@ -29,10 +29,11 @@ Options:

--unknown-crates <UNKNOWN_CRATES>
Specify the policy unknown crates found in schemas with the x-rust-type extension

[possible values: generate, allow, deny]

-D, --distinct-definitions


-h, --help
Print help (see a summary with '-h')
Expand Down
8 changes: 4 additions & 4 deletions typify-impl/tests/test_external_references.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn test_external_references() {
expectorate::assert_contents("tests/external_references.out", fmt.as_str());
}

#[test]
fn test_external_references_from_macro() {
import_types!(schema = "tests/external_references.json");
}
// #[test]
// fn test_external_references_from_macro() {
// import_types!(schema = "tests/external_references.json");
// }

0 comments on commit b4f2cba

Please sign in to comment.