# ShortLink-rs [![Build](https://github.com/houseme/shortlink-rs/workflows/Build/badge.svg)](https://github.com/houseme/shortlink-rs/actions?query=workflow%3ABuild) [![docs.rs](https://docs.rs/shortlink-rs/badge.svg)](https://docs.rs/shortlink-rs/) [![License](https://img.shields.io/crates/l/shortlink-rs)](LICENSE-APACHE) [![Crates.io](https://img.shields.io/crates/v/shortlink-rs)](https://crates.io/crates/shortlink-rs) [![Crates.io](https://img.shields.io/crates/d/shortlink-rs)](https://crates.io/crates/shortlink-rs) ## Introduction A short link service system suitable for small and medium-sized community websites. supports short link production, query and 302 redirection, and comes with click statistics, independent IP statistics and access logs. ## Install Add the following to your `Cargo.toml`: ```toml [dependencies] shortlink-rs = "0.0.1" ``` ## Quickstart rust version >= 1.63.0 ```rust ``` ## Benchmarks Run them yourself with `cargo bench`. ## License Licensed under either of * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option. ### Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.