Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
-
slint
Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
That's a pity. I guess allowing us to reuse the internal Buffer (https://github.com/rust-lang/rust/blob/master/library/std/src/io/buffered/bufreader/buffer.rs) would probably be a bit tricky without exposing the implementation details...
thanks! is there a way I could change get_layer_names_and_pointers() function so that the two return values have tied lifetimes? I'm OK if the signature has to change significantly you can see its definition here
Can you perchance reduce your code to a reproducer? We had some perf problems within clippy recently (notably #10134), perhaps clap's macro expands to something that triggers this?
I suggest filing an issue in the clap repo. Your first macro generates over 61,000 lines of code.
A TextInput is used e.g. in https://github.com/MrGibus/Iced-7guis/blob/main/src/temperature.rs
Slint
Flutter
FLTK
Relm (GTK)
iced
Imgui, Imgui-rs
Imgui, Imgui-rs
and gtk-rs
You can use cargo asm - not sure if you can integrate it with VSCode, but even from a terminal it's a pretty convenient tool.
It's part of the specialization RFC.
The strum crate is also good for removing this kind of boilerplate, and worth checking out!