rasn

A Safe #[no_std] ASN.1 Codec Framework (by librasn)

Rasn Alternatives

Similar projects and alternatives to rasn

  1. rust

    2,958 rasn VS rust

    Empowering everyone to build reliable and efficient software.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. jq

    307 rasn VS jq

    Discontinued Command-line JSON processor [Moved to: https://github.com/jqlang/jq] (by stedolan)

  4. tokio

    235 rasn VS tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

  5. kotlin

    230 rasn VS kotlin

    The Kotlin Programming Language.

  6. miller

    69 rasn VS miller

    Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

  7. Kaitai Struct

    Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby / Rust

  8. fq

    48 rasn VS fq

    jq for binary formats - tool, language and decoders for working with binary and text formats

  9. actix

    19 rasn VS actix

    Actor framework for Rust.

  10. nq

    19 rasn VS nq

    Unix command line queue utility

  11. HexFiend

    15 rasn VS HexFiend

    A fast and clever hex editor for macOS

  12. binspector

    A binary format analysis tool

  13. json-toolkit

    "the best opensource converter I've found across the Internet" -- dene14

  14. asn1rs

    1 rasn VS asn1rs

    Generates Rust Code and optionally compatible Protobuf schema files from ASN.1 definitions.

  15. gojq

    Pure Go implementation of jq (by wader)

  16. faq

    2 rasn VS faq

    Format Agnostic jQ -- process various formats with libjq

  17. binary-parsing

    A list of generic tools for parsing binary data structures, such as file formats, network protocols or bitstreams

  18. paseto-spec

    Specification for Platform Agnostic SEcurity TOkens (PASETO)

  19. json-logs

    A tool to pretty-print JSON logs, like those from zap or logrus.

  20. snmp-sim-rust

    SNMP Simulator (Rust)

  21. av1parser

    AV1 video codec bitstream parser (not decoder!)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rasn alternative or higher similarity.

rasn discussion

Log in or Post with

rasn reviews and mentions

Posts with mentions or reviews of rasn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-18.
  • A New ASN.1 API for Python
    4 projects | news.ycombinator.com | 18 Apr 2025
    There is also rasn library for Rust that now supports most of the codecs (BER/CER/DER/PER/APER/OER/COER/JER/XER).

    Disclaimer: I have contributed a lot recently. OER codec (modern flair of ASN.1) is extremely optimized (almost as much as it can be with safe Rust and without CPU specific stuff). I am still working with benchmarking results, which I plan to share in close future. But it starts to be the fastest there is in open-source world. It is also faster than Google's Protobuf libraries or any Protobuf library in Rust. (naive comparison, no reflection support). Hopefully other codecs could be optimized too.

    [1] https://github.com/librasn/rasn

  • Rasn 0.8: Now with support for UPER and APER
    1 project | /r/rust | 11 Jul 2023
  • An Open Source Rust SNMP Simulator
    6 projects | dev.to | 10 Jan 2023
    The UdpFramed constructor must be supplied by an instance of a codec object, which implements the Encoder and Decoder Tokio crate traits. It’s used on top of the socket to handle frames. SnmpCodec is used to decode the received UDP socket data into a stream of SNMP messages, and to encode the SNMP messages into ASN.1 encoded UDP socket data. The SnmpCodec is a wrapper of rasn ASN.1 codec framework, which implements the Encoder and Decoder traits to encode and decode UDP frames. The decoder and encoder implementations leverage the rasn ASN.1 codec framework.
  • Announcing Rasn 0.5: New CMS, Kerberos, OCSP, S/MIME crates, and funding announcement
    1 project | /r/rust | 23 Dec 2021
  • Fq: Jq for Binary Formats
    19 projects | news.ycombinator.com | 22 Dec 2021
    Shameless plug, but you may be interested in my library (which is MIT/Apache-2.0) that offers decoding from BER/DER/CER all from a single model in code, there's no UPER/APER support at the moment, but it's coming in the next few months. :)

    https://github.com/XAMPPRocky/rasn

  • Rasn 0.4 — New Compile-Time Validation, SET and ANY support, new LDAP and PKIX crates, and more!
    2 projects | /r/rust | 28 Sep 2021
    Hello everyone, I'm proud to announce the 0.4.0 of rasn! rasn is a #[no_std] codec framework for the ASN.1 data model and encoding rules. Allowing you to safely and easily parse ASN.1 data formats such as BER, CER, and DER in safe Rust. This release focused on rounding out the support for data types needed for more complicated specifications such as PKIX. If anyone has any questions about this release or rasn feel free to ask me here, or on the GitHub Discussions board.
  • ASN.1 & Serde: Which crate does the community recommend?
    1 project | /r/rust | 27 May 2021
    For ASN.1 I generally recommend rasn, which does not use serde since that is a poor fit for ASN.1. It went through an in-depth design phase and is currently the most complete and easy-to-use ASN.1 crate I'm aware of.
  • Comparison of way too many Rust ASN.1 DER libraries
    2 projects | /r/rust | 21 Apr 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic rasn repo stats
9
367
8.3
about 1 month ago

librasn/rasn is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of rasn is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Rust is
the 3rd most popular programming language
based on number of references?