Skip to content
#

Rust

rust logo

Rust is a systems programming language created by Mozilla. It is similar to C++, but is designed for improved memory safety without sacrificing performance.

Here are 21,962 public repositories matching this topic...

starkpsmichael
starkpsmichael commented Apr 15, 2021

Seems like that the new http native bindings doesn't work in a WebWorker, see example below.

http2.ts

const body = new TextEncoder().encode("Hello World");
for await (const conn of Deno.listen({ port: 80 })) {
  (async () => {
    for await (const { respondWith } of Deno.serveHttp(conn)) {
      respondWith(new Response(body));
    }
  })();
}

worker.ts

ne
yew
tauri
nothingismagick
nothingismagick commented Apr 15, 2021

Is your feature request related to a problem? Please describe.
Many of our packages seem to have a little bloat. We want to reduce our environmental impact (and also the time spent downloading / building / shipping).

Describe the solution you'd like
Every npm package should have an .npmignore that prunes non-necessary stuff
Remove tests / examples from crates

-ALWAYS ship the li

mvolkmann
mvolkmann commented Apr 3, 2021

Describe the bug
The open command uses the bat crate to nicely render text files.
The docs here: https://www.nushell.sh/book/configuration.html#nushell-configuration-with-config-toml
say that setting the [textview] vcs_modification_markers option to true causes it to show modification markers, but it doesn't currently work. However, running bat on the same file does show modific

TimUntersberger
TimUntersberger commented Mar 1, 2021

Right now any StyleSheet has a list of functions without a default implementation. Implementing a StyleSheet is really annoying, because you have to override all of the functions and not just the thing you want to change.

I recently wanted to just change the border_radius of a text_input and I had to write the following code.

impl StyleSheet for Styles {
    fn active(&self) ->
bevy
alice-i-cecile
alice-i-cecile commented Apr 15, 2021

How can Bevy's documentation be improved?

Searching a term on docs.rs (or through your IDE's representation) is most user's first step when trying to understand how a function or struct work. For good reason, much of our documentation right now lives in the form of longer-form examples in the examples folder of this repo.

We should bridge this gap, by linking to these examples from the

Shadlock0133
Shadlock0133 commented Apr 8, 2021

Currently, with dark theme only available colour scheme is grey shades, while light mode offers multiple colour schemes. With only greys, it can be hard to tell difference between shades.

It might be good idea to add (more) colour schemes to dark mode. Even just copying schemes from light mode would be a good start, although they might need a bit of tweaking to avoid heavy contrast with backgro

fugkco
fugkco commented Mar 8, 2021

Subject of the issue

When attempting to do a login to an account that has 2FA enabled, but without the 2FA details, it seems to return the wrong error response. Not just the message, but the whole object is different. I understand that this is likely not a priority considering everything works, but for parity's sake, it would be nice to have this implemented the right way.

I also noticed t

Created by Graydon Hoare

Released 2010

Organization
rust-lang
Website
www.rust-lang.org
Wikipedia
Wikipedia

Related Topics

c-plus-plus language