From 004d6f80f7a86fa6dce8f2403de7d926068ef02f Mon Sep 17 00:00:00 2001
From: Denis Cornehl Cross-compiling
This approach is also useful for setting cargo features.
+ When you start using docs.rs metadata or #[cfg(docsrs)] in your code, you might run into issues
+ where your code builds fine locally but fails on docs.rs.
+
+ To avoid this, you can add cargo docs-rs to
+ your test-suite.
+
+ While it doesn't perfectly replicate our build environment, it can catch many common issues.
+