Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

aengelas
Copy link

@aengelas aengelas commented Apr 11, 2023

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.

We had no CI running for rollbar-rs, nor any Makefil with lints, format
checks, etc.
Cargo.toml Show resolved Hide resolved
@aengelas aengelas changed the title Add CI Clean up + add support for static builds Apr 11, 2023
@aengelas aengelas changed the title Clean up + add support for static builds Clean up + add support for rustls builds Apr 11, 2023
] }
hyper-rustls = { version = "0.24", default-features = false, features = [
"http1",
"rustls-native-certs",
Copy link

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.

Comment on lines +570 to +572
.with_native_roots()
.https_only()
.enable_http1()
Copy link

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
Copy link

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants