summaryrefslogtreecommitdiff
path: root/rust/src/download.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-09-27 17:39:19 -0400
committerMason Reed <mason@vector35.com>2025-10-22 00:36:24 -0400
commit31ec051fd683d3747f10a0981b497d90f08d25a3 (patch)
tree039f28498656a427297406d90955766981bc0b06 /rust/src/download.rs
parent058800a116bf25f1f215b758663366d4695f0e31 (diff)
[Rust] Refactor download provider module to allow for custom implementations
Diffstat (limited to 'rust/src/download.rs')
-rw-r--r--rust/src/download.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/rust/src/download.rs b/rust/src/download.rs
new file mode 100644
index 00000000..4e541a90
--- /dev/null
+++ b/rust/src/download.rs
@@ -0,0 +1,10 @@
+//! Interface for registering new download providers
+//!
+//! WARNING: Do _not_ use this for anything other than provider registration. If you need to perform
+//! http requests, use a real requests library.
+
+mod instance;
+mod provider;
+
+pub use instance::*;
+pub use provider::*;