Bazebara

  • 4 Posts
  • 31 Comments
Joined 2 年前
cake
Cake day: 2023年10月21日

help-circle


  • BazebaraOPtoRustdeku_string 0.4.1 release
    link
    fedilink
    arrow-up
    3
    ·
    19 天前

    Deku is a declarative binary parser. deku_string is an extension which currently provides utility wrappers for data vectors and unicode strings, which can be prefixed or fixed length. Additionally library provides support for 7-bit encoded integers from .NET.

    For example, I often work with binary structures where strings are either length prefixed (with zero character in a buffer) or in fixed size buffer with a zero-ended sting inside.

    There’s multiple examples with custom writer and reader functions, which work, but are less convenient to use.

    Any additional ideas for utilities are welcome.






  • BazebaratoRustIs crate fnmatch-regex2 a scam?
    link
    fedilink
    arrow-up
    2
    ·
    3 个月前

    You have to provide source to a rust repository. Otherwise, it’s impossible to compile and link Rust safely. There was an article in the topic.

    Long story short you can prepare and link a binary library, but you can’t guarantee any type safety or additional optimisations.


  • BazebaratoRustIs crate fnmatch-regex2 a scam?
    link
    fedilink
    arrow-up
    3
    ·
    3 个月前

    Quick analysis of code shows that there’s no suspicious build scripts or imports added, just an additional poorly documented and not tested function.

    Documentation is additionally published to a third-party website.

    Repository is probably is hidden which is ok.