async VS slog

Compare async vs slog and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
async slog
1 2
26 1,530
- 1.5%
4.0 6.9
about 1 month ago about 1 month ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

async

Posts with mentions or reviews of async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-22.
  • Hey Rustaceans! Got an easy question? Ask here (8/2021)!
    14 projects | /r/rust | 22 Feb 2021
    I get the impression most of the time people are doing their Rust logging in the business thread, as opposed to using something like slog-async. For example, this repo only has 18 stars, whilst slog has 1.1k stars. Is it right to draw the conclusion that logging in a separate thread using an mpsc channel or something isn't typically a good idea?

slog

Posts with mentions or reviews of slog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-02.
  • I'm releasing cargo-sandbox
    9 projects | /r/rust | 2 Jan 2023
    I only recently learned about rustwide myself when implementing sandboxed rustdoc builds for Shipyard.rs. After spending a good amount of time with the codebase, I have found it to be generally high quality, but the way the code is organized makes it fairly difficult to adapt for different purposes than it was intended for (not modular). I have a fork that I have changed to do what I need but not sure whether the two codebases can be reconciled because I ended up needing to put stuff very specific to my purposes in there. I also ran into a weird issue where the logging from rustwide was conflicting with the slog-based logging from my code, which feels to me like there is some UB lurking somewhere.
  • Adding Slog Logger to Actix Web
    3 projects | dev.to | 2 Jun 2022
    Slog Core Crate : core package to the gateway of logging modules.

What are some alternatives?

When comparing async and slog you can also consider the following projects:

cflisp - A C compiler for digiflisp asm. Written in Rust

tracing - Application level tracing for Rust.

sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.

log4rs - A highly configurable logging framework for Rust

oxidoist-api - A Rust Crate providing an API wrapper for Todoist.

log - Logging implementation for Rust

hashes - Collection of cryptographic hash functions written in pure Rust

angle-grinder - Slice and dice logs on the command line

actix-slog-logger-setup - Adding Slog Logger to Actix Web easily.

crosvm - The Chrome OS Virtual Machine Monitor - Mirror of https://chromium.googlesource.com/crosvm/crosvm/

arewegameyet - The repository for https://arewegameyet.rs

gvisor - Application Kernel for Containers