-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from EHfive/to_no_std
Make crate no_std
- Loading branch information
Showing
4 changed files
with
218 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "resize" | |
version = "0.8.0" | ||
description = "Simple image resampling library in pure Rust." | ||
authors = ["Kornel <[email protected]>", "Kagami Hiiragi <[email protected]>"] | ||
categories = ["graphics", "multimedia::images"] | ||
categories = ["graphics", "multimedia::images", "no-std"] | ||
keywords = ["resize", "scale", "resample", "image", "graphics"] | ||
documentation = "https://docs.rs/resize" | ||
homepage = "https://github.com/PistonDevelopers/resize" | ||
|
@@ -12,16 +12,20 @@ license = "MIT" | |
readme = "README.md" | ||
include = ["Cargo.toml", "README.md", "LICENSE", "src/*.rs"] | ||
edition = "2021" | ||
rust-version = "1.57" | ||
rust-version = "1.60" | ||
|
||
[features] | ||
default = ["rayon"] | ||
default = ["std", "rayon"] | ||
std = [] | ||
no_std = ["dep:libm", "dep:hashbrown"] | ||
|
||
[dev-dependencies] | ||
png = "0.17.7" | ||
|
||
[dependencies] | ||
rgb = "0.8.36" | ||
rgb = { version = "0.8.36", default-features = false } | ||
libm = { version = "0.2.7", optional = true } | ||
hashbrown = { version = "0.14.0", optional = true } | ||
rayon = { version = "1.7.0", optional = true } | ||
|
||
[package.metadata.docs.rs] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.