Add subxt feature in subxt-signer crate to default features (#1193)

* add subxt to subxt-signer default features

* distinguish between native and web in signer

* fix formatting and clippy

* rustfmt
This commit is contained in:
Tadeo Hepperle
2023-10-06 15:54:14 +02:00
committed by GitHub
parent 761fee0b07
commit f0b72b9104
8 changed files with 15 additions and 15 deletions
+3
View File
@@ -38,3 +38,6 @@ pub use secrecy::{ExposeSecret, SecretString};
// SecretUri's can be parsed from strings and used to generate key pairs.
// DeriveJunctions are the "path" part of these SecretUris.
pub use crypto::{DeriveJunction, SecretUri, SecretUriError, DEV_PHRASE};
#[cfg(all(feature = "subxt", not(any(feature = "web", feature = "native"))))]
compile_error!("subxt-signer: When using the 'subxt' feature, exactly one of the 'web' and 'native' features should be used.");