使用Rust 语言重新实现 https://github.com/zjhellofss/KuiperInfer 和 https://github.com/zjhellofss/kuiperdatawhale 中的深度学习推理框架。 - feat: 添加了lazy_static 的库,实现全局变量 · SongQiPing/KuiperInfer_rs@593de91
去除lazy_static 依赖。原因: Replacedlazy_staticdependency withconstandOnceLockfor thread safety. Reordered exported items inlib.rsaffecting module order. lazy_staticusage withconstandOnceLockinfile.rs. declarations withconstdeclarations inload.rs. interface inbinding.d.ts. Walkthrough The changes involve...
use crate::api::github::Commit; use crate::load::{MissingReason, SiteCtxt, TryCommit}; use std::sync::LazyLock; use std::time::Duration; use serde::Deserialize; @@ -195,12 +196,10 @@ pub struct UnrolledCommit<'a> { pub sha: Option<String>, } lazy_static::lazy_static! { st...
.github/workflows examples src tests .gitignore Cargo.toml LICENSE-APACHE LICENSE-MIT README.md lazy-static.rs A macro for declaring lazily evaluated statics in Rust. Using this macro, it is possible to havestatics that require code to be executed at runtime in order to be initialized. This...
Loading Oops, something went wrong. Retry 0 comments on commit a2cc2ba Please sign in to comment. Footer © 2025 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact Manage cookies Do not share my personal information ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Reviewers No reviews Assignees No one assigned Labels chore Projects None yet Milestone No milestone Development Successfully merging this pull request may close these issues. 2 participants...
lazy_static = "1.0" lazy_static = "1.4.0" base58 = "0.1" eth-secp256k1 = { git = "https://github.com/ethcore/rust-secp256k1" } bitcrypto = { path = "../crypto" } 2 changes: 1 addition & 1 deletion 2 network/Cargo.toml Original file line numberDiff line numberDiff line ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Reviewers Amanieu Assignees No one assigned Labels None yet Projects None yet Milestone No milestone Development Successfully merging this pull request may close these issues. None yet 2...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Reviewers wangrunji0408 Assignees No one assigned Labels None yet Projects None yet Milestone No milestone Development Successfully merging this pull request may close these issues. None yet...
Breadcrumbs pymongo.github.io /2020 /09 / refcell_impl_lazy_static.md Latest commit pymongo 新文章: [RefCell实现lazy_static] fbaa88a· Sep 11, 2020 HistoryHistory File metadata and controls Preview Code Blame 46 lines (33 loc) · 2.23 KB Raw RefCell实现lazy_static...