mirror of
https://git.disroot.org/wolfree/wolfree-dockerfile
synced 2025-06-06 00:49:20 +02:00
2023-09-26
This commit is contained in:
20
rust/wolfree_download_dependencies/Cargo.toml
Normal file
20
rust/wolfree_download_dependencies/Cargo.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
[package]
|
||||
name = "wolfree_download_dependencies"
|
||||
version = "2023.8.31"
|
||||
authors = [
|
||||
"See the commit history of the Git repositories.",
|
||||
"https://git.kiwifarms.net/wolfree",
|
||||
]
|
||||
categories = ["development-tools::build-utils"]
|
||||
edition = "2021"
|
||||
keywords = ["Wolfree", "Docker", "download", "compile", "dependency"]
|
||||
license = "AGPL-3.0-or-later"
|
||||
readme = "README.md"
|
||||
repository = "https://git.kiwifarms.net/wolfree"
|
||||
description = "Download and compile dependencies."
|
||||
|
||||
[dependencies]
|
||||
regex = "1"
|
||||
walkdir = "2"
|
22
rust/wolfree_download_dependencies/src/main.rs
Normal file
22
rust/wolfree_download_dependencies/src/main.rs
Normal file
@@ -0,0 +1,22 @@
|
||||
/* SPDX-License-Identifier: AGPL-3.0-or-later */
|
||||
|
||||
//! rust - Can Cargo download and build dependencies without also building the application? - Stack Overflow
|
||||
//! <https://stackoverflow.com/questions/42130132/can-cargo-download-and-build-dependencies-without-also-building-the-application>
|
||||
//!
|
||||
//! cargo build --dependencies-only · Issue #2644 · rust-lang/cargo · GitHub
|
||||
//! <https://github.com/rust-lang/cargo/issues/2644>
|
||||
|
||||
#![allow(clippy::blanket_clippy_restriction_lints)]
|
||||
#![allow(clippy::implicit_return)]
|
||||
#![allow(clippy::question_mark_used)]
|
||||
|
||||
use regex::Regex;
|
||||
use std::error;
|
||||
use walkdir::WalkDir;
|
||||
|
||||
/// Entry point of the program.
|
||||
fn main() -> Result<(), Box<dyn error::Error>> {
|
||||
let _: Regex = Regex::new("")?;
|
||||
let _: WalkDir = WalkDir::new("");
|
||||
Ok(())
|
||||
}
|
Reference in New Issue
Block a user