1 Star 1 Fork 11

平凯星辰(北京)科技有限公司 / tikv

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
clippy.toml 2.39 KB
一键复制 编辑 原始数据 按行查看 历史
[[disallowed-methods]]
path = "std::thread::Builder::spawn"
reason = """
Wrapper function `<std::thread::Builder as tikv_util::sys::thread::StdThreadBuildWrapper>::spawn_wrapper`
should be used instead, refer to https://github.com/tikv/tikv/pull/12442 for more details.
"""
[[disallowed-methods]]
path = "tokio::runtime::builder::Builder::on_thread_start"
reason = """
Adding hooks directly will omit system hooks, please use
<tokio::runtime::builder::Builder as tikv_util::sys::thread::ThreadBuildWrapper>::with_sys_and_custom_hooks
refer to https://github.com/tikv/tikv/pull/12442 and https://github.com/tikv/tikv/pull/15017 for more details.
"""
[[disallowed-methods]]
path = "tokio::runtime::builder::Builder::on_thread_stop"
reason = """
Adding hooks directly will omit system hooks, please use
<tokio::runtime::builder::Builder as tikv_util::sys::thread::ThreadBuildWrapper>::with_sys_and_custom_hooks
refer to https://github.com/tikv/tikv/pull/12442 and https://github.com/tikv/tikv/pull/15017 for more details.
"""
[[disallowed-methods]]
path = "futures_executor::thread_pool::ThreadPoolBuilder::after_start"
reason = """
Adding hooks directly will omit system hooks, please use
<futures_executor::thread_pool::ThreadPoolBuilder as tikv_util::sys::thread::ThreadBuildWrapper>::with_sys_and_custom_hooks
refer to https://github.com/tikv/tikv/pull/12442 and https://github.com/tikv/tikv/pull/15017 for more details.
"""
[[disallowed-methods]]
path = "futures_executor::thread_pool::ThreadPoolBuilder::before_stop"
reason = """
Adding hooks directly will omit system hooks, please use
<futures_executor::thread_pool::ThreadPoolBuilder as tikv_util::sys::thread::ThreadBuildWrapper>::with_sys_and_custom_hooks
refer to https://github.com/tikv/tikv/pull/12442 and https://github.com/tikv/tikv/pull/15017 for more details.
"""
# See more about RUSTSEC-2020-0071 in deny.toml.
[[disallowed-methods]]
path = "time::now"
reason = "time::now is unsound, see RUSTSEC-2020-0071"
[[disallowed-methods]]
path = "time::at"
reason = "time::at is unsound, see RUSTSEC-2020-0071"
[[disallowed-methods]]
path = "time::at_utc"
reason = "time::at_utc is unsound, see RUSTSEC-2020-0071"
# See more about RUSTSEC-2023-0072 in deny.toml.
[[disallowed-methods]]
path = "openssl::x509::store::X509StoreRef::objects"
reason = """
X509StoreRef::objects is unsound, see RUSTSEC-2020-0071
"""
avoid-breaking-exported-api = false
upper-case-acronyms-aggressive = true
1
https://gitee.com/pingcap/tikv.git
git@gitee.com:pingcap/tikv.git
pingcap
tikv
tikv
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891