bestia.dev
bestia.dev
The rust_regex_explanation_pwa_bg.wasm file is 1MB. It sound like a big file for the web we know before wasm. But in fact this has to be treated more like an installation...
There are actions that are reversible and actions that are irreversible. `cargo publish` is terribly easy to write, run and misunderstand. Later is not possible to delete a published crate....
Publishing a new crate or a new stable version of a crate is pretty rare. And it needs a lot of preparation and thinking through. An unintentional publish can have...
Sorry, you didn't mention my last proposal - all args mandatory: `cargo publish --crate my_crate_name --vers 1.0.0. --reg crate-io` That solves all current safety/security/clumsiness issues: 1. Cannot type 'cargo publish'...
There are 2 extreme philosofies and a big gray area between: 1. Most security and less comfort 2. Most comfort and less security. Javascript and dynamic languages are very comfortable....
We already established that the command `cargo publish` can be catastrophic in some special circumstances (containing secrets, wrong repo, wrong version, no possibility to delete it after publish). Let's make...
Thanks for the snippet. Here is my take. I needed simple functions to call. in Cargo.toml: ```toml [dependencies] octocrab = "0.12.0" unwrap="1.2.1" reqwest={version="0.11.4", features=["stream"]} tokio-util = "0.6.7" tokio = {version...
I am new to Zellij and I already hit the ctrl-Q problem. It is too easy to press ctrl-Q, because many programs use that. And BOOM - all is lost...
Is this a good approach? I crate a new type PercentDecoded that guarantees it has been decoded. It has traits FromStr and ToString. The standard String cannot guarantee if it...
ok. I got it. I reverse it. Something like this: ```rust let author_route = warp::path!("rust-reviews" / "author" / UrlPartUtf8String) .map(|author_id: UrlPartUtf8String | { let author_id = author_id.to_string(); ``` Inside the...