add git downloader default impl

This commit is contained in:
Stefano Fontana 2024-12-15 13:05:28 +01:00
parent 236cb0884f
commit a295495dc5
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ use typst_syntax::package::{PackageInfo, PackageSpec, VersionlessPackageSpec};
#[derive(Debug)]
pub struct GitDownloader;
impl Default for GitDownloader {
fn default() -> Self {
Self::new()
}
}
impl GitDownloader {
pub fn new() -> Self {
Self {}