You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Merge nvisy-object-store and nvisy-file-service into one crate #354
nvisy-object-store (tenant object stores: S3, Azure, GCS) and nvisy-file-service (tenant file services: Drive, Dropbox, OneDrive, SharePoint) are both clients for external, tenant-owned storage. After #352 and #353, they share almost everything:
the error type (nvisy_core::Error / ErrorKind)
the transfer types (ByteStream, FileUpload)
the SSRF guard (nvisy_core::net)
the Secret<T> credential type
the health probe (ComponentHealth::from_probe)
The server wires them the same way, through the workspace connection services.
Proposal
Merge them into one crate (for example nvisy-integration), with object_store and file_service as modules behind features. This would give one connection model and one place for the shared credential and transfer handling, and it removes a crate boundary that no longer separates anything.
Open questions
The crate name.
Whether the features stay per provider family (s3, azure, gcs, oauth) or per module.
Whether nvisy-s3, which is first-party blob storage on top of nvisy-object-store, keeps depending on the merged crate or moves its use of ObjectStoreClient behind a narrower feature.
Follow-up to the cross-crate cleanup (#352, #353).
Activity