Skip to content

Commit

Permalink
Merge pull request #253 from nervosnetwork/bump-to-0.3.0
Browse files Browse the repository at this point in the history
chore: bump to 0.3.0
  • Loading branch information
driftluo authored Aug 12, 2020
2 parents 48e7a85 + aeec841 commit 1710130
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 6 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 0.3.0

### Features
- Refactor secio to reduce channel overhead(#249, [#23](https://github.com/driftluo/tentacle/pull/23))
- Split listener from service struct(#238)
- Implement and replace priority channel(#240, #248)
- Removal of side-effects of set delay tasks, resulting in significant performance improvements(#241)
- Rewrite stream poll(#243)
- Rewrite buffer cache(#244, #251)
- Remove protocol on service(#239)
- Add more test

### Bug Fix
- Fix yamux leak mem(#250)
- Fix yamux send go away(#247)

## 0.3.0-alpha.5

### Features
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tentacle"
version = "0.3.0-alpha.5"
version = "0.3.0"
license = "MIT"
description = "Minimal implementation for a multiplexed p2p network framework."
authors = ["piaoliu <[email protected]>", "Nervos Core Dev <[email protected]>"]
Expand All @@ -17,8 +17,8 @@ all-features = false
no-default-features = true

[dependencies]
yamux = { path = "yamux", version = "0.2.4", package = "tokio-yamux" }
secio = { path = "secio", version = "0.3.4", package = "tentacle-secio" }
yamux = { path = "yamux", version = "0.2.5", package = "tokio-yamux" }
secio = { path = "secio", version = "0.4.0", package = "tentacle-secio" }

futures = { version = "0.3.0" }
tokio = { version = "0.2.0", features = ["time", "io-util", "tcp", "dns", "rt-threaded", "blocking"] }
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ Detailed introduction: [中文](./docs/introduction_zh.md)/[English](./docs/intr

The API of this project is basically usable. However we still need more tests. PR is welcome.

The codes in the `protocols/` directory are no longer maintained and only used as reference

Feature `flatc` is not recommended and will be removed in the next version.

## Usage

### From cargo

```toml
[dependencies]
tentacle = { version = "0.2", features = ["molc"] }
tentacle = { version = "0.3", features = ["molc"] }
```

### Example
Expand Down
2 changes: 1 addition & 1 deletion secio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tentacle-secio"
version = "0.3.4"
version = "0.4.0"
license = "MIT"
description = "Secio encryption protocol for p2p"
authors = ["piaoliu <[email protected]>", "Nervos Core Dev <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion yamux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tokio-yamux"
version = "0.2.4"
version = "0.2.5"
license = "MIT"
repository = "https://github.com/nervosnetwork/tentacle"
description = "Rust implementation of Yamux"
Expand Down

0 comments on commit 1710130

Please sign in to comment.