Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 10 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ napi-build = "2.3"
napi-derive = "3.5"
predicates = "3.1"
proptest = "1.9"
pyo3 = "0.27"
pyo3 = "0.28"
rustc-hash = "2.1"
serde = "1.0"
serde_json = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/exarch-python/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const MAX_COMPONENT_LENGTH: usize = 255;
/// # Use permissive configuration for trusted archives
/// config = SecurityConfig.permissive()
/// ```
#[pyclass(name = "SecurityConfig")]
#[pyclass(name = "SecurityConfig", skip_from_py_object)]
#[derive(Clone)]
pub struct PySecurityConfig {
inner: CoreSecurityConfig,
Expand Down Expand Up @@ -377,7 +377,7 @@ impl PySecurityConfig {
/// .compression_level(9)
/// .follow_symlinks(True))
/// ```
#[pyclass(name = "CreationConfig")]
#[pyclass(name = "CreationConfig", skip_from_py_object)]
#[derive(Clone)]
pub struct PyCreationConfig {
inner: CoreCreationConfig,
Expand Down
12 changes: 6 additions & 6 deletions crates/exarch-python/src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use pyo3::prelude::*;
/// * `duration_ms` - Extraction duration in milliseconds
/// * `files_skipped` - Number of files skipped due to security checks
/// * `warnings` - List of warning messages
#[pyclass(name = "ExtractionReport")]
#[pyclass(name = "ExtractionReport", skip_from_py_object)]
#[derive(Clone)]
pub struct PyExtractionReport {
inner: CoreExtractionReport,
Expand Down Expand Up @@ -135,7 +135,7 @@ impl From<CoreExtractionReport> for PyExtractionReport {
/// * `duration_ms` - Creation duration in milliseconds
/// * `files_skipped` - Number of files skipped
/// * `warnings` - List of warning messages
#[pyclass(name = "CreationReport")]
#[pyclass(name = "CreationReport", skip_from_py_object)]
#[derive(Clone)]
pub struct PyCreationReport {
inner: CoreCreationReport,
Expand Down Expand Up @@ -225,7 +225,7 @@ impl From<CoreCreationReport> for PyCreationReport {
}

/// Single entry in archive manifest.
#[pyclass(name = "ArchiveEntry")]
#[pyclass(name = "ArchiveEntry", skip_from_py_object)]
#[derive(Clone)]
pub struct PyArchiveEntry {
inner: ArchiveEntry,
Expand Down Expand Up @@ -315,7 +315,7 @@ impl From<ArchiveEntry> for PyArchiveEntry {
/// * `total_entries` - Total number of entries
/// * `total_size` - Total uncompressed size
/// * `entries` - List of archive entries
#[pyclass(name = "ArchiveManifest")]
#[pyclass(name = "ArchiveManifest", skip_from_py_object)]
#[derive(Clone)]
pub struct PyArchiveManifest {
inner: ArchiveManifest,
Expand Down Expand Up @@ -373,7 +373,7 @@ impl From<ArchiveManifest> for PyArchiveManifest {
/// * `severity` - Issue severity level
/// * `message` - Human-readable description
/// * `path` - Entry path that triggered issue (if applicable)
#[pyclass(name = "VerificationIssue")]
#[pyclass(name = "VerificationIssue", skip_from_py_object)]
#[derive(Clone)]
pub struct PyVerificationIssue {
inner: VerificationIssue,
Expand Down Expand Up @@ -432,7 +432,7 @@ impl From<VerificationIssue> for PyVerificationIssue {
/// * `issues` - List of issues found
/// * `total_entries` - Total entries scanned
/// * `total_size` - Total uncompressed size
#[pyclass(name = "VerificationReport")]
#[pyclass(name = "VerificationReport", skip_from_py_object)]
#[derive(Clone)]
pub struct PyVerificationReport {
inner: VerificationReport,
Expand Down