Clap v4! Argument Parsing in Rust

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Clap is such a fantastic library. What a gem.

AceofSpades
Автор

You missed the opportunity to say "have a crate day"😂
Thanks for this Video!:)

enbytiousmusic
Автор

I’ll have to opt in to those v3 deprecation warning. I do like how they learned about that process and giving clear support policies

DanielAWhite
Автор

Great! I wish more rust crates took steps towards becoming smaller and having less other crate dependencies, or at least hide them behind feature flags.

No, I don't need the log crate or thiserror as a depencency.

I don't want to have 180 dependencies all feature creeping from just adding a single crate.

erikwg
Автор

I'm excited to see what the team has planned for the future.

AceofSpades
Автор

Perfect timing. I just started rewrite c++ cli app in rust!

longbranchgooberdapple
Автор

looking forward to your updated workshops ;)

dragonmax
Автор

Wow the rust-cli book has already been updated to clap 4.0!

Endelin
Автор

great vid!
the rust ecosystem is getting richer and richer

iilugs
Автор

I hate that they constantly break my code through their changes.

v-for-victory
Автор

I'm having trouble getting what I want from clap parse error, the vector of string segments with styles is private and in no way accessible from outside of clap, the only way to not loose the style information is ANSI
Turns out I'm just early to the party and they are planning to let developers choose the styling in the near future. Would be good to have a method that accepts a formatting function that receives style + text so developers could style each text segment how they want based on clap style enum, or at least expose the underlying vector of style + text touples somehow

IS_watcher