summaryrefslogtreecommitdiffstats
path: root/rust/wolfree_download_dependencies/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/wolfree_download_dependencies/src')
-rw-r--r--rust/wolfree_download_dependencies/src/main.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/rust/wolfree_download_dependencies/src/main.rs b/rust/wolfree_download_dependencies/src/main.rs
new file mode 100644
index 0000000..9fdc1ab
--- /dev/null
+++ b/rust/wolfree_download_dependencies/src/main.rs
@@ -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(())
+}