Skip to content

Commit

Permalink
0.5.4 Removed links to with.lv and updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ffissore committed Jun 15, 2020
1 parent 98f3314 commit 41ae703
Show file tree
Hide file tree
Showing 8 changed files with 722 additions and 458 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.4] - 2020-06-15
### Changed
- Removed links to with.lv: I took it down because it was abused
- Updated dependencies

## [0.5.3] - 2020-01-24
### Security
- Security fixes
Expand Down
1,149 changes: 707 additions & 442 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This is useful in cases such as sending SMS notifications, when you have a limit

Shorty stores its data on Redis.

You can see it in action at https://with.lv/

### Multiple ways of deploying it

Shorty is available as
Expand Down
7 changes: 3 additions & 4 deletions shorty-aws-lambda/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "shorty-aws-lambda"
version = "0.5.3"
version = "0.5.4"
authors = ["Federico Fissore <[email protected]>"]
edition = "2018"
description = "shorty-aws-lambda is a url shortener based on shorty and deployable on AWS lambda"
license = "Apache-2.0"
readme = "../README.md"
repository = "https://github.com/ffissore/shorty"
keywords = ["url", "shortener", "redis", "server", "serverless"]
homepage = "https://with.lv"

[dependencies]
log = "0.4.6"
Expand All @@ -20,5 +19,5 @@ redis = "0.10.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
shorty = { path = "../shorty", version = "0.5.3" }
shorty-conf = { path = "../shorty-conf", version = "0.5.3" }
shorty = { path = "../shorty", version = "0.5.4" }
shorty-conf = { path = "../shorty-conf", version = "0.5.4" }
3 changes: 1 addition & 2 deletions shorty-conf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[package]
name = "shorty-conf"
version = "0.5.3"
version = "0.5.4"
authors = ["Federico Fissore <[email protected]>"]
edition = "2018"
description = "shorty-conf is the configuration bit used by crates integrating shorty"
license = "Apache-2.0"
readme = "../README.md"
repository = "https://github.com/ffissore/shorty"
keywords = ["url", "shortener", "redis", "server", "serverless"]
homepage = "https://with.lv"
7 changes: 3 additions & 4 deletions shorty-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "shorty-http"
version = "0.5.3"
version = "0.5.4"
authors = ["Federico Fissore <[email protected]>"]
edition = "2018"
description = "shorty-http is a url shortener based on shorty and deployable as a standalone http server"
license = "Apache-2.0"
readme = "../README.md"
repository = "https://github.com/ffissore/shorty"
keywords = ["url", "shortener", "redis", "server", "serverless"]
homepage = "https://with.lv"

[dependencies]
actix = "0.7"
Expand All @@ -17,5 +16,5 @@ redis = "0.10.0"
env_logger = "0.6"
serde = "1.0"
serde_derive = "1.0"
shorty = { path = "../shorty", version = "0.5.3" }
shorty-conf = { path = "../shorty-conf", version = "0.5.3" }
shorty = { path = "../shorty", version = "0.5.4" }
shorty-conf = { path = "../shorty-conf", version = "0.5.4" }
3 changes: 1 addition & 2 deletions shorty/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "shorty"
version = "0.5.3"
version = "0.5.4"
authors = ["Federico Fissore <[email protected]>"]
edition = "2018"
description = "shorty is a library for assigning short IDs to long URL, and store them on redis"
license = "Apache-2.0"
readme = "../README.md"
repository = "https://github.com/ffissore/shorty"
keywords = ["url", "shortener", "redis", "server", "serverless"]
homepage = "https://with.lv"

[dependencies]
redis = "0.10.0"
Expand Down
4 changes: 2 additions & 2 deletions shorty/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub mod redis_facade;
#[derive(Debug)]
pub struct ShortenerError {
message: &'static str,
cause: Option<Box<Error>>,
cause: Option<Box<dyn Error>>,
}

impl ShortenerError {
Expand All @@ -49,7 +49,7 @@ impl ShortenerError {
cause: None,
}
}
fn new_with_cause(message: &'static str, error: Box<Error>) -> ShortenerError {
fn new_with_cause(message: &'static str, error: Box<dyn Error>) -> ShortenerError {
ShortenerError {
message,
cause: Some(error),
Expand Down

0 comments on commit 41ae703

Please sign in to comment.