Something about Cargo

Photo by Philipp Medicus (CC BY-NC 2.0)

Cargo is a tool that allows Rust packages to declare their various dependencies and ensure that you’ll always get a repeatable build.

This week i found something interesting about cargo.

First there is a well organized cargo book. Short and clear text. Cargo is easy to understand if you have ruby bundler or npm background.

January 5, 2019
by Anton Vasiljev
0
15
aoc
rust

AOC: Puzzle 2.2 in rust

Input is the same as for 2.1. This time I must find ids that differs by one letter in the same position:

The IDs abcde and axcye are close, but they differ by two characters (the second and fourth). However, the IDs fghij and fguij differ by exactly one character, the third (h and u). Those must be the correct boxes.
December 14, 2018
by Anton Vasiljev
0
13
aoc
rust

Borrowing in Rust

Doing puzzle #2 of advent of code challenge in Rust. The puzzle is pretty simple. Input looks like this:

The task is:

...count the number that have an ID containing exactly two of any letter and then separately count those with exactly three of any letter. You can multiply those two counts together to get [an answer]...
December 12, 2018
by Anton Vasiljev
0
17
aoc
rust

AOC Posts disclaimer

Photo by Mike Baird (CC BY 2.0) Cropped.

This disclaimer related to Advent of code posts i publishing in this blog.

In those posts I going to document my travel into Rust programming language. The goal of these blog posts is to make my understanding of rust better as a result of documenting my findings and insights. Making public posts makes me more responsible: forces to think twice and read more docs before publishing...

December 9, 2018
by Anton Vasiljev
34
aoc
rust
Show more