Crates.io | imgix |
lib.rs | imgix |
version | 0.1.3 |
source | src |
created_at | 2020-04-04 04:34:38.269958 |
updated_at | 2020-05-15 01:03:22.597135 |
description | imgix-rs is a crate used for generating urls. |
homepage | https://github.com/ericdeansanchez/imgix-rs |
repository | https://github.com/ericdeansanchez/imgix-rs |
max_upload_size | |
id | 226141 |
size | 79,387 |
The imgix-rs crate provides functionality for programmatically constructing imgix-urls. This crate is a work in progress and is not currently ready for production use.
This crate seeks to be explicit and correct. It is also currently a side-project (and unofficial). Right now, the project structure looks like this:
.
└── src
├── bin
└── imgix
Where the bin/
directory represents the cli portion of the project and the imgix/
directory represents the crate that the cli and users use. The project may be split into separate crates in the future: one for the cli and one for the crate the cli depends on.
For a more detailed description of this project's architecture read this.
imgix-rs is written in Rust and currently only depends on clap
.
Coming soon! For now, you can git clone
this repository.
Contributions are welcome! No contribution is too small––bug fix, a new feature, feature-request, or a typo fix––all are welcome.
imgix-rs is written in Rust so make sure you have Rust installed
Clone the repository:
$ git clone https://github.com/ericdeansanchez/imgix-rs.git
cd into the repository and run:
$ cargo build
Ensure the tests pass on your system (please open an issue if they do not):
$ cargo test
The published docs can be found here at docs.rs.
Copy & paste the command below in your terminal. Make sure --no-deps
is passed otherwise you'll build documentation for all/any dependencies.
$ cargo doc --no-deps --open
Calling run
without arguments
$ cargo run
leads to the cli help message.