Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor backend usage * remove unneeded Downcast * error handling; add opendal backend * deactivate opendal:sftp for windows * fix most clippy lints * fix windows builds * fix clippy lint * update MSRV (as required by ordered-multimap, needed by opendal->rsa) * opendal - more services, add logging and retry * some code clean-ups * clean-up code and comments * clippy hints and s3 convenience backend * correct path * temporarily ignore rsa advisory until there is a workaround * fix: import and typo Signed-off-by: simonsan <[email protected]> * fix: unused import on win Signed-off-by: simonsan <[email protected]> * chore: deactivate security warning for rsa for cargo-audit and cargo-deny and annotate with fixme Signed-off-by: simonsan <[email protected]> * style: dprint fmt Signed-off-by: simonsan <[email protected]> * ci: test also examples Signed-off-by: simonsan <[email protected]> * chore: run cargo-msrv and update msrv to 1.71.1 Signed-off-by: simonsan <[email protected]> * chore: check and merge imports Signed-off-by: simonsan <[email protected]> * refactor: move RestErrorKind to error.rs Signed-off-by: simonsan <[email protected]> * refactor: move RcloneErrorKind to error.rs Signed-off-by: simonsan <[email protected]> * style: fmt Signed-off-by: simonsan <[email protected]> * chore: apply clippy fixes Signed-off-by: simonsan <[email protected]> * chore: borrowing for tree streamer Signed-off-by: simonsan <[email protected]> * chore: borrowing for path list Signed-off-by: simonsan <[email protected]> * chore: close name Signed-off-by: simonsan <[email protected]> * chore: clippy Signed-off-by: simonsan <[email protected]> * chore: clippy values_mut iter Signed-off-by: simonsan <[email protected]> * style: cargo fmt Signed-off-by: simonsan <[email protected]> * fix: readd error to docs that was removed Signed-off-by: simonsan <[email protected]> * fix: use `new` -> Self for HotColdBackend Signed-off-by: simonsan <[email protected]> * fix: lifetimes in public api Signed-off-by: simonsan <[email protected]> * chore: add docs and remove dbg! Signed-off-by: simonsan <[email protected]> * fix: log error in warm up Signed-off-by: simonsan <[email protected]> * docs: add docs Signed-off-by: simonsan <[email protected]> * feat(choose): implement trait for choosing backends Signed-off-by: simonsan <[email protected]> * refactor: move backend crate out of rustic_core, first try Signed-off-by: simonsan <[email protected]> * refactor: move tests into workspace crate Signed-off-by: simonsan <[email protected]> * refactor: choose Signed-off-by: simonsan <[email protected]> * refactor: move backup example and update to new api Signed-off-by: simonsan <[email protected]> * WIP: stash Signed-off-by: simonsan <[email protected]> * refactor: init backends Signed-off-by: simonsan <[email protected]> * chore: cleanup Signed-off-by: simonsan <[email protected]> * refactor(backends): use RepositoryBackends struct Signed-off-by: simonsan <[email protected]> * chore: cleanup Signed-off-by: simonsan <[email protected]> * doc: tiny doc for RepositoryBackends Signed-off-by: simonsan <[email protected]> * refactor: implement test cases Signed-off-by: simonsan <[email protected]> * refactor: rework examples and move them to workspace examples Signed-off-by: simonsan <[email protected]> * fix: remove examples from manifest.include and thus packaging as they are now outside of the package in workspace Signed-off-by: simonsan <[email protected]> * chore: remove opendal dep from core crate Signed-off-by: simonsan <[email protected]> * chore: cleanup errors Signed-off-by: simonsan <[email protected]> * fix(api): fix export of overwrite for mergable struct fields Signed-off-by: simonsan <[email protected]> * docs: document FindInBackend Signed-off-by: simonsan <[email protected]> * refactor: move errors to error.rs Signed-off-by: simonsan <[email protected]> * chore: ignore lint for unused imports as overwrite is not being recognized as being used Signed-off-by: simonsan <[email protected]> * chore: update package details Signed-off-by: simonsan <[email protected]> * chore: cleanup imports Signed-off-by: simonsan <[email protected]> * style: dprint fmt Signed-off-by: simonsan <[email protected]> * ci: Check for workspace crates's MSRV Signed-off-by: simonsan <[email protected]> * ci: update actions to be used on workspaces or especially on both workspace crates Signed-off-by: simonsan <[email protected]> * feat(s3): implement extra s3 backend, delegated read- and writebackend impl of opendal Signed-off-by: simonsan <[email protected]> * chore: remove glob import Signed-off-by: simonsan <[email protected]> * chore: using features and fixing stuff so tests run through on them with `cargo +stable hack test --feature-powerset --workspace` Signed-off-by: simonsan <[email protected]> * chore: remove cyclic dependency Signed-off-by: simonsan <[email protected]> * style: dprint fmt Signed-off-by: simonsan <[email protected]> * chore: set default features to include all backends Signed-off-by: simonsan <[email protected]> * chore: change back delimiter to `:` Signed-off-by: simonsan <[email protected]> * refactor: impl AsRef<str> in Backend::new() * chore: implement to_inner() on S3Backend, but keep impl Write/Read backend for now * chore(deps): update dependencies Signed-off-by: simonsan <[email protected]> * chore: rename backends to backend to account for crate name Signed-off-by: simonsan <[email protected]> * fix: add back cfg in backend/util.rs for parsing the provider string Signed-off-by: simonsan <[email protected]> * fix: add missing attribute Signed-off-by: simonsan <[email protected]> * chore: use clearer naming Signed-off-by: simonsan <[email protected]> * fix: use locahost Signed-off-by: simonsan <[email protected]> * fix: add match case for unc only Signed-off-by: simonsan <[email protected]> * fix: test with respecting features as some things don't need to work and won't work on *nix Signed-off-by: simonsan <[email protected]> * fix: allow unused imports in tests Signed-off-by: simonsan <[email protected]> * fix: test with respecting platforms Signed-off-by: simonsan <[email protected]> * use options_hot and options_cold * simplify s3 backend impl * add evaluate_password to RepositoryOptions * don't panic when repository is missing * rclone backend: Remove Arc * expose less in rustic_core crate * clean-up dependencies for rustic_core * clean-up dependencies for rustic_backend * don't validate repo path (-> init command) * fix clippy lint * fix tokio dependency * style: fmt Signed-off-by: simonsan <[email protected]> --------- Signed-off-by: simonsan <[email protected]> Co-authored-by: simonsan <[email protected]>
- Loading branch information