Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Updates the requirements on oneio to permit the latest version.

Release notes

Sourced from oneio's releases.

v0.18.1

✨ Added

  • New build script: Added build.rs to enforce that at least one TLS backend (rustls or native-tls) is enabled if any of the remote features (http, ftp, or remote) are enabled.
  • Module documentation: Added detailed Rust doc comments to the compression modules (gzip, bzip2, lz4, xz, zstd) and utils.rs for improved usability and understanding.
  • get_protocol function: Utility for extracting protocol from file paths, now used across remote file access functions.

🛠️ Changed

  • Feature dependencies: The ftp feature now explicitly depends on the http feature in Cargo.toml.
  • Error handling: Updated OneIoError enum to more accurately gate error variants with corresponding features ( http, ftp).
  • Module structure:
    • compressions is now a public module.
    • Refactored how the crate distinguishes between local and remote file access, using get_protocol.
    • get_reader_raw and related functions now determine protocol and select the appropriate file reader accordingly.
  • Compression interface:
    • Added a unified trait OneIOCompression and get_compression_reader/get_compression_writer utilities for consistent handling of all supported compression algorithms.
    • Updated file open logic to use these helpers based on file suffix.

🧹 Cleaned up and Improved

  • Removed legacy or redundant code paths (e.g., get_reader_raw_remote, old error gates).
  • Moved protocol detection and remote file reading logic into more modular and maintainable forms.
  • Several function signatures and internal APIs have been updated for clarity and maintainability.
Changelog

Sourced from oneio's changelog.

v0.18.1 -- 2025-05-31

✨ Added

  • New build script: Added build.rs to enforce that at least one TLS backend (rustls or native-tls) is enabled if any of the remote features (http, ftp, or remote) are enabled.
  • Module documentation: Added detailed Rust doc comments to the compression modules (gzip, bzip2, lz4, xz, zstd) and utils.rs for improved usability and understanding.
  • get_protocol function: Utility for extracting protocol from file paths, now used across remote file access functions.

🛠️ Changed

  • Feature dependencies: The ftp feature now explicitly depends on the http feature in Cargo.toml.
  • Error handling: Updated OneIoError enum to more accurately gate error variants with corresponding features ( http, ftp).
  • Module structure:
    • compressions is now a public module.
    • Refactored how the crate distinguishes between local and remote file access, using get_protocol.
    • get_reader_raw and related functions now determine protocol and select the appropriate file reader accordingly.
  • Compression interface:
    • Added a unified trait OneIOCompression and get_compression_reader/get_compression_writer utilities for consistent handling of all supported compression algorithms.
    • Updated file open logic to use these helpers based on file suffix.

🧹 Cleaned up and Improved

  • Removed legacy or redundant code paths (e.g., get_reader_raw_remote, old error gates).
  • Moved protocol detection and remote file reading logic into more modular and maintainable forms.
  • Several function signatures and internal APIs have been updated for clarity and maintainability.

📝 Developer Notes

  • All compression modules (gzip, bzip2, lz4, xz, zstd) now include clear documentation and consistent interfaces for reading and writing compressed files.
  • Users enabling remote protocol features must ensure at least one TLS backend is also enabled.

v0.18.0 -- 2025-05-30

Highlights

  • split remote features into http and ftp, allowing users who only need HTTP or FTP support to use the corresponding feature flag
    • in most cases, users will likely not need to use the ftp feature
  • add create_client_with_headers function to allow creating a reqwest::blocking::Client with custom headers
    • this simplifies the process of creating a client with custom headers for HTTP requests
    • this also allows users to create custom clients without importing reqwest crate directly
  • add rustls_sys dependency to support rustls as the default TLS backend

... (truncated)

Commits
  • f7dd30b prepare v0.18.1 release
  • 9c8b8d3 Merge pull request #58 from bgpkit/fixes/feature-flags-fixes
  • 6adcb1e clippy: simplify return statements in exists function
  • ca97170 fix: improve feature flag handling in exists function
  • de7332c add note on why ftp feature relies on http feature at the moment
  • dc94381 fix exists incorrect feature gate
  • 4cc87ee update docs across the library
  • 7edcfb1 update docs for compression functions
  • 749f13a refactor: improve feature flag handling and add compression utilities
  • 0dd9031 Merge pull request #57 from bgpkit/features/custom-headers-utils
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [oneio](https://github.com/bgpkit/oneio) to permit the latest version.
- [Release notes](https://github.com/bgpkit/oneio/releases)
- [Changelog](https://github.com/bgpkit/oneio/blob/main/CHANGELOG.md)
- [Commits](bgpkit/oneio@v0.17.0...v0.18.1)

---
updated-dependencies:
- dependency-name: oneio
  dependency-version: 0.18.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jun 2, 2025
@digizeph digizeph closed this Jun 6, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 6, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/oneio-0.18.1 branch June 6, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants