Skip to content

Commit

Permalink
Reorganize code into jxl-cli, jxl crates.
Browse files Browse the repository at this point in the history
Also move some files from {x}.rs to {x}/mod.rs.
  • Loading branch information
veluca93 committed Sep 16, 2024
1 parent f1c0dfa commit cdd4317
Show file tree
Hide file tree
Showing 26 changed files with 32 additions and 20 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

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

22 changes: 2 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
[package]
name = "jxl"
version = "0.1.0"
authors = ["Luca Versari <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
thiserror = "1.0"
byteorder = "1.4.3"
num-derive = "0.3"
num-traits = "0.2.14"
array-init = "2.0.0"
half = "1.7.1"
jxl_headers_derive = { version = "=0.1.0", path = "jxl_headers_derive" }

[profile.release]
debug = true

[workspace]
members = ["jxl_headers_derive"]

[features]
members = [ "jxl", "jxl_cli", "jxl_headers_derive"]
resolver = "2"
16 changes: 16 additions & 0 deletions jxl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "jxl"
version = "0.1.0"
authors = ["Luca Versari <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
thiserror = "1.0"
byteorder = "1.4.3"
num-derive = "0.3"
num-traits = "0.2.14"
array-init = "2.0.0"
half = "1.7.1"
jxl_headers_derive = { path = "../jxl_headers_derive" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions jxl_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "jxl_cli"
version = "0.1.0"
edition = "2021"

[dependencies]
jxl = { path = "../jxl" }
File renamed without changes.

0 comments on commit cdd4317

Please sign in to comment.