Skip to content

Commit

Permalink
dark mode logo
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelAlloy committed Sep 16, 2024
1 parent 516bae0 commit 18ac009
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "thumbor"
description = "A Rust client for the Thumbor image service"
version = "0.1.9"
version = "0.1.10"
repository = "https://github.com/SteelAlloy/thumbor-rs"
documentation = "https://docs.rs/thumbor"
readme = "README.md"
Expand Down
79 changes: 39 additions & 40 deletions assets/doc/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ impl From<(i32, i32)> for Coords {
}
}

impl From<[i32; 2]> for Coords {
fn from([x, y]: [i32; 2]) -> Self {
Self { x, y }
}
}

impl From<i32> for Coords {
fn from(length: i32) -> Self {
Self {
Expand Down

0 comments on commit 18ac009

Please sign in to comment.