Results 439 comments of Nemo157

Panicking in constants works, but there are no conditionals yet so you can only have a const fn that always panics. Supporting conditionals in const fn are on the roadmap,...

And I just got around to updating `http-service-hyper` to work with the current `hyper` and `http-service` releases, so https://github.com/Nemo157/http-service-hyper/blob/master/src/lib.rs has a fully working example of `hyper` on `smol`, obfuscated via...

A semi-related question: is `swww-daemon` public API? For my systemd service I run that directly instead of going through `swww init --no-daemon` to avoid the extra layering.

> maybe it's possible to set `uart.events_txdrdy` to 1 in the code. I just attempted that and it doesn't seem to take, I'm pretty sure the event registers are clear-only.

> * Tokio-like cooperative event loop. > > [...] > > @japaric is looking into a Cortex-M implementation of this and will write about his findings in a blog post....

@puzrin that's why I'm attempting to build off the [`futures`](https://github.com/rust-lang-nursery/futures-rs) crate, there are `#[async]`/`await!` macros available to work with the futures defined in that crate. Using them is still a...

For that specific feature you can tell `docs.rs` to enable a `cfg` flag [like here](https://github.com/Nemo157/async-compression/blob/master/Cargo.toml#L14-L16) (along with enabling `--all-features` to build everything). Then only conditionally use the feature based on...

Initial impressions, when I ran this command in a project (https://github.com/Nemo157/u2f-touch-detector @ `e12096fe3571ac3b7c501dca9f9d452b2b9f0e4c`) it emitted what looked like a bunch of warnings to me: ```console > CARGO_RESOLVER_SOMETHING_LIKE_PRECEDENCE=something-like-rust-version cargo -Zmsrv-policy generate-lockfile...

I came up with a different scheme for testing a current-rustc MSRV conflict, I overlaid a nightly cargo version on top of a stable 1.72 toolchain (I have no idea...

Something else I would want that I don’t think that can handle is only publishing updated packages, if one of the packages already exists at its current version number it...