cloudflare / foundations

Cloudflare's Rust service foundations library.
https://blog.cloudflare.com/introducing-foundations-our-open-source-rust-service-foundation-library
BSD 3-Clause "New" or "Revised" License
1.3k stars 56 forks source link

ci: add docsrs and minver checks #20

Closed Noah-Kennedy closed 9 months ago

Noah-Kennedy commented 9 months ago

This change modifies our docs check to have it behave like docs.rs does and adds a minimal versions check which ensures that the semver requirements foundations uses for dependency crates are sufficiently high to ensure that foundations can still be built even with a lockfile filled with the oldest possible versions of its dependencies.

This would have caught the error that forced us to put out #16 and would have prevented #5.