File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ the static crate file download server.
11
11
Two independent HTTP proxy endpoints are implemented:
12
12
13
13
1 . Listens to HTTP GET requests at ` /index/.../{crate} ` ,
14
- forwards them to < https://index.crates.io/ > and caches the downloaded registry
15
- index entries as JSON text files on the local filesystem.
14
+ forwards them to < https://index.crates.io/ > and caches the downloaded registry
15
+ index entries as JSON text files on the local filesystem.
16
16
17
17
2 . Listens to HTTP GET requests at ` /api/v1/crates/{crate}/{version}/download ` ,
18
- forwards them to < https://crates.io/ > and caches the downloaded crates as
19
- ` .crate ` files on the local filesystem.
18
+ forwards them to < https://crates.io/ > and caches the downloaded crates as
19
+ ` .crate ` files on the local filesystem.
20
20
21
21
Subsequent sparse registry index and crate download API hits are serviced
22
22
using the locally cached index entry and crate files.
Original file line number Diff line number Diff line change 8
8
//! Two independent HTTP proxy endpoints are implemented:
9
9
//!
10
10
//! 1. Listens to HTTP GET requests at `/index/.../{crate}`,
11
- //! forwards them to <https://index.crates.io/> and caches the downloaded registry
12
- //! index entries as JSON text files on the local filesystem.
11
+ //! forwards them to <https://index.crates.io/> and caches the downloaded registry
12
+ //! index entries as JSON text files on the local filesystem.
13
13
//!
14
14
//! 2. Listens to HTTP GET requests at `/api/v1/crates/{crate}/{version}/download`,
15
- //! forwards them to <https://crates.io/> and caches the downloaded crates as
16
- //! `.crate` files on the local filesystem.
15
+ //! forwards them to <https://crates.io/> and caches the downloaded crates as
16
+ //! `.crate` files on the local filesystem.
17
17
//!
18
18
//! Subsequent sparse registry index and crate download API hits are serviced
19
19
//! using the locally cached index entry and crate files.
You can’t perform that action at this time.
0 commit comments