mask
json
mask | json | |
---|---|---|
7 | 41 | |
995 | 4,537 | |
- | 1.4% | |
6.0 | 8.8 | |
4 months ago | 13 days ago | |
Rust | Rust | |
MIT License | 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.
mask
- Mask – A CLI task runner defined by a simple Markdown file
-
How to improve my Rust workflow?
Another alternative I'll add is my mask CLI tool. It reads a markdown file and parses it for a command structure. Markdown code blocks are used to define bash/zsh/python/ruby/node scripts all within a single file.
-
anyone using rust in production? what do you do?
I also build and maintain a Rust-based CLI tool called mask. While this doesn't run in production, it powers everything from my local development workflow to my CI and production deployment flow.
- Rust Is for Professionals
-
My Latest Side Project: Modal File Manager
It is a new project that is currently in Alpha stage. You can download from my GitHub account and play with it. It is built using Svelte, Nw.js, and mask script running.
-
Rust Foundation: Hello, World
I mentioned elsewhere in this thread that I built a jigsaw puzzle website [1] with a Rust API backend and I launched it last week. It definitely took longer than if I had used Node, but I enjoy working with Rust much more.
Apart from that website, I have also open sourced a Rust CLI task runner [2] which uses markdown files as a command definition format. This is probably the most important tool I've ever written, as I have used it every single day since.
[1]: https://puzzlepanda.com
[2]: https://github.com/jakedeichert/mask
-
Controling your Computer from a Phone
At the top level, there are three things: the server directory, the UI directory, and a maskfile.md file for using mask. Mask is a great tool for running scripts on your project. I use it all the time.
json
-
What even is a JSON number?
Oh wow. So serde_json doesn't roundtrip floats by default, it uses some imprecise faster algorithm https://github.com/serde-rs/json/issues/707
Good thing there's msgpack I guess.
-
I pre-released my project "json-responder" written in Rust
tokio / hyper / toml / serde / serde_json / json5 / console
-
Flow Updater JSON Creator
Serde JSON, an extension of the serde crate that enables the serialization and deserialization of Rust structs.
-
A Simple CRUD API in Rust with Cloudflare Workers, Cloudflare KV, and the Rust Router
To serialize and deserialize data, we'll employ the popular serde crate along with serde_json. This will allow us to easily convert between Rust types and JSON when working with API requests and responses. For async operations we'll use the Rust futures crate.
- Rust devs push back as Serde project ships precompiled binaries
-
Building a Rust app with Perseus
From the Cargo.toml file above, we can see that the Perseus version at the time of publication is 0.4.2 and has the following dependencies that are common to both the engine side (server-side) and client side of a Perseus application: sycamore, serde, and serde_json.
-
REST API in RUST with ntex
serde_json
-
Müsli - An experimental binary serialization framework with more choice
Number parsing uses a fairly naive but uses a lossless algorithm in musli-json. In serde_json they use a fork of lexical I haven't wrapped my head around. I wanted something simple to start with.
-
How can I deserialise this value?
Your best best would be to use an enum. Either your own or something like the one from serde_json depending on what you are trying to do.
-
Spotting and Avoiding Heap Fragmentation in Rust Apps
Don't do that if you care about memory usage. In your toy program, I wouldn't be surprised if memory usage was a lot better if you used Box instead. (even if it doesn't look like it, you can handle almost all the use cases of serde_json::Value with it, often not much less convenient)
What are some alternatives?
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
serde - Serialization framework for Rust
hyperscan - High-performance regular expression matching library
json-rust - JSON implementation in Rust
xtensa-rust-quickstart - A demo crate for the xtensa uC's (ESP32, ESP8266)
hjson-rust for serde - Hjson for Rust
fsharp-formatting-conventions - G-Research F# code formatting guidelines
pikkr - JSON parser which picks up values directly without performing tokenization in Rust
wasm-astar - 👾 Rust WebAssembly A* Pathfinding Demo
serde-yaml - Strongly typed YAML library for Rust
foundation.rust-lang.org - website for Rust Foundation
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API