mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 04:08:12 +08:00
Raw-rs: Remove from workspace (#2066)
* Remove raw-rs from workspace * Add feature blocking to reqwest * Use release build to run the tests * Split Raw-rs CI into a seperate workflow * Fix cargo-deny check for Raw-rs * Only run the CI if Raw-rs changes * Enable clippy check for Raw-rs * Add newline in clippy check * Fixups * Use ubuntu-latest * Remove mold * Install sccache * Attempt 2 * Attempt 3 * Add emoji for consistency --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
36fe9bf31b
commit
9d13a8f73b
Generated
+2139
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,11 @@
|
||||
[workspace]
|
||||
members = ["tag-derive", "build-camera-data"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.dependencies]
|
||||
quote = "1.0.37"
|
||||
syn = "2.0.79"
|
||||
|
||||
[package]
|
||||
name = "raw-rs"
|
||||
version = "0.0.1"
|
||||
@@ -20,18 +28,14 @@ raw-rs-tests = ["dep:image", "dep:libraw-rs", "dep:reqwest", "dep:rayon"]
|
||||
tag-derive = { path = "tag-derive" }
|
||||
build-camera-data = { path = "build-camera-data" }
|
||||
|
||||
# Workspace dependencies
|
||||
thiserror = { workspace = true }
|
||||
|
||||
# Required dependencies
|
||||
bitstream-io = "2.3.0"
|
||||
num_enum = "0.7.2"
|
||||
bitstream-io = "2.5.3"
|
||||
num_enum = "0.7.3"
|
||||
fortuples = "0.9.1"
|
||||
|
||||
# Optional workspace dependencies
|
||||
image = { workspace = true, optional = true }
|
||||
reqwest = { workspace = true, optional = true }
|
||||
thiserror = "1.0.64"
|
||||
|
||||
# Optional dependencies (should be dev dependencies, but Cargo currently doesn't allow optional dev dependencies)
|
||||
image = { version = "0.25.3", optional = true }
|
||||
reqwest = { version = "0.12.8", optional = true, features = ["blocking"] }
|
||||
libraw-rs = { version = "0.0.4", optional = true }
|
||||
rayon = { version = "1.10.0", optional = true }
|
||||
|
||||
@@ -15,7 +15,7 @@ proc-macro = true
|
||||
# Workspace dependencies
|
||||
quote = { workspace = true }
|
||||
syn = { workspace = true }
|
||||
proc-macro2 = { workspace = true }
|
||||
|
||||
# Required dependencies
|
||||
toml = "0.8.15"
|
||||
proc-macro2 = "1.0.88"
|
||||
|
||||
@@ -41,7 +41,7 @@ impl From<Value> for CustomValue {
|
||||
Value::Float(x) => CustomValue::Float(x),
|
||||
Value::Boolean(x) => CustomValue::Boolean(x),
|
||||
Value::Array(x) => CustomValue::Array(x.into_iter().map(|x| x.into()).collect()),
|
||||
_ => panic!("Unsuported data type"),
|
||||
_ => panic!("Unsupported data type"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user