1. Only showing results from lib.rs

    Clear filter to show all search results

  2. Feb 10, 2025String with ability to annotate (format) its individual fragments. by Yaroslav Bolyukin. Install; API reference; GitHub repo (certainlach) 1 unstable release. new 0.2.1 Feb 10, 2025 #1 in #annotated. 83 downloads per month MIT license 16KB 495 lines. hi-doc. Diagnostic formatting library. ...
  3. 1 day agoSee also: getset, syn, clap, litrs, macrotest, duplicate, reflect, knossos, bevy_atmosphere, zyc_getset, validated_struct Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  4. Dec 25, 2024Annotate your struct or enum to enable the custom de/serializer. The #[serde_as] attribute must be placed before the #[derive]. The as is analogous to the with attribute of serde. You mirror the type structure of the field you want to de/serialize. You can specify converters for the inner types of a field, e.g., Vec<DisplayFromStr>.
  5. Dec 29, 2024It helps annotate a structure with special attributes to extract fields to compose new structure objects for re-use. This library is based upon the Syn Library and the power of macro derive attributes embedded in rust. The dtos are generated during compile time. There is no overhead during runtime for this as the final binary will contain the ...
  6. 7 days agoThe Patch macro allows you to annotate a struct such that stores and fields have a .patch() method, which allows you to provide an entirely new value, but only notify fields that have changed. Updating a field will notify its parents and children, but not its siblings. Stores can therefore. work with plain Rust data types, and
  7. 6 days agoAnnotate your struct with #[derive(Partial)] and attach one or more #[partial(...)] attributes to configure the output. The attribute supports three optional parts (order does not matter): An optional target name literal (e.g. "UserConstructor"). If omitted, the generated struct is named "Partial".
  8. Oct 24, 2024If it is molecule struct, we should annotate it explicitly. use serde_molecule::struct_serde; #[derive(Serialize, Deserialize)] pub struct CellInput {pub since: u64, #[serde(with = "struct_serde")] pub previous_output: OutPoint, } If the top-level type is a molecule struct, the second argument to to_vec or from_slice should be true.
  9. 1 day agouse limbo_ext::{register_extension, AggregateDerive, AggFunc, Value}; /// annotate your struct with the AggregateDerive macro, and it must implement the below AggFunc trait #[derive(AggregateDerive)] struct Percentile; impl AggFunc for Percentile {/// The state to track during the steps type State = (Vec<f64>, Option<f64>, Option<String ...
  10. Feb 11, 2025emit Developer-first diagnostics for Rust applications. emit is a framework for adding structured diagnostics to your Rust applications with a simple, powerful data model and an expressive syntax inspired by Message Templates. emit's guiding design principle is low ceremony, low cognitive-load.. This readme covers just enough to give you an idea of what emit is.
  11. Oct 13, 2024See also: thread_local, scoped-tls, fragile, scoped-tls-hkt, better_scoped_tls, mockall, float_eq, tracing-test, annotate-snippets, assertables, mock_instant Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  12. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX