polyxml 0.14.0__tar.gz → 0.14.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polyxml-0.14.0 → polyxml-0.14.1}/Cargo.lock +5 -5
- {polyxml-0.14.0 → polyxml-0.14.1}/Cargo.toml +1 -1
- {polyxml-0.14.0 → polyxml-0.14.1}/PKG-INFO +1 -1
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_csharp_codegen.rs +14 -6
- {polyxml-0.14.0 → polyxml-0.14.1}/pyproject.toml +1 -1
- {polyxml-0.14.0 → polyxml-0.14.1}/README.md +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/Cargo.toml +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/README.md +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/benches/core_benchmarks.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/cpp/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/csharp/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/go/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/java/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/python/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/rust/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/codegen/typescript/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/converters.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/error.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/ir/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/ir/tarjan.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/json.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/lib.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/parser.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/schema.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/schema_parser/mod.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/serializer.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/transcoder.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/src/value.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_conformance.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_core.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_cpp_codegen.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_go_codegen.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_java_codegen.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_json.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_python_codegen.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_rust_codecs.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_rust_codegen.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_schema_ir.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_security.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_transcoder.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-core/tests/test_ts_codegen.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/Cargo.toml +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/README.md +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/src/lib.rs +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/tests/test_conformance.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/tests/test_generated_models.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/tests/test_json.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/crates/polyxml-python/tests/test_polyxml.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/python/polyxml/AGENT_GUIDE.md +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/python/polyxml/__init__.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/python/polyxml/compat/__init__.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/python/polyxml/compat/xsdata.py +0 -0
- {polyxml-0.14.0 → polyxml-0.14.1}/python/polyxml/py.typed +0 -0
|
@@ -549,7 +549,7 @@ dependencies = [
|
|
|
549
549
|
|
|
550
550
|
[[package]]
|
|
551
551
|
name = "polyxml"
|
|
552
|
-
version = "0.14.
|
|
552
|
+
version = "0.14.1"
|
|
553
553
|
dependencies = [
|
|
554
554
|
"criterion",
|
|
555
555
|
"heck",
|
|
@@ -567,14 +567,14 @@ dependencies = [
|
|
|
567
567
|
|
|
568
568
|
[[package]]
|
|
569
569
|
name = "polyxml-c"
|
|
570
|
-
version = "0.14.
|
|
570
|
+
version = "0.14.1"
|
|
571
571
|
dependencies = [
|
|
572
572
|
"polyxml",
|
|
573
573
|
]
|
|
574
574
|
|
|
575
575
|
[[package]]
|
|
576
576
|
name = "polyxml-cli"
|
|
577
|
-
version = "0.14.
|
|
577
|
+
version = "0.14.1"
|
|
578
578
|
dependencies = [
|
|
579
579
|
"clap",
|
|
580
580
|
"glob",
|
|
@@ -588,7 +588,7 @@ dependencies = [
|
|
|
588
588
|
|
|
589
589
|
[[package]]
|
|
590
590
|
name = "polyxml-js"
|
|
591
|
-
version = "0.14.
|
|
591
|
+
version = "0.14.1"
|
|
592
592
|
dependencies = [
|
|
593
593
|
"napi",
|
|
594
594
|
"napi-build",
|
|
@@ -598,7 +598,7 @@ dependencies = [
|
|
|
598
598
|
|
|
599
599
|
[[package]]
|
|
600
600
|
name = "polyxml-python"
|
|
601
|
-
version = "0.14.
|
|
601
|
+
version = "0.14.1"
|
|
602
602
|
dependencies = [
|
|
603
603
|
"lexical-core",
|
|
604
604
|
"polyxml",
|
|
@@ -11,6 +11,14 @@ use polyxml::ir::{
|
|
|
11
11
|
};
|
|
12
12
|
use tempfile::tempdir;
|
|
13
13
|
|
|
14
|
+
fn dotnet_command() -> Command {
|
|
15
|
+
let mut cmd = Command::new("dotnet");
|
|
16
|
+
cmd.env("DOTNET_NOLOGO", "1");
|
|
17
|
+
cmd.env("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
|
|
18
|
+
cmd.env("DOTNET_SKIP_FIRST_TIME_EXPERIENCE", "1");
|
|
19
|
+
cmd
|
|
20
|
+
}
|
|
21
|
+
|
|
14
22
|
#[test]
|
|
15
23
|
fn test_csharp_sanitization() {
|
|
16
24
|
assert_eq!(to_csharp_type_name("event"), "Event");
|
|
@@ -308,7 +316,7 @@ public class Program
|
|
|
308
316
|
)
|
|
309
317
|
.unwrap();
|
|
310
318
|
|
|
311
|
-
let build_status =
|
|
319
|
+
let build_status = dotnet_command()
|
|
312
320
|
.args(["build", "--warnaserror"])
|
|
313
321
|
.current_dir(temp.path())
|
|
314
322
|
.status()
|
|
@@ -318,7 +326,7 @@ public class Program
|
|
|
318
326
|
"dotnet build failed on generated records"
|
|
319
327
|
);
|
|
320
328
|
|
|
321
|
-
let run_status =
|
|
329
|
+
let run_status = dotnet_command()
|
|
322
330
|
.args(["run"])
|
|
323
331
|
.current_dir(temp.path())
|
|
324
332
|
.status()
|
|
@@ -487,7 +495,7 @@ public class Program
|
|
|
487
495
|
)
|
|
488
496
|
.unwrap();
|
|
489
497
|
|
|
490
|
-
let build_status =
|
|
498
|
+
let build_status = dotnet_command()
|
|
491
499
|
.args(["build", "--warnaserror"])
|
|
492
500
|
.current_dir(temp.path())
|
|
493
501
|
.status()
|
|
@@ -497,7 +505,7 @@ public class Program
|
|
|
497
505
|
"dotnet build failed on choice models"
|
|
498
506
|
);
|
|
499
507
|
|
|
500
|
-
let run_status =
|
|
508
|
+
let run_status = dotnet_command()
|
|
501
509
|
.args(["run"])
|
|
502
510
|
.current_dir(temp.path())
|
|
503
511
|
.status()
|
|
@@ -628,7 +636,7 @@ public class Program
|
|
|
628
636
|
)
|
|
629
637
|
.unwrap();
|
|
630
638
|
|
|
631
|
-
let build_status =
|
|
639
|
+
let build_status = dotnet_command()
|
|
632
640
|
.args(["build", "--warnaserror"])
|
|
633
641
|
.current_dir(temp.path())
|
|
634
642
|
.status()
|
|
@@ -638,7 +646,7 @@ public class Program
|
|
|
638
646
|
"dotnet build failed on recursive tree models"
|
|
639
647
|
);
|
|
640
648
|
|
|
641
|
-
let run_status =
|
|
649
|
+
let run_status = dotnet_command()
|
|
642
650
|
.args(["run"])
|
|
643
651
|
.current_dir(temp.path())
|
|
644
652
|
.status()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|