mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 14:38:12 +08:00
Raw-rs: run tests in parallel (#1968)
* Run raw-rs tests in parallel * cargo fmt * Fix clippy warnings * Use Fast CompressionType to speed up the tests * Fix benches * Use cfg_attr instead of cfg. --------- Co-authored-by: hypercube <0hypercube@gmail.com> Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
hypercube
Keavon Chambers
parent
e352c7fa71
commit
d68f91ccca
@@ -13,7 +13,7 @@ repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/r
|
||||
documentation = "https://docs.rs/raw-rs"
|
||||
|
||||
[features]
|
||||
raw-rs-tests = ["dep:image", "dep:libraw-rs", "dep:reqwest"]
|
||||
raw-rs-tests = ["dep:image", "dep:libraw-rs", "dep:reqwest", "dep:rayon"]
|
||||
|
||||
[dependencies]
|
||||
# Local dependencies
|
||||
@@ -33,3 +33,4 @@ reqwest = { workspace = true, optional = true }
|
||||
|
||||
# Optional dependencies (should be dev dependencies, but Cargo currently doesn't allow optional dev dependencies)
|
||||
libraw-rs = { version = "0.0.4", optional = true }
|
||||
rayon = { version = "1.10.0", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user