cotton

Crates.iocotton
lib.rscotton
version0.1.1
sourcesrc
created_at2019-04-26 13:14:03.159643
updated_at2023-03-30 16:37:18.322139
descriptionA prelude with crates, types and functions useful for writing CLI tools.
homepage
repositoryhttps://github.com/jpastuszek/cotton
max_upload_size
id130318
size44,702
Jakub Pastuszek (jpastuszek)

documentation

https://docs.rs/cotton

README

Latest Version Documentation License

"Batteries included" prelude with crates, types and functions useful for writing command-line interface tools and quick scripts.

This prelude aims to be useful in generic context of CLI tools and will try to minimise dependencies.

Things that fit this prelude:

  • argument parsing,
  • logging,
  • I/O including reading from stdin,
  • common file operations and directory structure,
  • executing commands,
  • extensions to stdlib and language functionality,
  • digests and checksums,
  • time and duration
  • commonly used stdlib imports.

Things that will not be included:

  • JSON parser or other formats,
  • HTTP client or specific API clients
  • TLS or other encryption libraries.
Commit count: 183

cargo fmt