mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00

* graph-craft: fix direct wasm build * graph-craft: fix no serde feature failing to compile * graph-craft: make wgpu-executor properly optional * workspace: unify `image` formats in workspace * workspace: turn most dependencies into workspace deps, no actual changes * workspace: unify dependency features in workspace dep
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "graphene-cli"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "CLI interface for the graphene language"
|
|
authors = ["Graphite Authors <contact@graphite.rs>"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[features]
|
|
default = ["wgpu"]
|
|
wgpu = ["wgpu-executor", "gpu", "graphene-std/wgpu"]
|
|
wayland = ["graphene-std/wayland"]
|
|
profiling = ["wgpu-executor/profiling"]
|
|
passthrough = ["wgpu-executor/passthrough"]
|
|
gpu = [
|
|
"interpreted-executor/gpu",
|
|
"graphene-std/gpu",
|
|
"wgpu-executor",
|
|
]
|
|
|
|
[dependencies]
|
|
# Local dependencies
|
|
graphene-core = { workspace = true }
|
|
graphene-std = { workspace = true, features = ["serde"] }
|
|
interpreted-executor = { workspace = true }
|
|
graph-craft = { workspace = true, features = ["loading"] }
|
|
|
|
# Workspace dependencies
|
|
log = { workspace = true }
|
|
futures = { workspace = true }
|
|
fern = { workspace = true }
|
|
chrono = { workspace = true }
|
|
wgpu = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
|
|
|
# Required dependencies
|
|
clap = { version = "4.5.31", features = ["cargo", "derive"] }
|
|
|
|
# Optional local dependencies
|
|
wgpu-executor = { path = "../wgpu-executor", optional = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["wgpu-executor"]
|