rust-bitcoin-unsafe-fast/src
Martin Habovstiak 405be52f5c Impl string conversion traits for `CommandString`
After MSRV bump `try_from` usually refers to `TryFrom` method but
`CommandString` used inherent one making it confusing and non-idiomatic.

This implements `FromStr` and `TryFrom<{stringly type}>` for
`CommandString` and deprecates the inherent method in favor of those.
To keep the code using `&'static str` efficient it provides
`try_from_static` inherent method that only converts from
`&'static str`.

Closes #1135
2022-07-28 15:24:49 +02:00
..
blockdata Add lock time types 2022-07-27 08:39:19 +10:00
consensus BIP152: Add basic Compact Block structures 2022-07-24 13:21:08 +02:00
network Impl string conversion traits for `CommandString` 2022-07-28 15:24:49 +02:00
util Add lock time types 2022-07-27 08:39:19 +10:00
hash_types.rs Enable formatter for "src" 2022-07-19 13:43:12 +10:00
internal_macros.rs Use pub(crate) for macros instead of macro_use 2022-07-20 11:25:54 +10:00
lib.rs Add lock time types 2022-07-27 08:39:19 +10:00
policy.rs Enable formatter for "src" 2022-07-19 13:43:12 +10:00
serde_utils.rs Remove extern crate bitcoin_hashes 2022-07-20 11:23:59 +10:00
test_macros.rs Introduce SPDX license identifiers 2022-06-29 14:12:02 +10:00