rust-library
Here are 796 public repositories matching this topic...
When rendering with an invalid template that refers to an Object instead of strings/integers/bools/arrays, the rendering silent fails by rendering "[object]", due to:
https://github.com/Keats/tera/blob/b91a985951fccf6896c7192ea7c78ba64608bb62/src/context.rs#L119
(by the way, this could be Cow::Borrowed)
This is does not match the rust philosophy of being explicit and quickly failing so
-
Updated
Apr 17, 2020 - Rust
Is there a TODO list anywhere of the API surface that's not exposed yet in this rust wrapper?
E.g. I want to use tabs, but can't find them here.
I got a cool bug report on a project of mine that uses the csv crate: rojo-rbx/rojo#145
I deserialize files into a Vec of a struct with a shape like this:
#[derive(Debug, Deserialize)]
struct SomethingEntry {
name: String,
#[serde(flatten)]
values: HashMap<String, String>,
}The actual structure uses #[serde(flatten)] to capt
Here is a file for test:
https://www.uscis.gov/system/files_force/files/form/i-9-paper-version.pdf?download=1
I tried to change it using replace_text. Unfortunately, it doesn't work. Advice needed.
I suspect, because of version 1.6
Hi,
I'm missing the Rust example code from the web page like the camera example
https://ryanisaacg.com/quicksilver/example.html?camera
there is a link to the Rust source code, but the link is dead. There are only js files in the docs folder on Github
Are there any more advanced examples in Rust?
Greetings
Markus
Hello,
I was working on a crate and found inconsistent newlines when argh prints help for a binary when using different forms of doc comments.
When fields within a FromArgs struct are documented using /// style doc comments, and consecutive lines also begin with /// every newline and break in the doc comment is ignored when the --help string is printed. If instead the fields are docume
-
Updated
May 25, 2020 - Rust
-
Updated
Jun 2, 2020 - Rust
-
Updated
Apr 2, 2020 - Rust
-
Updated
Apr 7, 2020 - Rust
I'll be poking at implementing CLAHE for this crate over the next month.
Should be about equivalent to this MATLAB function: https://www.mathworks.com/help/images/ref/adapthisteq.html and this OpenCV function: https://docs.opencv.org/3.4/d6/db6/classcv_1_1CLAHE.html.
Clear `examples-bak`
Currently, CsMat::new appears to fail on input that has duplicate values (i.e. when in a CSR matrix multiple indices for a row are the same). They are summed by default, if I read the following comment correctly,
By convention, duplicate locations are summed up when converting into CsMat
An example from https://github.com/vbarrielle/sprs/pul
-
Updated
Nov 22, 2019 - Rust
-
Updated
Dec 16, 2019 - Rust
-
Updated
Mar 24, 2020 - Rust
-
Updated
Jan 30, 2020 - Rust
-
Updated
May 16, 2020 - Rust
-
Updated
Nov 24, 2019 - Rust
drain() method is quite slow, both on SmallVec and TinyVec. I don't know why exactly, but I suspect branching on every access is to blame.
For Copy+!Drop You can achieve a very similar result faster if you obtain a slice into TinyVec (i.e. branch once) and iterate over it, then call truncate() once you're done. unicode-normalization crate does this:
https://github.com/unicode-rs/unico
it would be nice to skip travis commits when just working on windows. [ci skip] also skips appveyor builds. this seems to be customizable though
-
Updated
Apr 12, 2019 - Rust
-
Updated
Jun 2, 2020 - Rust
Improve this page
Add a description, image, and links to the rust-library topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the rust-library topic, visit your repo's landing page and select "manage topics."
Describe the bug
It is a common convention in rust code to prefix variables with an underscore if unused. When creating a
graphql_object, I would like to prototype the interface and keep the compiler happy, so I prefix all the vars with an underscore.