You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "yihong0618 (via GitHub)" <gi...@apache.org> on 2025/03/24 05:22:24 UTC
[PR] fix: drop todo use std instead of once_cell as todo comments [opendal]
yihong0618 opened a new pull request, #5865:
URL: https://github.com/apache/opendal/pull/5865
# Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
-->
This patch is not finish(need better import) to check if ci can pass.
if passed will better replace all `Lazy` to `LazyLock`
learned from this(Chinese)
https://zjp-cn.github.io/rust-note/learn-from-pr-issue/LazyLock.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: drop todo use std instead of once_cell as todo comments [opendal]
Posted by "yihong0618 (via GitHub)" <gi...@apache.org>.
yihong0618 commented on code in PR #5865:
URL: https://github.com/apache/opendal/pull/5865#discussion_r2009488219
##########
core/Cargo.toml:
##########
@@ -245,9 +245,7 @@ futures = { version = "0.3", default-features = false, features = [
http = "1.1"
log = "0.4"
md-5 = "0.10"
-# TODO: remove once_cell when lazy_lock is stable: https://doc.rust-lang.org/std/cell/struct.LazyCell.html
ghac = { version = "0.2.0", optional = true }
-once_cell = "1"
Review Comment:
closing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: drop todo use std instead of once_cell as todo comments [opendal]
Posted by "yihong0618 (via GitHub)" <gi...@apache.org>.
yihong0618 commented on code in PR #5865:
URL: https://github.com/apache/opendal/pull/5865#discussion_r2009486970
##########
core/Cargo.toml:
##########
@@ -245,9 +245,7 @@ futures = { version = "0.3", default-features = false, features = [
http = "1.1"
log = "0.4"
md-5 = "0.10"
-# TODO: remove once_cell when lazy_lock is stable: https://doc.rust-lang.org/std/cell/struct.LazyCell.html
ghac = { version = "0.2.0", optional = true }
-once_cell = "1"
Review Comment:
seen that and will draft this waiting for MSRV update
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: drop todo use std instead of once_cell as todo comments [opendal]
Posted by "yihong0618 (via GitHub)" <gi...@apache.org>.
yihong0618 commented on code in PR #5865:
URL: https://github.com/apache/opendal/pull/5865#discussion_r2009486970
##########
core/Cargo.toml:
##########
@@ -245,9 +245,7 @@ futures = { version = "0.3", default-features = false, features = [
http = "1.1"
log = "0.4"
md-5 = "0.10"
-# TODO: remove once_cell when lazy_lock is stable: https://doc.rust-lang.org/std/cell/struct.LazyCell.html
ghac = { version = "0.2.0", optional = true }
-once_cell = "1"
Review Comment:
seen that and will draft or close this waiting for MSRV update
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: drop todo use std instead of once_cell as todo comments [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on code in PR #5865:
URL: https://github.com/apache/opendal/pull/5865#discussion_r2009484734
##########
core/Cargo.toml:
##########
@@ -245,9 +245,7 @@ futures = { version = "0.3", default-features = false, features = [
http = "1.1"
log = "0.4"
md-5 = "0.10"
-# TODO: remove once_cell when lazy_lock is stable: https://doc.rust-lang.org/std/cell/struct.LazyCell.html
ghac = { version = "0.2.0", optional = true }
-once_cell = "1"
Review Comment:
The discussion of bumping opendal MSRV is ongoing: https://github.com/apache/opendal/discussions/5864
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: drop todo use std instead of once_cell as todo comments [opendal]
Posted by "yihong0618 (via GitHub)" <gi...@apache.org>.
yihong0618 closed pull request #5865: fix: drop todo use std instead of once_cell as todo comments
URL: https://github.com/apache/opendal/pull/5865
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org