Re:A Rust FFI adventure in unsafety
by sgtnasty on Wednesday October 10, 2018 @09:22PM
(#18190371)
I am learning Rust now, in an attempt to redo some Python scripts that run too slow (using threading). I was going to go with C (worked with it for years back in the 90's), until I stumbled upon Rust.
Rust is so easy to install and get up and running on any platform. But I am getting increasingly frustrated with documentation of many crates I try to use which were so easy in Python. For example serde, log4rs, clap (docs are pretty good).
For example, I can not find any way to change the log level in the log4rs implementation at runtime, or how to configure formatters with the yaml file.
Rust is so easy to install and get up and running on any platform. But I am getting increasingly frustrated with documentation of many crates I try to use which were so easy in Python. For example serde, log4rs, clap (docs are pretty good).
For example, I can not find any way to change the log level in the log4rs implementation at runtime, or how to configure formatters with the yaml file.