Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: justify hardcoded build.rs RUSTLS_CRATE_VERSION
This commit adds some commentary to the `build.rs` `RUSTLS_CRATE_VERSION` const, justifying why we keep it in-sync manually. Initially I was thinking about deducing the `RUSTLS_CRATE_VERSION` in the `build.rs` script automatically by parsing `Cargo.toml`, but after thinking through the sensitivity of `build.rs`, and realizing the parsing would require a new _non-development_ dependency, I abandoned the idea. The recently added integration test will catch anyone forgetting to sync the const and avoids extra deps or complexity in the build script.
- Loading branch information