mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-28 18:21:20 +00:00
core/src/identity: Fix build with secp256k1 disabled (#2057)
This commit is contained in:
parent
29d969be34
commit
5ee003b76e
@ -41,6 +41,11 @@
|
||||
|
||||
# `libp2p` facade crate
|
||||
|
||||
## Version 0.37.2 [unreleased]
|
||||
|
||||
- Update individual crates.
|
||||
- `libp2p-core`
|
||||
|
||||
## Version 0.37.1 [2021-04-14]
|
||||
|
||||
- Update individual crates.
|
||||
@ -61,7 +66,7 @@
|
||||
- `libp2p-swarm`
|
||||
- `libp2p-wasm-ext`
|
||||
- `libp2p-yamux`
|
||||
|
||||
|
||||
- Drop support for `wasm32-unknown-unknown` in favor of
|
||||
`wasm32-unknown-emscripten` and `wasm32-wasi` [PR
|
||||
2038](https://github.com/libp2p/rust-libp2p/pull/2038).
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "libp2p"
|
||||
edition = "2018"
|
||||
description = "Peer-to-peer networking library"
|
||||
version = "0.37.1"
|
||||
version = "0.37.2"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@ -64,7 +64,7 @@ atomic = "0.5.0"
|
||||
bytes = "1"
|
||||
futures = "0.3.1"
|
||||
lazy_static = "1.2"
|
||||
libp2p-core = { version = "0.28.2", path = "core", default-features = false }
|
||||
libp2p-core = { version = "0.28.3", path = "core", default-features = false }
|
||||
libp2p-floodsub = { version = "0.29.0", path = "protocols/floodsub", optional = true }
|
||||
libp2p-gossipsub = { version = "0.30.0", path = "./protocols/gossipsub", optional = true }
|
||||
libp2p-identify = { version = "0.29.0", path = "protocols/identify", optional = true }
|
||||
|
@ -1,3 +1,7 @@
|
||||
# 0.28.3 [2021-04-26]
|
||||
|
||||
- Fix build with secp256k1 disabled [PR 2057](https://github.com/libp2p/rust-libp2p/pull/2057].
|
||||
|
||||
# 0.28.2 [2021-04-13]
|
||||
|
||||
- Update dependencies.
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "libp2p-core"
|
||||
edition = "2018"
|
||||
description = "Core traits and structs of libp2p"
|
||||
version = "0.28.2"
|
||||
version = "0.28.3"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
|
@ -208,7 +208,7 @@ impl PublicKey {
|
||||
#[cfg(not(feature = "secp256k1"))]
|
||||
keys_proto::KeyType::Secp256k1 => {
|
||||
log::debug!("support for secp256k1 was disabled at compile-time");
|
||||
Err("Unsupported".to_string().into())
|
||||
Err(DecodingError::new("Unsupported"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user