From: Martin Pitt Date: Tue, 24 Aug 2021 07:51:38 +0000 (+0200) Subject: Move helper functions into src/lib.rs X-Git-Url: https://piware.de/gitweb/?p=learn-rust.git;a=commitdiff_plain;h=f026aa1e762803c4e784f82fd3830c9f936cf8d5;hp=f026aa1e762803c4e784f82fd3830c9f936cf8d5 Move helper functions into src/lib.rs This enables writing integration tests. Pure binary crates can't have them: https://doc.rust-lang.org/stable/book/ch11-03-test-organization.html#integration-tests-for-binary-crates ---