| Crates.io | s5_importer_http |
| lib.rs | s5_importer_http |
| version | 1.0.0-beta.1 |
| created_at | 2025-11-26 05:19:40.530286+00 |
| updated_at | 2025-11-26 05:19:40.530286+00 |
| description | HTTP importer for S5 |
| homepage | |
| repository | https://github.com/s5-dev/s5-rs |
| max_upload_size | |
| id | 1950989 |
| size | 92,242 |
Imports content from HTTP URLs into an S5 filesystem (FS5).
<a href="...">) and recursively imports them (within the base URL scope).HEAD requests to check Content-Length and Last-Modified before downloading.use s5_importer_http::HttpImporter;
use url::Url;
let base_url = Url::parse("https://example.com/docs/")?;
let importer = HttpImporter::create(
fs,
blob_store,
4, // concurrency
base_url.clone(),
true, // use_base_relative_keys
)?;
importer.import_url(base_url).await?;