Skip to content

Commit

Permalink
publish: v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertshelley committed Jul 9, 2024
1 parent cf17df6 commit 7e6bb51
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ homepage = "https://github.com/hubertshelley/silent"
license = "Apache-2.0"
readme = "./readme.md"
repository = "https://github.com/hubertshelley/silent"
version = "1.3.4"
version = "1.4.0"
4 changes: 4 additions & 0 deletions examples/grpc_h2c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ prost = "0.13"
tokio = { version = "1.38", features = ["macros", "rt-multi-thread"] }
silent = { path = "../../silent", features = ["grpc"] }
async-trait = "0.1.81"
http = "1.1.0"
hyper-util = "0.1.6"
hyper = "1.4.0"
tower = "0.4.13"

[build-dependencies]
tonic-build = { version = "0.12.0" }
2 changes: 1 addition & 1 deletion silent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tokio = { version = "1.38.0", optional = true }
bytes = "1.6.0"
http-body-util = "0.1.2"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["local-time"] }
tracing-subscriber = { version = "0.3.18", features = ["chrono"] }
async-trait = "0.1.81"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
Expand Down
4 changes: 4 additions & 0 deletions silent/src/route/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ use crate::{
#[cfg(feature = "session")]
use async_session::{Session, SessionStore};
use chrono::Utc;
#[cfg(feature = "grpc")]
use http::Method;
use std::fmt;
use std::future::Future;
use std::net::SocketAddr;
use std::sync::Arc;
#[cfg(feature = "scheduler")]
use tokio::sync::Mutex;
#[cfg(feature = "grpc")]
use tonic::body::BoxBody;
#[cfg(feature = "grpc")]
use tonic::codegen::Service;
#[cfg(feature = "grpc")]
use tonic::server::NamedService;

#[derive(Clone, Default)]
Expand Down

0 comments on commit 7e6bb51

Please sign in to comment.