chore(examples): Remove tracing-attributes from dependencies (#1289)

This commit is contained in:
tottoto
2023-02-23 10:06:37 +00:00
committed by GitHub
parent 983be6608e
commit 1547f968b4
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ pub mod hello_world {
}
use hello_world::{greeter_client::GreeterClient, HelloRequest};
use tracing_attributes::instrument;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
@@ -16,7 +15,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}
#[instrument]
#[tracing::instrument]
async fn say_hi(name: String) -> Result<(), Box<dyn std::error::Error>> {
let mut client = GreeterClient::connect("http://[::1]:50051").await?;