cargo-raze
derasterize
Our great sponsors
cargo-raze | derasterize | |
---|---|---|
6 | 6 | |
475 | 103 | |
0.6% | - | |
1.7 | 1.8 | |
23 days ago | over 3 years ago | |
Rust | C | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
cargo-raze
-
NixOS: Declarative Builds and Deployments
The same reason Bazel builds avoid using Cargo when building Rust software, so I'll describe why Bazel would do this:
- Bazel wants to cache remote resources, like each respective crate's source files.
- Bazel then wants to build each crate in a sandbox, and cache the build artifacts
This is an established practice, and Nix wants to drive the build for the same reasons.
See:
- https://github.com/bazelbuild/rules_rust
- https://github.com/google/cargo-raze
- Rust Is Portable
-
Regarding what happened to P0447: Why?
I can make much more sense of C++ code to ensure that two build systems produce the same effect than I can parse and learn two completely unconnected programming languages deeply enough to do the same. I can unit-test core routines. I can as easily extract core logic into shared (configuration) files etc. The benefit of a standard is not to discourage alternatives but rather to agree on definitive semantics and shared and common needs (that is: in this case needs for interfaces to the compiler/linker). The implementation and general availabilty is just one of the by-product. The ability to do introspection in common terms is maybe the most consequential other product, and this is critical for 'transpiling' to other build systems and writing automated adapters such as the one that bazel is recommend for cargo's dependency management.
-
What is your favorite programming language?
Cargo is not that tightly coupled with Rust. You can absolutely use bare rustc, and in fact people do that with other build systems like Bazel.
-
Six Years of Rust
Interesting, aren't the community-driven crates for these areas satisfactory enough? There's PROST and tonic, and quite well-used. I don't know about Bazel though, but I found this. Feel free to correct me on this subject, I admit I don't know that much about it.
-
Integrating Rust Into the Android Open Source Project | Google Security Blog
There is a project to generate Bazel BUILD files from Cargo.toml.
derasterize
- C source file, that is also a valid shell script
-
Terminal Graphics for the 21st Century
Far far better than caca.
The subset of usable characters (glyphs) roughly defines how accurate the picture can be represented: if all you have is - and _ and you want to represent an horizontal pipe, it'll be ugly.
Of course it's more complicated than that, but caca uses ascii, while chafa uses a larger unicode range.
The example is illustrated in picture on https://github.com/csdvrx/derasterize where the left is the original basicidea.c using only unicode halfblocks, and the right has more candidate of different shapes.
Derasterize lets you select the width of the range you want to use, to improve encoding time say for video - but ideally, you would be able to test that whatever font you are using contains the glyphs you want.
- Rust Is Portable
-
Everything you ever wanted to know about terminals(but were afraid to ask)
She's not only done work with sixels but she's the maintainer of the highest quality tool for rendering images as unicode blocks. https://github.com/csdvrx/derasterize
-
Alacritty with sixel
On the application side, there is as yet exactly one terminal multiplexer that can handle images inside multiple terminals, but someone (saitoha?) did make a dev branch of tmux that could do it. /u/csddvx has I think the most recent version of that ; and her derasterize can make sixel work with non-sixel terminals which is a really neat trick.
-
Show HN: I wrote a rust program to translate images into textual line art
For better quality, check https://github.com/csdvrx/derasterize
Example in Windows Terminal:
What are some alternatives?
prost - PROST! a Protocol Buffers implementation for the Rust Language
tv - Quickly view (satellite) imagery directly in your terminal using Unicode 9.0 characters and true color.
tonic - A native gRPC client & server implementation with async/await support.
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
prost - PROST! a Protocol Buffers implementation for the Rust Language
sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
dmd - dmd D Programming Language compiler
blessed - Blessed is an easy, practical library for making python terminal apps
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
pyroscope-rs - Pyroscope Profiler for Rust. Profile your Rust applications.
Metals - Scala language server with rich IDE features 🚀
rules_closure - Closure rules for Bazel