Skip to content

Commit

Permalink
fix: compile fail on latest nightly (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWhiteWu authored Apr 13, 2023
1 parent 247f658 commit 19c33f0
Show file tree
Hide file tree
Showing 26 changed files with 376 additions and 246 deletions.
568 changes: 349 additions & 219 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ chrono = { version = "0.4", default-features = false, features = [
clap = "4"
colored = "2"
dashmap = "5"
dirs = "4"
dirs = "5"
faststr = "0.2"
futures = "0.3"
futures-util = "0.3"
Expand All @@ -67,7 +67,7 @@ log = "0.4"
matchit = "0.7"
nom = "7"
normpath = "1"
num_enum = "0.5"
num_enum = "0.6"
once_cell = "1"
parking_lot = "0.12"
paste = "1"
Expand All @@ -83,7 +83,7 @@ run_script = "0.10"
same-file = "1"
serde = "1"
serde_yaml = "0.9"
socket2 = "0.4"
socket2 = "0.5"
syn = "1"
tempfile = "3"
thiserror = "1"
Expand Down
2 changes: 1 addition & 1 deletion examples/src/compression/grpc_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/compression/grpc_server.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/hello/grpc_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/hello/grpc_server.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/hello/thrift_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/hello/thrift_server.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/multiplex/grpc_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/multiplex/grpc_server.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/streaming/grpc_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/src/streaming/grpc_server.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion examples/volo-gen/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

mod gen {
volo::include_service!("thrift_gen.rs");
Expand Down
2 changes: 1 addition & 1 deletion volo-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-cli"
version = "0.4.0"
version = "0.4.1"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-cli/src/templates/grpc/src/bin/server_rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion volo-cli/src/templates/grpc/src/lib_rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

pub struct S;

Expand Down
2 changes: 1 addition & 1 deletion volo-cli/src/templates/grpc/volo-gen/src/lib_rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

mod gen {{
volo::include_service!("volo_gen.rs");
Expand Down
2 changes: 1 addition & 1 deletion volo-cli/src/templates/thrift/src/bin/server_rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

use std::net::SocketAddr;

Expand Down
2 changes: 1 addition & 1 deletion volo-cli/src/templates/thrift/src/lib_rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

pub struct S;

Expand Down
2 changes: 1 addition & 1 deletion volo-cli/src/templates/thrift/volo-gen/src/lib_rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

mod gen {{
volo::include_service!("volo_gen.rs");
Expand Down
2 changes: 1 addition & 1 deletion volo-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-grpc"
version = "0.4.1"
version = "0.4.2"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-grpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
html_logo_url = "https://github.com/cloudwego/volo/raw/main/.github/assets/logo.png?sanitize=true"
)]
#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

pub mod body;
pub mod client;
Expand Down
2 changes: 1 addition & 1 deletion volo-thrift/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-thrift"
version = "0.4.3"
version = "0.4.4"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-thrift/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]
#![doc(
html_logo_url = "https://github.com/cloudwego/volo/raw/main/.github/assets/logo.png?sanitize=true"
)]
Expand Down
2 changes: 1 addition & 1 deletion volo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo"
version = "0.4.1"
version = "0.4.2"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]
#![feature(once_cell)]
#![doc(
html_logo_url = "https://github.com/cloudwego/volo/raw/main/.github/assets/logo.png?sanitize=true"
Expand Down

0 comments on commit 19c33f0

Please sign in to comment.