sentry-options 0.0.9__tar.gz → 0.0.11__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.
- {sentry_options-0.0.9 → sentry_options-0.0.11}/Cargo.lock +5 -5
- {sentry_options-0.0.9 → sentry_options-0.0.11}/Cargo.toml +2 -2
- {sentry_options-0.0.9 → sentry_options-0.0.11}/PKG-INFO +1 -1
- {sentry_options-0.0.9 → sentry_options-0.0.11}/pyproject.toml +1 -1
- {sentry_options-0.0.9 → sentry_options-0.0.11}/sentry-options-validation/src/lib.rs +11 -2
- {sentry_options-0.0.9 → sentry_options-0.0.11}/clients/python/Cargo.toml +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/clients/python/src/lib.rs +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/clients/python/tests/options_test.py +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/clients/python/uv.lock +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/clients/rust/Cargo.toml +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/clients/rust/src/lib.rs +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/sentry-options-validation/Cargo.toml +0 -0
- {sentry_options-0.0.9 → sentry_options-0.0.11}/sentry-options-validation/src/namespace-schema.json +0 -0
|
@@ -576,7 +576,7 @@ dependencies = [
|
|
|
576
576
|
|
|
577
577
|
[[package]]
|
|
578
578
|
name = "example"
|
|
579
|
-
version = "0.0.
|
|
579
|
+
version = "0.0.11"
|
|
580
580
|
dependencies = [
|
|
581
581
|
"anyhow",
|
|
582
582
|
"sentry-options",
|
|
@@ -2085,7 +2085,7 @@ dependencies = [
|
|
|
2085
2085
|
|
|
2086
2086
|
[[package]]
|
|
2087
2087
|
name = "sentry-options"
|
|
2088
|
-
version = "0.0.
|
|
2088
|
+
version = "0.0.11"
|
|
2089
2089
|
dependencies = [
|
|
2090
2090
|
"sentry-options-validation",
|
|
2091
2091
|
"serde_json",
|
|
@@ -2095,7 +2095,7 @@ dependencies = [
|
|
|
2095
2095
|
|
|
2096
2096
|
[[package]]
|
|
2097
2097
|
name = "sentry-options-cli"
|
|
2098
|
-
version = "0.0.
|
|
2098
|
+
version = "0.0.11"
|
|
2099
2099
|
dependencies = [
|
|
2100
2100
|
"chrono",
|
|
2101
2101
|
"clap",
|
|
@@ -2110,7 +2110,7 @@ dependencies = [
|
|
|
2110
2110
|
|
|
2111
2111
|
[[package]]
|
|
2112
2112
|
name = "sentry-options-python"
|
|
2113
|
-
version = "0.0.
|
|
2113
|
+
version = "0.0.11"
|
|
2114
2114
|
dependencies = [
|
|
2115
2115
|
"pyo3",
|
|
2116
2116
|
"sentry-options",
|
|
@@ -2119,7 +2119,7 @@ dependencies = [
|
|
|
2119
2119
|
|
|
2120
2120
|
[[package]]
|
|
2121
2121
|
name = "sentry-options-validation"
|
|
2122
|
-
version = "0.0.
|
|
2122
|
+
version = "0.0.11"
|
|
2123
2123
|
dependencies = [
|
|
2124
2124
|
"anyhow",
|
|
2125
2125
|
"chrono",
|
|
@@ -11,13 +11,13 @@ default-members = [
|
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[workspace.package]
|
|
14
|
-
version = "0.0.
|
|
14
|
+
version = "0.0.11"
|
|
15
15
|
edition = "2024"
|
|
16
16
|
repository = "https://github.com/getsentry/sentry-options"
|
|
17
17
|
license = "Apache-2.0"
|
|
18
18
|
|
|
19
19
|
[workspace.dependencies]
|
|
20
|
-
sentry-options-validation = { path = "sentry-options-validation", version = "0.0.
|
|
20
|
+
sentry-options-validation = { path = "sentry-options-validation", version = "0.0.11" }
|
|
21
21
|
serde = { version = "1.0", features = ["derive"] }
|
|
22
22
|
serde_json = "1.0.145"
|
|
23
23
|
anyhow = "1.0.100"
|
|
@@ -180,10 +180,19 @@ impl NamespaceSchema {
|
|
|
180
180
|
if output.flag().valid {
|
|
181
181
|
Ok(())
|
|
182
182
|
} else {
|
|
183
|
-
let errors: Vec<String> = output
|
|
183
|
+
let errors: Vec<String> = output
|
|
184
|
+
.iter_errors()
|
|
185
|
+
.map(|e| {
|
|
186
|
+
format!(
|
|
187
|
+
"\n\t{} {}",
|
|
188
|
+
e.instance_location.as_str().trim_start_matches("/"),
|
|
189
|
+
e.error
|
|
190
|
+
)
|
|
191
|
+
})
|
|
192
|
+
.collect();
|
|
184
193
|
Err(ValidationError::ValueError {
|
|
185
194
|
namespace: self.namespace.clone(),
|
|
186
|
-
errors: errors.join("
|
|
195
|
+
errors: errors.join(""),
|
|
187
196
|
})
|
|
188
197
|
}
|
|
189
198
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sentry_options-0.0.9 → sentry_options-0.0.11}/sentry-options-validation/src/namespace-schema.json
RENAMED
|
File without changes
|