-
Notifications
You must be signed in to change notification settings - Fork 39
feat(casi): implement core IO and logging functionality #567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: project/cas
Are you sure you want to change the base?
Conversation
|
Updated dep versions to remove duplicates |
| update-metadata = { version = "0.1", path = "tools/update-metadata" } | ||
|
|
||
| anyhow = "1" | ||
| astral-tokio-tar = "0.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect you will be like O.O about this tokio tar and the async-compression crate below. The astral-tokio-tar is the currently maintaing tokio tar crate variant which provides us to use streaming tar readers for archives. async-compression likewise creates bufread and writer wrappers over zstd
|
cargo fmt fix |
- Add IO utilities for content hashing and stream processing - Add logging system with progress tracking and verbosity control - Define error types for the library - Add constants for configuration parameters
|
Example log from create command: |
Description of changes:
Introduces the base needed dependencies for casi and the io and logging setup.
Testing
cargo test -p casi
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.