polyxml 0.10.0__tar.gz → 0.11.0__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.10.0 → polyxml-0.11.0}/Cargo.lock +4 -4
- {polyxml-0.10.0 → polyxml-0.11.0}/Cargo.toml +1 -1
- {polyxml-0.10.0 → polyxml-0.11.0}/PKG-INFO +1 -1
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/schema.rs +8 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/pyproject.toml +1 -1
- {polyxml-0.10.0 → polyxml-0.11.0}/README.md +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/Cargo.toml +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/README.md +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/benches/core_benchmarks.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/converters.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/error.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/lib.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/parser.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/serializer.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/src/value.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/tests/test_core.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-core/tests/test_security.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-python/Cargo.toml +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-python/README.md +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-python/src/lib.rs +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/crates/polyxml-python/tests/test_polyxml.py +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/python/polyxml/AGENT_GUIDE.md +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/python/polyxml/__init__.py +0 -0
- {polyxml-0.10.0 → polyxml-0.11.0}/python/polyxml/py.typed +0 -0
|
@@ -395,7 +395,7 @@ dependencies = [
|
|
|
395
395
|
|
|
396
396
|
[[package]]
|
|
397
397
|
name = "polyxml"
|
|
398
|
-
version = "0.
|
|
398
|
+
version = "0.11.0"
|
|
399
399
|
dependencies = [
|
|
400
400
|
"criterion",
|
|
401
401
|
"lexical-core",
|
|
@@ -408,14 +408,14 @@ dependencies = [
|
|
|
408
408
|
|
|
409
409
|
[[package]]
|
|
410
410
|
name = "polyxml-c"
|
|
411
|
-
version = "0.
|
|
411
|
+
version = "0.11.0"
|
|
412
412
|
dependencies = [
|
|
413
413
|
"polyxml",
|
|
414
414
|
]
|
|
415
415
|
|
|
416
416
|
[[package]]
|
|
417
417
|
name = "polyxml-js"
|
|
418
|
-
version = "0.
|
|
418
|
+
version = "0.11.0"
|
|
419
419
|
dependencies = [
|
|
420
420
|
"napi",
|
|
421
421
|
"napi-build",
|
|
@@ -425,7 +425,7 @@ dependencies = [
|
|
|
425
425
|
|
|
426
426
|
[[package]]
|
|
427
427
|
name = "polyxml-python"
|
|
428
|
-
version = "0.
|
|
428
|
+
version = "0.11.0"
|
|
429
429
|
dependencies = [
|
|
430
430
|
"lexical-core",
|
|
431
431
|
"polyxml",
|
|
@@ -61,6 +61,10 @@ impl FieldSchema {
|
|
|
61
61
|
self
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
pub fn with_namespace(self, ns: impl Into<String>) -> Self {
|
|
65
|
+
self.namespace(ns)
|
|
66
|
+
}
|
|
67
|
+
|
|
64
68
|
pub fn required(mut self) -> Self {
|
|
65
69
|
self.required = true;
|
|
66
70
|
self
|
|
@@ -111,6 +115,10 @@ impl ModelSchemaBuilder {
|
|
|
111
115
|
self
|
|
112
116
|
}
|
|
113
117
|
|
|
118
|
+
pub fn with_namespace(self, ns: impl Into<String>) -> Self {
|
|
119
|
+
self.namespace(ns)
|
|
120
|
+
}
|
|
121
|
+
|
|
114
122
|
pub fn field(mut self, field: FieldSchema) -> Self {
|
|
115
123
|
self.fields.push(field);
|
|
116
124
|
self
|
|
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
|