-
parser generator: https://github.com/lalrpop/lalrpop
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
parser combinator library: https://github.com/Geal/nom
-
https://crates.io/crates/combine is a decent alternative to Nom. I found it much easier to pick up. I was using it to implement our generalized placeholder syntax in SQLx (which I hope to actually finish at some point): https://github.com/launchbadge/sqlx/blob/a2eda2de2462876a160982e57d73103795e34aa2/sqlx-core/src/placeholders.rs
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
https://crates.io/crates/combine is a decent alternative to Nom. I found it much easier to pick up. I was using it to implement our generalized placeholder syntax in SQLx (which I hope to actually finish at some point): https://github.com/launchbadge/sqlx/blob/a2eda2de2462876a160982e57d73103795e34aa2/sqlx-core/src/placeholders.rs
-
Super weird and very niche problem - I am at the American Airlines lounge at JFK airport, and I was trying to go on crates.io - but it's blocked with a message that says Web page blocked Access to this site is blocked at the direction of the venue providing this service as a courtesy to guests and customers. The provider seems to be AT&T Wifi that's blocking this. It seems that crates.io is listed under freeware and shareware based on the error-causing webpage addressL https://login.attwifi.com/blocked/blocked_page.html#?user_ip=%3C172.20.41.85%3E&dest_ip=%3C18.64.236.87%3E&web_rep=%3Clow-risk-sites%3E&web_cat=%3Cshareware-and-freeware%3E. Has anyone else run into this?
-
There is a list of registry implementations at https://github.com/rust-lang/cargo/wiki/Third-party-registries
-
capnproto-rust is the official Rust implementation.
-
paritytech has a Rust JSON-RPC framework.
-
gRPC is popular, but doesn't have the most compact binary encoding. Tonic is a pretty good implementation of gRPC in Rust.
-
bevy_networking_turbulence
Discontinued Networking plugin for Bevy engine running on naia-socket and turbulence libraries
I'm playing around with bevy_networking_turbulence right now and I think that helps me with all the OSI layer stuff.
-
Like separate instructions? I was thinking if a instruction have unknown length I make sure I have some kind of header field that tells the data length of the instruction so receiver knows when next instruction starts. And I was planning on using Bincode with serde to serialize and dezerialize like structs and stuff.
-
Like separate instructions? I was thinking if a instruction have unknown length I make sure I have some kind of header field that tells the data length of the instruction so receiver knows when next instruction starts. And I was planning on using Bincode with serde to serialize and dezerialize like structs and stuff.
-
x25519-dalek
X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
But I have been able to encrypt the byte array with aes-gcm and shared public keys between connections with diffie-hellman. But I'm sure Alice and Bob still is not totally safe because I may have fucked something up :D.
-
I guess let_chains would help here? Then it could look something like if let Some(link_node) = find_next_link(tab)? && let Some(attributes) = link_node.attributes && let Some((_, href_value)) = attributes.get_key_value("href") { return Ok(Some(href_value.to_string())); } Ok(None) which feels MUCH nicer, though I'm not crazy about using unstable features.
-
-
-
So I'm playing around with rocket.rs right now and I'm running into issues related to borrowing and asnync stuff. I have the following function which will check if a sessionid exists in a database. The CookieJar a rocket Object containing cookies which you can .get(). I also use Rockets Database integration which uses r2d2 internally. DbConn is a connection pool on which I can execute with .run(). is_session checks if a given string exists in the database, returning true or false.
-
Not familiar with JMESPath so can't speak about that, but yeah you will have to use the VisitMut or Fold traits (some info here) of SWC for doing transformations, they make it a little easier to do.
-
Since you are looking to convert React -> Solid you might want to take a loot at the transformations inside the SWC package of the Next.js repo. There is a lot of stuff related to transforming React syntax, for example check out this hook transformation.