demo-rust-axum
log
demo-rust-axum | log | |
---|---|---|
6 | 28 | |
317 | 2,060 | |
- | 1.9% | |
6.6 | 8.6 | |
about 2 months ago | about 1 month ago | |
Rust | Rust | |
- | Apache License 2.0 |
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.
demo-rust-axum
- Show HN: Demo Rust Axum – major update for axum 0.7 and hyper 1.0 and HTTP 1.0
-
I want to learn how to build microservices in rust
I like Axum, Hyper, Tower, Tokio, Serde. I wrote a quick start guide here: https://github.com/joelparkerhenderson/demo-rust-axum (and any constructive advice is welcome)
-
Rust & Axum tutorials / books ??
Demo Rust Axum has source and a free e-book PDF: https://github.com/joelparkerhenderson/demo-rust-axum
-
Hey Rustaceans! Got a question? Ask here! (36/2022)!
source of code snippet
-
Is Rust Web Yet?
Axum is an excellent web framework. I've used Actix, Rocket, Warp, Tide too. If you want a quick Axum demo, I wrote a free 50-page ebook tutorial here: https://github.com/joelparkerhenderson/demo-rust-axum
- Show HN: Axum web framework for Rust – a demo tutorial
log
-
What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library?
log: Logging interface with various levels.
-
How easy is it to swap out your async runtime?
Depends on your logging crate. log does not depend on any async runtime.
-
log is going to bump msrv to 1.60
See the corresponing PR: https://github.com/rust-lang/log/pull/543
-
Rust and its friendly crates: Don't miss out on them!
log
-
Colorful logging with pizzazz!
It's a for-fun project that provides a configurable implementation for the log crate. This language and community is awesome, and I hope some of you get a kick out of this!
-
Ergonomic logging?
Firstly I would start by taking a look at how crates using log actually resolve this. Particularly the set_boxed_logger which simply calls Box::leak.
-
Logging Crate for CLI?
You might want to look at log and simple_log.
- Hey Rustaceans! Got a question? Ask here! (36/2022)!
-
Rust playground on iOS
4) Another route that I tried is to develop a simple terminal app using SwiftUI with a Xcode project to build that app + link against a Rust library compiled for iOS with the actual logic. I used swift-bridge for this and it works really well, to the point where I have a custom logger that you can simply use the print stuff to SwiftUI from Rust using the log crate. Once I have a bit more time, I will probably try figuring out how to clean this up a bit more.
What are some alternatives?
ntex - framework for composable networking services
slog - Structured, contextual, extensible, composable logging for Rust
axum-tutorial - Axum web framework tutorial for beginners.
tracing - Application level tracing for Rust.
django-stubs - PEP-484 stubs for Django
log4rs - A highly configurable logging framework for Rust
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
rust-simple_logger - A rust logger that prints all messages with a readable output format.
rust-wiki-backup - A backup of the Rust wiki
env_logger - A logging implementation for `log` which is configured via an environment variable.
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
async-anyhow-logger - An easy crate for catching anyhow errors from an asynchronous function, and passing them to your logger