mirror of https://github.com/stelzo/typst.git
add git downloader default impl
This commit is contained in:
parent
236cb0884f
commit
a295495dc5
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue