From 2b48df9526225cb9c5ae49762feb03cbc21a4e00 Mon Sep 17 00:00:00 2001 From: xphoniex Date: Tue, 7 Mar 2023 09:36:18 +0000 Subject: [PATCH] httpd: Use `radicle-term` instead of `radicle-cli::terminal` Signed-off-by: xphoniex --- radicle-httpd/Cargo.toml | 5 +++-- radicle-httpd/src/tracing_extra.rs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/radicle-httpd/Cargo.toml b/radicle-httpd/Cargo.toml index 7152366d5..619d0304f 100644 --- a/radicle-httpd/Cargo.toml +++ b/radicle-httpd/Cargo.toml @@ -40,12 +40,13 @@ tracing-subscriber = { version = "0.3", default-features = false, features = ["s path = "../radicle" version = "0.2.0" -[dependencies.radicle-cli] -path = "../radicle-cli" +[dependencies.radicle-term] +path = "../radicle-term" [dev-dependencies] hyper = { version = "0.14.17", default-features = false, features = ["client"] } pretty_assertions = { version = "1.3.0" } +radicle-cli = { path = "../radicle-cli" } radicle-crypto = { path = "../radicle-crypto" } tempfile = { version = "3.3.0" } tower = { version = "0.4", features = ["util"] } diff --git a/radicle-httpd/src/tracing_extra.rs b/radicle-httpd/src/tracing_extra.rs index 1e0b4c78b..91cecae51 100644 --- a/radicle-httpd/src/tracing_extra.rs +++ b/radicle-httpd/src/tracing_extra.rs @@ -10,7 +10,7 @@ use axum::response::IntoResponse; use axum::Extension; use hyper::{Method, StatusCode, Uri, Version}; -pub use radicle_cli::terminal::ansi::Paint; +pub use radicle_term::ansi::Paint; #[derive(Clone)] pub struct RequestId(Arc);