Skip to content

Commit 4889467

Browse files
authored
Merge pull request #415 from nervosnetwork/bump-to-0.7.1
chore: bump to 0.7.1
2 parents bf4bb0f + 2362942 commit 4889467

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## tentacle 0.7.1
2+
3+
### Bug Fix
4+
- fix listen drop with upgrade mode(#413)
5+
6+
### Features
7+
- Add onion_timeout to ServiceConfig(#410)
8+
- Add redact_auth_from_url for for safe credential-free display(#414)
9+
110
## yamux 0.3.15
211

312
### Bug Fix

tentacle/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tentacle"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
license = "MIT"
55
description = "Minimal implementation for a multiplexed p2p network framework."
66
authors = ["piaoliu <driftluo@foxmail.com>", "Nervos Core Dev <dev@nervos.org>"]

tentacle/src/service/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ impl Default for SessionConfig {
102102
}
103103

104104
/// This enum's purpose is to let socket_transformer know how the socket is created
105+
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
105106
pub enum SocketState {
106107
/// listen
107108
Listen,
@@ -110,6 +111,7 @@ pub enum SocketState {
110111
}
111112

112113
/// in socket_transformer
114+
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
113115
pub struct TransformerContext {
114116
/// dial or listen
115117
pub state: SocketState,

0 commit comments

Comments
 (0)