Commit Graph

3 Commits

Author SHA1 Message Date
Tobin C. Harding 7f2cf1dce8
api: Include generics in regex
The regex is still wrong, it misses structs with generics.

Currently `contrib/api.sh io types` returns:

ErrorKind
Error
Sink

But with this patch applied it returns:

FromStd<T>
ToStd<T>
ErrorKind
Cursor<T>
Error
Sink
Take<'a, R: bitcoin_io::Read + ?core::marker::Sized>
2024-12-29 09:01:27 +11:00
Shing Him Ng 23f75a098c Update regex lookahead to match when there are no characters 2024-12-19 16:28:25 -06:00
Tobin C. Harding 7e0501c03c
Add a script to query the API
Add a simple script that allows one to query the current API. Done by
parsing the API text files and grepping for things.

This is useful as a dev tool as we try to stabalize the leaf crates.
2024-12-06 15:42:28 +11:00