Skip to content

Commit 2e844c9

Browse files
committed
Decode responses through sub60/endpoints
1 parent 1b3f68f commit 2e844c9

4 files changed

Lines changed: 151 additions & 175 deletions

File tree

‎Cargo.lock‎

Lines changed: 27 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/noop_cache.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ use nix_types::{
1111
StoreHash,
1212
};
1313
use sha2::{Digest, Sha256};
14+
use sub60_endpoints::body::Json;
1415
use sub60_endpoints::cache::nar_multiparts_complete;
15-
use sub60_endpoints::{Json, WithStatus};
16+
use sub60_endpoints::response::WithStatus;
1617

1718
use crate::context::Cache;
1819
use crate::protocol::StoreDir;

0 commit comments

Comments
 (0)