-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7be8927
commit 9af876c
Showing
6 changed files
with
179 additions
and
165 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,71 +1,71 @@ | ||
[package] | ||
authors = ["Inflation <[email protected]>"] | ||
categories = ["api-bindings", "encoding", "multimedia::images"] | ||
description = "Safe Rust wrapper for JPEG XL reference implementation" | ||
edition = "2021" | ||
keywords = ["jpeg-xl", "jxl"] | ||
license = "GPL-3.0-or-later" | ||
name = "jpegxl-rs" | ||
readme = "README.md" | ||
repository = "https://github.com/inflation/jpegxl-rs" | ||
version = "0.11.1-alpha.0+libjxl-0.11.0" | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lints.rust] | ||
missing_docs = "warn" | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
|
||
[features] | ||
default = ["image"] | ||
image = ["dep:image"] | ||
vendored = ["jpegxl-sys/vendored"] | ||
docs = ["jpegxl-sys/docs"] | ||
bench = [] | ||
|
||
[dependencies] | ||
derive_builder = "0.20.1" | ||
image = { version = "0.25.2", optional = true, default-features = false } | ||
thiserror = "1.0.64" | ||
half = "2.4.1" | ||
byteorder = "1.5.0" | ||
|
||
[dependencies.jpegxl-sys] | ||
version = "0.11.1-alpha.0" | ||
path = "../jpegxl-sys" | ||
default-features = false | ||
|
||
[dev-dependencies] | ||
image = { version = "0.25.2", default-features = false, features = [ | ||
"jpeg", | ||
"png", | ||
] } | ||
lcms2 = "6.1.0" | ||
pretty_assertions = "1.4.1" | ||
testresult = "0.4.1" | ||
|
||
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies] | ||
criterion = "0.5.1" | ||
|
||
|
||
[package.metadata.docs.rs] | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
features = ["docs"] | ||
|
||
[lib] | ||
bench = false | ||
path = "src/lib.rs" | ||
|
||
[[bench]] | ||
harness = false | ||
name = "decode" | ||
required-features = ["bench"] | ||
|
||
[[bench]] | ||
harness = false | ||
name = "encode" | ||
required-features = ["bench"] | ||
[package] | ||
authors = ["Inflation <[email protected]>"] | ||
categories = ["api-bindings", "encoding", "multimedia::images"] | ||
description = "Safe Rust wrapper for JPEG XL reference implementation" | ||
edition = "2021" | ||
keywords = ["jpeg-xl", "jxl"] | ||
license = "GPL-3.0-or-later" | ||
name = "jpegxl-rs" | ||
readme = "README.md" | ||
repository = "https://github.com/inflation/jpegxl-rs" | ||
version = "0.11.1-alpha.0+libjxl-0.11.0" | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lints.rust] | ||
missing_docs = "warn" | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
|
||
[features] | ||
default = ["image"] | ||
image = ["dep:image"] | ||
vendored = ["jpegxl-sys/vendored"] | ||
docs = ["jpegxl-sys/docs"] | ||
bench = [] | ||
|
||
[dependencies] | ||
derive_builder = "0.20.1" | ||
image = { version = "0.25.2", optional = true, default-features = false } | ||
thiserror = "1.0.64" | ||
half = "2.4.1" | ||
byteorder = "1.5.0" | ||
|
||
[dependencies.jpegxl-sys] | ||
version = "0.11.2" | ||
path = "../jpegxl-sys" | ||
default-features = false | ||
|
||
[dev-dependencies] | ||
image = { version = "0.25.2", default-features = false, features = [ | ||
"jpeg", | ||
"png", | ||
] } | ||
lcms2 = "6.1.0" | ||
pretty_assertions = "1.4.1" | ||
testresult = "0.4.1" | ||
|
||
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies] | ||
criterion = "0.5.1" | ||
|
||
|
||
[package.metadata.docs.rs] | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
features = ["docs"] | ||
|
||
[lib] | ||
bench = false | ||
path = "src/lib.rs" | ||
|
||
[[bench]] | ||
harness = false | ||
name = "decode" | ||
required-features = ["bench"] | ||
|
||
[[bench]] | ||
harness = false | ||
name = "encode" | ||
required-features = ["bench"] |
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Changelog | ||
|
||
## [Unreleased] | ||
|
||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
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 |
---|---|---|
@@ -1,47 +1,47 @@ | ||
[package] | ||
authors = ["Inflation <[email protected]>"] | ||
description = "Source of libjxl and logic to build it." | ||
edition = "2021" | ||
license = "BSD-3-Clause" | ||
name = "jpegxl-src" | ||
readme = "README.md" | ||
repository = "https://github.com/inflation/jpegxl-rs" | ||
version = "0.11.1" | ||
rust-version.workspace = true | ||
exclude = [ | ||
"libjxl/third_party/libpng", | ||
"libjxl/third_party/sjpeg", | ||
"libjxl/third_party/lcms", | ||
"libjxl/third_party/googletest", | ||
"libjxl/third_party/brotli/tests", | ||
"libjxl/third_party/brotli/java", | ||
"libjxl/third_party/brotli/csharp", | ||
"libjxl/third_party/brotli/research", | ||
"libjxl/third_party/brotli/js", | ||
"libjxl/third_party/libjpeg-turbo", | ||
"libjxl/third_party/highway/g3doc", | ||
"libjxl/third_party/skcms/profiles", | ||
"libjxl/third_party/zlib/contrib", | ||
"libjxl/testdata", | ||
"libjxl/examples", | ||
"libjxl/experimental", | ||
"libjxl/docker", | ||
"libjxl/doc", | ||
"libjxl/.github", | ||
"libjxl/debian", | ||
"libjxl/plugins", | ||
] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lints.rust] | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
|
||
[dependencies] | ||
cmake = "0.1.51" | ||
|
||
[features] | ||
threads = [] | ||
[package] | ||
authors = ["Inflation <[email protected]>"] | ||
description = "Source of libjxl and logic to build it." | ||
edition = "2021" | ||
license = "BSD-3-Clause" | ||
name = "jpegxl-src" | ||
readme = "README.md" | ||
repository = "https://github.com/inflation/jpegxl-rs" | ||
version = "0.11.2" | ||
rust-version.workspace = true | ||
exclude = [ | ||
"libjxl/third_party/libpng", | ||
"libjxl/third_party/sjpeg", | ||
"libjxl/third_party/lcms", | ||
"libjxl/third_party/googletest", | ||
"libjxl/third_party/brotli/tests", | ||
"libjxl/third_party/brotli/java", | ||
"libjxl/third_party/brotli/csharp", | ||
"libjxl/third_party/brotli/research", | ||
"libjxl/third_party/brotli/js", | ||
"libjxl/third_party/libjpeg-turbo", | ||
"libjxl/third_party/highway/g3doc", | ||
"libjxl/third_party/skcms/profiles", | ||
"libjxl/third_party/zlib/contrib", | ||
"libjxl/testdata", | ||
"libjxl/examples", | ||
"libjxl/experimental", | ||
"libjxl/docker", | ||
"libjxl/doc", | ||
"libjxl/.github", | ||
"libjxl/debian", | ||
"libjxl/plugins", | ||
] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lints.rust] | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
|
||
[dependencies] | ||
cmake = "0.1.51" | ||
|
||
[features] | ||
threads = [] |
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 |
---|---|---|
@@ -1,45 +1,45 @@ | ||
[package] | ||
authors = ["Inflation <[email protected]>"] | ||
categories = ["external-ffi-bindings", "encoding", "multimedia::images"] | ||
description = "Rust wrapper for JPEG XL reference implementation" | ||
edition = "2021" | ||
keywords = ["jpeg-xl", "jxl"] | ||
license = "GPL-3.0-or-later" | ||
links = "jxl" | ||
name = "jpegxl-sys" | ||
readme = "README.md" | ||
repository = "https://github.com/inflation/jpegxl-rs" | ||
version = "0.11.1-alpha.0+libjxl-0.11.0" | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lints.rust] | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
module_name_repetitions = "allow" | ||
|
||
[lints.rustdoc] | ||
broken_intra_doc_links = "deny" | ||
|
||
[package.metadata.docs.rs] | ||
features = ["docs"] | ||
|
||
[build-dependencies] | ||
pkg-config = "0.3.31" | ||
|
||
[build-dependencies.jpegxl-src] | ||
version = "0.11.0" | ||
path = "../jpegxl-src" | ||
optional = true | ||
|
||
[dev-dependencies] | ||
image = { version = "0.25.2", default-features = false, features = ["png"] } | ||
pretty_assertions = "1.4.1" | ||
|
||
[features] | ||
default = [] | ||
vendored = ["jpegxl-src"] | ||
docs = [] | ||
[package] | ||
authors = ["Inflation <[email protected]>"] | ||
categories = ["external-ffi-bindings", "encoding", "multimedia::images"] | ||
description = "Rust wrapper for JPEG XL reference implementation" | ||
edition = "2021" | ||
keywords = ["jpeg-xl", "jxl"] | ||
license = "GPL-3.0-or-later" | ||
links = "jxl" | ||
name = "jpegxl-sys" | ||
readme = "README.md" | ||
repository = "https://github.com/inflation/jpegxl-rs" | ||
version = "0.11.2+libjxl-0.11.0" | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lints.rust] | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
module_name_repetitions = "allow" | ||
|
||
[lints.rustdoc] | ||
broken_intra_doc_links = "deny" | ||
|
||
[package.metadata.docs.rs] | ||
features = ["docs"] | ||
|
||
[build-dependencies] | ||
pkg-config = "0.3.31" | ||
|
||
[build-dependencies.jpegxl-src] | ||
version = "0.11.2" | ||
path = "../jpegxl-src" | ||
optional = true | ||
|
||
[dev-dependencies] | ||
image = { version = "0.25.2", default-features = false, features = ["png"] } | ||
pretty_assertions = "1.4.1" | ||
|
||
[features] | ||
default = [] | ||
vendored = ["jpegxl-src"] | ||
docs = [] |