Commit 61a1b14
committed
Expose Display, Debug, and Eq for HRN bindings
Following the LDK 0.2-upgrade and the addition of a Display
implementation for HumanReadableName in rust-lightning#3829, this
commit exposes the Display, Debug, and Eq traits to UniFFI.
This allows downstream users (Swift, Kotlin, Python) to compare
names and print BIP 353 formatted strings natively. Added unit
tests to verify trait implementation and BIP 353 prefix rendering.1 parent 81d0e93 commit 61a1b14
1 file changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
| 386 | + | |
386 | 387 | | |
387 | 388 | | |
388 | 389 | | |
| |||
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
442 | 449 | | |
443 | 450 | | |
444 | 451 | | |
| |||
1987 | 1994 | | |
1988 | 1995 | | |
1989 | 1996 | | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
1990 | 2014 | | |
0 commit comments