-
Notifications
You must be signed in to change notification settings - Fork 1
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
Clean up + add support for rustls builds #3
base: master
Are you sure you want to change the base?
Conversation
We had no CI running for rollbar-rs, nor any Makefil with lints, format checks, etc.
] } | ||
hyper-rustls = { version = "0.24", default-features = false, features = [ | ||
"http1", | ||
"rustls-native-certs", |
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.
Probably doesn't matter that much, but curious if this (rustls-native-certs
) is actually required, or if we should omit it and leave it up to the lib user.
.with_native_roots() | ||
.https_only() | ||
.enable_http1() |
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.
Do we for sure need to configure all this? Unclear to me looking at the docs what the defaults are...
.PHONY: lint | ||
lint: | ||
cargo fmt -- --check | ||
cargo +nightly clippy -- -Wclippy::pedantic |
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.
Nightly?
|
||
.PHONY: doc | ||
doc: | ||
$(MAKE) -B target/doc |
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.
Wat
This all started as an attempt to get this crate to use rustls (working on pruning away native libs from hq), but this repo wound up needing some love.