Skip to content
#

rust-crate

Here are 442 public repositories matching this topic...

kangalioo
kangalioo commented Jul 21, 2020

What is the feature ?

I'm trying out this library for the first time and there's some places where it would be delightful to have shorthand functions:

  1. Shorthand functions for Pos: Pos::top_right, Pos::bottom_right, Pos::bottom_center etc..
  2. Short way to set colors for components. Currently, lots of boilerplate is required for e.g. white-on-black plotos
    • a cool start would b
nicklan
nicklan commented Aug 24, 2020

On my system:

$ cat /sys/class/power_supply/BAT0/model_name
5�+1^^�^^�9(-:'&��

Or:

$ hexdump /sys/class/power_supply/BAT0/model_name
0000000 8035 312b 801e 801e 2839 3a2d 2627 8080
0000010 000a
0000011

This means trying to get battery info always returns an error due to https://github.com/svartalf/rust-battery/blob/master/battery/src/platform/linux/device.rs#L36

optimization-engine
djrakita
djrakita commented Oct 25, 2019

Hi! I am very new to Rust, so I apologize if this ends up being a naive question.

So, for my robot motion optimization application, I have created an objective function and gradient function in the required format using closures, but the closure types are FnMut’s rather than Fn’s. This leads to the compiler complaining since the OpEn library forces the objective and gradient functions to be F

gak
gak commented Mar 23, 2021

Right now there's no way of seeing a wallet's phrase or private key via the CLI. The private key is visible via the wallet file, but not the phrase--it uses an Entropy rather than saving the words.

It would be good to have a command, e.g.:

> feeless wallet secret --id

The output would vary depending on the wallet type:

> feeless wallet secret --id xxx # phrase, must match 

Improve this page

Add a description, image, and links to the rust-crate topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rust-crate topic, visit your repo's landing page and select "manage topics."

Learn more