]> piware.de Git - learn-rust.git/commitdiff
Move helper functions into src/lib.rs
authorMartin Pitt <martin@piware.de>
Tue, 24 Aug 2021 07:51:38 +0000 (09:51 +0200)
committerMartin Pitt <martin@piware.de>
Tue, 24 Aug 2021 07:55:48 +0000 (09:55 +0200)
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


No differences found