diff --git a/radicle-httpd/Cargo.toml b/radicle-httpd/Cargo.toml index 1ecedff9e..8bc87c1d3 100644 --- a/radicle-httpd/Cargo.toml +++ b/radicle-httpd/Cargo.toml @@ -40,7 +40,7 @@ version = "0.2.0" [dependencies.radicle-surf] git = "https://github.com/radicle-dev/radicle-git" features = ["serde"] -rev = "016ece66474edf45d2d304141515152e6f7b37a3" +rev = "48022590d0439e7fb196605a573a725bbbf0e4d2" [dev-dependencies] hyper = { version = "0.14.17", default-features = false, features = ["client"] } diff --git a/radicle-httpd/src/api/json.rs b/radicle-httpd/src/api/json.rs index ee2bfb017..9516b4e9b 100644 --- a/radicle-httpd/src/api/json.rs +++ b/radicle-httpd/src/api/json.rs @@ -4,7 +4,8 @@ use std::path::Path; use serde_json::{json, Value}; -use radicle_surf::object::{Blob, Tree}; +use radicle_surf::blob::Blob; +use radicle_surf::tree::Tree; use radicle_surf::{Commit, Stats}; /// Returns JSON of a commit.