Examples of old (ca. 1.0.0+) Rust code that still compiles?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

  • I suppose you could look through some of the compilers tests. There is this gem for instance https://github.com/rust-lang/rust/blob/master/tests/ui/weird-exprs.rs

  • suffix

    Fast suffix arrays for Rust (with Unicode support).

  • suffix 0.2.10 was published on April 15, 2015, one month before Rust 1.0 came out:

  • 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.

    WorkOS logo
  • mandelbrot

  • https://github.com/matklad/mandelbrot -- does not build due to some cargo error

  • bunny

    An exercise with glium (by matklad)

  • https://github.com/matklad/bunny -- does not build due to errors in rustc_serialize (pattern in function declaration) and dlib (some declarative macro stuff)

  • mob

    Accumulating echo server using Rust's mio (by matklad)

  • https://github.com/matklad/mob -- does not build due to pub in private in regex, and mem::transmute error in nix

  • auchat

  • https://github.com/matklad/auchat -- does not build due to mem::transmute error in crossbeam, rustc-serialize, some name resolution error in rust-protobuf

  • miniml

  • https://github.com/matklad/miniml -- does not build due to type inference regression in petgraph

  • 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.

    InfluxDB logo
  • mom

  • https://github.com/matklad/mom -- trivial no-deps project, builds

  • learnOpenGL

  • https://github.com/matklad/learnOpenGL -- does not buid due to rustc-serialize and "privatee crate import" error in glium

  • s

  • https://github.com/matklad/s -- trivial no-deps project, builds

  • rustraytracer

    A ray tracer written in Rust

  • https://github.com/matklad/rustraytracer/commit/2ee59ae9139d2127438ba5342d6af93660cd76bb -- does not build, "doesn't have a size known at compile-time" error in rand

  • tera

    A template engine for Rust based on Jinja2/Django (by matklad)

  • It seem to get much better by 2017 or so. Both https://github.com/matklad/tera and https://github.com/matklad/xi-editor/tree/master/rust are non-trivial, and they build fine

  • xi-editor

    A modern editor with a backend written in Rust. (by matklad)

  • It seem to get much better by 2017 or so. Both https://github.com/matklad/tera and https://github.com/matklad/xi-editor/tree/master/rust are non-trivial, and they build fine

  • rust-quiz

    Medium to hard Rust questions with explanations

  • Do you actually want to question all you know about Rust? Do this amazing quiz by the famed dtolnay.

  • Cargo

    The Rust package manager

  • I know I've run into this exact issue in CI. There's this open cargo issue about allowing one to restrict the parallel link invocations, but I have no idea how much work would be involved: https://github.com/rust-lang/cargo/issues/9157

  • SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts