pub async fn async_compile_source<T: Serialize>(
        &self,
        path: impl AsRef<Path>,
    ) -> Result<CompilerOutput> {
        use crate::artifacts::Source;
        self.async_compile(&CompilerInput::with_sources(Source::async_read_all_from(path).await?))
            .await
    }
/// Convenience function for compiling all sources under the given path
Convenience function for compiling all sources under the given path
Convenience function for compiling all sources under the given path
pub async fn async_compile_source<T: Serialize>(
        &self,
        path: impl AsRef<Path>,
    ) -> Result<CompilerOutput> {
        use crate::artifacts::Source;
        self.async_compile(&CompilerInput::with_sources(Source::async_read_all_from(path).await?))
            .await
    }
pub async fn async_compile_source < T : Serialize > ( & self , path : impl AsRef < Path > , ) -> Result < CompilerOutput > { use crate :: artifacts :: Source ; self . async_compile ( & CompilerInput :: with_sources ( Source :: async_read_all_from ( path ) . await ? ) ) . await }
Convenience function for compiling all sources under the given path
Convenience function for compiling all sources under the given path
&self
path
impl AsRef<Path>