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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
nakabonne
May 19, 2021
Programming
0
48
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
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
dchart: charts from deck markup
ajstarks
3
990
MUSUBIXとは
nahisaho
0
130
CSC307 Lecture 04
javiergs
PRO
0
660
CSC307 Lecture 05
javiergs
PRO
0
500
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.2k
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
AI巻き込み型コードレビューのススメ
nealle
1
160
Oxlint JS plugins
kazupon
1
870
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
65
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Thoughts on Productivity
jonyablonski
74
5k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
GraphQLとの向き合い方2022年版
quramy
50
14k
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の基礎知識、コミュニティの温かさを知ることが出来ました