This topic wouldn't be complete if not mentioning that you can add #[test]s to your examples and make sure to add cargo test --examples to test them in CI. If your main function is minimal you can arrange for everything to be tested, if wanted.
This topic wouldn't be complete if not mentioning that you can add #[test]s to your examples and make sure to add cargo test --examples to test them in CI. If your main function is minimal you can arrange for everything to be tested, if wanted.