Skip to content

Commit

Permalink
chore: upgrade to 0.7.2 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeffcaii committed Sep 1, 2021
1 parent efad362 commit d30c147
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 43 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Expand Up @@ -9,7 +9,3 @@ members = [
"examples",
"rsocket-test",
]

[replace]
"rsocket_rust:0.7.1" = { path = "../rsocket-rust/rsocket" }
"rsocket_rust_transport_tcp:0.7.1" = { path = "../rsocket-rust/rsocket-transport-tcp" }
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -7,9 +7,9 @@
[![License](https://img.shields.io/github/license/rsocket/rsocket-rust.svg)](https://github.com/rsocket/rsocket-rust/blob/master/LICENSE)
[![GitHub Release](https://img.shields.io/github/release-pre/rsocket/rsocket-rust.svg)](https://github.com/rsocket/rsocket-rust/releases)

> rsocket-rust is an implementation of the RSocket protocol in Rust(1.39+).
It's an **alpha** version and still under active development.
**Do not use it in a production environment!**
> rsocket-rust is an implementation of the RSocket protocol in Rust(1.39+). It's
> an **alpha** version and still under active development. **Do not use it in a
> production environment!**
## Example

Expand All @@ -22,11 +22,11 @@ Add dependencies in your `Cargo.toml`.
```toml
[dependencies]
tokio = "1.0.3"
rsocket_rust = "0.7.1"
rsocket_rust = "0.7.2"

# add transport dependencies:
# rsocket_rust_transport_tcp = "0.7.1"
# rsocket_rust_transport_websocket = "0.7.1"
# rsocket_rust_transport_tcp = "0.7.2"
# rsocket_rust_transport_websocket = "0.7.2"
```

### Server
Expand Down Expand Up @@ -101,7 +101,8 @@ async fn main() -> Result<()> {

Example for access Redis([crates](https://crates.io/crates/redis)):

> NOTICE: add dependency in Cargo.toml => redis = { version = "0.19.0", features = [ "aio" ] }
> NOTICE: add dependency in Cargo.toml => redis = { version = "0.19.0", features
> = [ "aio" ] }
```rust
use std::str::FromStr;
Expand Down Expand Up @@ -159,7 +160,6 @@ impl RSocket for RedisDao {
todo!()
}
}

```

## TODO
Expand Down
9 changes: 3 additions & 6 deletions examples/Cargo.toml
Expand Up @@ -13,17 +13,14 @@ clap = "2.33.3"
pprof = { version = "0.4.3", features = ["flamegraph"] }

[dev-dependencies.rsocket_rust]
version = "0.7.1"
# path = "../rsocket"
version = "0.7"

[dev-dependencies.rsocket_rust_transport_tcp]
version = "0.7.1"
# path = "../rsocket-transport-tcp"
version = "0.7"
features = ["tls"]

[dev-dependencies.rsocket_rust_transport_websocket]
version = "0.7.1"
# path = "../rsocket-transport-websocket"
version = "0.7"

[dev-dependencies.tokio]
version = "1.0.3"
Expand Down
11 changes: 4 additions & 7 deletions rsocket-messaging/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rsocket_rust_messaging"
version = "0.7.1"
version = "0.7.2"
authors = ["Jeffsky <jjeffcaii@outlook.com>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -19,14 +19,11 @@ hex = "0.4.2"
url = "2.2.0"

[dependencies.rsocket_rust]
version = "0.7.1"
# path = "../rsocket"
version = "0.7"
features = ["frame"]

[dependencies.rsocket_rust_transport_tcp]
version = "0.7.1"
# path = "../rsocket-transport-tcp"
version = "0.7"

[dependencies.rsocket_rust_transport_websocket]
version = "0.7.1"
# path = "../rsocket-transport-websocket"
version = "0.7"
12 changes: 4 additions & 8 deletions rsocket-test/Cargo.toml
Expand Up @@ -16,21 +16,17 @@ serde = "1.0.126"
serde_derive = "1.0.126"

[dev-dependencies.rsocket_rust]
version = "0.7.1"
# path = "../rsocket"
version = "0.7"
features = ["frame"]

[dev-dependencies.rsocket_rust_transport_tcp]
version = "0.7.1"
# path = "../rsocket-transport-tcp"
version = "0.7"

[dev-dependencies.rsocket_rust_transport_websocket]
version = "0.7.1"
# path = "../rsocket-transport-websocket"
version = "0.7"

[dev-dependencies.rsocket_rust_messaging]
version = "0.7.1"
# path = "../rsocket-messaging"
version = "0.7"

[dev-dependencies.tokio]
version = "1.0.3"
Expand Down
5 changes: 2 additions & 3 deletions rsocket-transport-tcp/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rsocket_rust_transport_tcp"
version = "0.7.1"
version = "0.7.2"
authors = ["Jeffsky <jjeffcaii@outlook.com>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -20,8 +20,7 @@ bytes = "1.0.1"
cfg-if = "1.0.0"

[dependencies.rsocket_rust]
version = "0.7.1"
# path = "../rsocket"
version = "0.7"
features = ["frame"]

[dependencies.tokio]
Expand Down
5 changes: 2 additions & 3 deletions rsocket-transport-wasm/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rsocket_rust_transport_wasm"
version = "0.7.1"
version = "0.7.2"
authors = ["Jeffsky <jjeffcaii@outlook.com>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -20,8 +20,7 @@ serde_derive = "1.0.126"
log = "0.4.14"

[dependencies.rsocket_rust]
version = "0.7.1"
# path = "../rsocket"
version = "0.7"
features = ["frame"]

[dependencies.wasm-bindgen]
Expand Down
5 changes: 2 additions & 3 deletions rsocket-transport-websocket/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rsocket_rust_transport_websocket"
version = "0.7.1"
version = "0.7.2"
authors = ["Jeffsky <jjeffcaii@outlook.com>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -17,8 +17,7 @@ url = "2.2.2"
tokio-tungstenite = "0.13.0"

[dependencies.rsocket_rust]
version = "0.7.1"
# path = "../rsocket"
version = "0.7"
features = ["frame"]

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion rsocket/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rsocket_rust"
version = "0.7.1"
version = "0.7.2"
authors = ["Jeffsky <jjeffcaii@outlook.com>"]
edition = "2018"
license = "Apache-2.0"
Expand Down

0 comments on commit d30c147

Please sign in to comment.