httpd: Use `radicle-term` instead of `radicle-cli::terminal`

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
xphoniex 2023-03-07 09:36:18 +00:00 committed by Alexis Sellier
parent 94899f7be2
commit 267b0ed312
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

1
Cargo.lock generated
View File

@ -1952,6 +1952,7 @@ dependencies = [
"radicle-cli",
"radicle-crypto",
"radicle-surf",
"radicle-term",
"serde",
"serde_json",
"tempfile",

View File

@ -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"] }

View File

@ -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<AtomicU64>);