From ebff863fecd09edf67d78ca502419adaf76dee97 Mon Sep 17 00:00:00 2001 From: driftluo Date: Thu, 24 Oct 2024 14:07:05 +0800 Subject: [PATCH] chore: bump to 0.6.2 --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- secio/Cargo.toml | 2 +- tentacle/Cargo.toml | 2 +- tentacle/README.md | 12 ++++++------ yamux/Cargo.toml | 2 +- 6 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5517f68..bd94fe73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## tentacle 0.6.2 secio 0.6.3 yamux 0.3.9 + +### Features +- Fix wasm example(#373) +- optimizing wasm experience(#375) + ## tentacle 0.6.1 ### Features diff --git a/README.md b/README.md index b3c76b96..a8d7c8fc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Tentacle [![Build Status](https://github.com/nervosnetwork/tentacle/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/nervosnetwork/tentacle/actions/workflows/ci.yaml/badge.svg?branch=master) -![image](https://img.shields.io/badge/rustc-1.68.2-blue.svg) +![image](https://img.shields.io/badge/rustc-1.81.0-blue.svg) ## Overview @@ -38,7 +38,7 @@ The codes in the `protocols/` directory are no longer maintained and only used a ```toml [dependencies] -tentacle = { version = "0.4.0" } +tentacle = { version = "0.6.0" } ``` ### Example diff --git a/secio/Cargo.toml b/secio/Cargo.toml index bc9c5751..46a18b63 100644 --- a/secio/Cargo.toml +++ b/secio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tentacle-secio" -version = "0.6.2" +version = "0.6.3" license = "MIT" description = "Secio encryption protocol for p2p" authors = ["piaoliu ", "Nervos Core Dev "] diff --git a/tentacle/Cargo.toml b/tentacle/Cargo.toml index e54d6c66..d6ba2ca1 100644 --- a/tentacle/Cargo.toml +++ b/tentacle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tentacle" -version = "0.6.1" +version = "0.6.2" license = "MIT" description = "Minimal implementation for a multiplexed p2p network framework." authors = ["piaoliu ", "Nervos Core Dev "] diff --git a/tentacle/README.md b/tentacle/README.md index 67fc884e..a8d7c8fc 100644 --- a/tentacle/README.md +++ b/tentacle/README.md @@ -1,7 +1,7 @@ # Tentacle -[![Build Status](https://travis-ci.com/nervosnetwork/tentacle.svg?branch=master)](https://travis-ci.com/nervosnetwork/tentacle) -![image](https://img.shields.io/badge/rustc-1.68.2-blue.svg) +[![Build Status](https://github.com/nervosnetwork/tentacle/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/nervosnetwork/tentacle/actions/workflows/ci.yaml/badge.svg?branch=master) +![image](https://img.shields.io/badge/rustc-1.81.0-blue.svg) ## Overview @@ -38,7 +38,7 @@ The codes in the `protocols/` directory are no longer maintained and only used a ```toml [dependencies] -tentacle = { version = "0.4.0" } +tentacle = { version = "0.6.0" } ``` ### Example @@ -66,11 +66,11 @@ $ RUST_LOG=simple=info,tentacle=debug cargo run --example simple You can see more detailed example in these three repos: -- [p2p-message](https://github.com/doitian/tentacle-p2p-message) - [ckb](https://github.com/nervosnetwork/ckb) - [cita](https://github.com/cryptape/cita) - [muta](https://github.com/nervosnetwork/muta) - [axon](https://github.com/nervosnetwork/axon) +- [godwoken](https://github.com/nervosnetwork/godwoken) ### Run on browser and test @@ -81,8 +81,8 @@ $ cd tentacle && RUST_LOG=info cargo run --example simple --features ws -- serve 2. setup a browser client ``` -$ cd simple_wasm/www && wasm-pack build -$ npm install && npm run start +$ cd simple_wasm && wasm-pack build +$ npm install && npm run serve ``` all wasm code generate from [book](https://rustwasm.github.io/docs/book/game-of-life/hello-world.html) diff --git a/yamux/Cargo.toml b/yamux/Cargo.toml index c9a74cb1..24c750ac 100644 --- a/yamux/Cargo.toml +++ b/yamux/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-yamux" -version = "0.3.8" +version = "0.3.9" license = "MIT" repository = "https://github.com/nervosnetwork/tentacle" description = "Rust implementation of Yamux"