Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Want to quickly put dbg! into external crates?
Search
nakabonne
May 19, 2021
Programming
0
44
Want to quickly put dbg! into external crates?
https://github.com/nakabonne/rhack
nakabonne
May 19, 2021
Tweet
Share
More Decks by nakabonne
See All by nakabonne
Write an embedded time-series database in Go
nakabonne
1
720
モジュールの深さについて / depth of module
nakabonne
0
160
Web API × Clean Architecture / CleanArchitecture Go
nakabonne
3
18k
Other Decks in Programming
See All in Programming
gunshi
kazupon
1
130
チームをチームにするEM
hitode909
0
430
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
120
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4.1k
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
990
CSC307 Lecture 01
javiergs
PRO
0
650
AIエージェントの設計で注意するべきポイント6選
har1101
6
2.9k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
210
Cap'n Webについて
yusukebe
0
160
Go コードベースの構成と AI コンテキスト定義
andpad
0
150
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
500
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
570
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
0
45
Technical Leadership for Architectural Decision Making
baasie
0
200
ラッコキーワード サービス紹介資料
rakko
0
1.9M
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
280
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
51k
BBQ
matthewcrist
89
9.9k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Curse of the Amulet
leimatthew05
0
6.6k
Agile that works and the tools we love
rasmusluckow
331
21k
Transcript
Want to quickly put dbg! into external crates? Rust LT
Online #3
自己紹介 • 中尾 涼 (@nakabonne) • 普段: Go • Rust歴1ヶ月程度
書き始めて思ったこと • 依存ライブラリの挙動をデバッグしたい ◦ dbg!を外部クレートに書きたい • 外部クレートにパッチを送る際少し面倒 → シュッといじって、サッと捨てたい
簡単に解決できそう • ローカルの被参照クレートをコピー (.cargo/registry/src/<crate>) • Cargo.tomlのASTをいじって dependencies の参照先をそこに向ける • 向き先を戻すにはCargo.tomlをUndoするだけ
rhack - github.com/nakabonne/rhack
rhack - github.com/nakabonne/rhack
rhack - github.com/nakabonne/rhack
Good first issues • Add flag to undo to only
undo specific package #3 ◦ rhack undo reqwest • Add flag to also delete local file contents #4 ◦ rhack undo --purge
まとめ Rustの基礎知識、コミュニティの温かさを知ることが出来ました