14 releases

new 0.2.9 Jul 19, 2024
0.2.7 Jun 23, 2024
0.2.5 Nov 9, 2023
0.1.2 Dec 2, 2022
0.0.0 Mar 20, 2021

#243 in Development tools

Download history 109/week @ 2024-03-31 23/week @ 2024-04-07 1/week @ 2024-04-14 5/week @ 2024-04-21 7/week @ 2024-05-19 2/week @ 2024-06-09 175/week @ 2024-06-23 7/week @ 2024-07-07 104/week @ 2024-07-14

286 downloads per month

Apache-2.0

110KB
3K SLoC

ddt

Dudy dev tools.

Installation

cargo install ddt

ddt profile

Commands to profile your code.

ddt profile instruments

Commands to profile your code using Instruments.app. (macos only)

ddt profile instruments cargo

Example 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 git

ddt git resolve-conflict

This command allows you to resolve conflicts in lockfiles automatically.

Usage

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

Dependencies

~18–34MB
~557K SLoC