Michael Leonhard

Results 53 comments of Michael Leonhard

[Brotli 1.0.9](https://github.com/google/brotli/releases/tag/v1.0.9) was released on 2020-08-27 and contains a security fix.

I built six single-field protos and my bundle.js grew by 332 KiB. This is unacceptable. So far, it seems to me that the only solution offered is to learn a...

Most versions of the `openssl` command line tool generate V1 certificates if you don't specify extensions. The x509-signature library rejects such certificates with `UnsupportedCertVersion`: https://github.com/paritytech/x509-signature/issues/2

A workaround is to include the password in the Url: ```rust let mut url = Url::parse("https://lookups.twilio.com/v1/PhoneNumbers?Type=carrier").unwrap(); url.path_segments_mut() .unwrap() .push(&tel.inner().to_string()); url.set_username(&twilio_sid).unwrap(); url.set_password(Some(&.twilio_token)).unwrap(); let response = ureq::request_url("GET", &url).call().unwrap(); if response.status() == 404...

Can you please provide a small rust program that hits the error?

I also hit this and wasted a lot of time on it. The root cause is that CLion and the `intellij-rust` plugin do not run build scripts by default. There...

I mis-read the code. chrono-tz's `build.rs` does not use timezone data from the local system. At [`chrono-tz-build/src/lib.rs#L426`](https://github.com/chronotope/chrono-tz/blob/e2daab147914deced0648b4c7018be90cc6eae9e/chrono-tz-build/src/lib.rs#L426), it reads files from the [`tz/`](https://docs.rs/crate/chrono-tz/0.5.3/source/tz/) source dir. I still hope that chrono-tz...

I'm getting this error with `cargo-geiger` built from source today (commit 8d1a2647a6a37acffa2261ce494397f4fd5691a2) running on a project that uses `rustls`: ``` + cargo geiger --update-readme --readme-path Readme.md.tmp --output-format GitHubMarkdown Compiling cc...

rust-analyzer release 2020-08-31 is flaky. It just stopped working in my VSCode installation. It does code completion and shows documentation popups, but stopped showing compiler errors and warnings. Restarting VSCode...

This is important because the `brotli2` crate has a [known security problem](https://github.com/alexcrichton/brotli2-rs/issues/26#issuecomment-817195360). The [PR to fix it](https://github.com/alexcrichton/brotli2-rs/pull/31) was abandoned.