We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7363a5 commit 7dedc35Copy full SHA for 7dedc35
core/src/identity/error.rs
@@ -82,6 +82,11 @@ impl DecodingError {
82
}
83
84
85
+ #[cfg(any(
86
+ all(feature = "rsa", not(target_arch = "wasm32")),
87
+ feature = "secp256k1",
88
+ feature = "ecdsa"
89
+ ))]
90
pub(crate) fn encoding_unsupported(key_type: &'static str) -> Self {
91
Self {
92
msg: format!("encoding {key_type} key to Protobuf is unsupported"),
transports/quic/src/provider.rs
@@ -32,6 +32,7 @@ pub mod async_std;
32
pub mod tokio;
33
34
/// Size of the buffer for reading data 0x10000.
35
+#[cfg(any(feature = "async-io", feature = "tokio"))]
36
const RECEIVE_BUFFER_SIZE: usize = 65536;
37
38
/// Provider for non-blocking receiving and sending on a [`std::net::UdpSocket`]
0 commit comments