| Crates.io | ddt |
| lib.rs | ddt |
| version | 0.3.2 |
| created_at | 2021-03-20 11:33:32.60193+00 |
| updated_at | 2025-02-18 08:46:49.010906+00 |
| description | Useful cli tools |
| homepage | |
| repository | https://github.com/swc-project/ddt.git |
| max_upload_size | |
| id | 371341 |
| size | 162,928 |
Dudy dev tools.
cargo install ddt
ddt profileCommands to profile your code.
ddt profile instrumentsCommands to profile your code using Instruments.app. (macos only)
ddt profile instruments cargoExample usage:
ddt profile instruments cargo -t 'Allocations' --release --test snapshot
This will build a binary using cargo, codesign the binary, and run the binary with the Allocations instrument in Instruments.app.
ddt gitddt git resolve-conflictThis command allows you to resolve conflicts in lockfiles automatically.
Credit: https://github.com/Praqma/git-merge-driver#documentation
Add a custom merge driver to your global gitconfig file. (Typically ~/.gitconfig)
[merge "ddt-auto"]
name = A custom merge driver used to resolve conflicts in lockfiles automatically
driver = ddt git resolve-conflict %O %A %B %L %P
then, add some entries to the .gitattributes of your project.
You can specify this multiple times.
If your project uses pnpm and cargo for managing dependencies, you can add this to .gitattributes:
pnpm.yaml merge=ddt-auto
Cargo.lock merge=ddt-auto