-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustls_version()
integration test
#434
Changes from all commits
12af576
f3fb9a2
98b42fc
ad9c9c0
17fe35d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,11 @@ use std::io::Write; | |
use std::{env, fs, path::PathBuf}; | ||
|
||
// Keep in sync with Cargo.toml. | ||
// | ||
// We don't populate this automatically from the Cargo.toml at build time | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shower thought: If the rust crate's build.rs did Haven't tried that, and it's probably a worse overall solution than what we have in this PR, and also I should have learned my lesson by now rather than relying on underused parts of cargo. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ooo, I forgot that |
||
// because doing so would require a heavy-weight deserialization lib dependency | ||
// (and it couldn't be a _dev_ dep for use in a build script) or doing brittle | ||
// by-hand parsing. | ||
const RUSTLS_CRATE_VERSION: &str = "0.23.4"; | ||
|
||
fn main() { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: the version here, and in the
Cargo.lock
was arranged based on this crate's MSRV. Thetoml
stack of crates (toml
,toml-edit
,serde_spanned
, etc) have aggressive MSRV reqs for newer versions. (Another reason I didn't want them to be primary dependencies!)