mirror of
https://github.com/storytold/filmcraft.git
synced 2026-11-21 20:29:08 +00:00
164 lines
10 KiB
TOML
164 lines
10 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*", "apps/*", "xtask"]
|
|
default-members = ["crates/*", "apps/*", "xtask"]
|
|
|
|
[workspace.package]
|
|
version = "0.20.1"
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
rust-version = "1.95"
|
|
repository = "https://github.com/storytold/filmcraft"
|
|
|
|
[workspace.dependencies]
|
|
craft-psd = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# Shared bounded classic TIFF directory traversal.
|
|
craft-tiff = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# The YCbCr codec for stills; the same craft-tiff revision that DNG and craft-raw use.
|
|
craft-tiff-ycbcr = { package = "craft-tiff", version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# internal
|
|
filmcraft-time = { path = "crates/time" }
|
|
filmcraft-geom = { path = "crates/geom" }
|
|
filmcraft-color = { path = "crates/color" }
|
|
filmcraft-bitstream = { path = "crates/bitstream" }
|
|
filmcraft-isobmff = { path = "crates/isobmff" }
|
|
filmcraft-matroska = { path = "crates/matroska" }
|
|
filmcraft-cfb = { path = "crates/cfb" }
|
|
filmcraft-dng = { path = "crates/dng" }
|
|
filmcraft-audio-dsp = { path = "crates/audio-dsp" }
|
|
filmcraft-frame = { path = "crates/frame" }
|
|
filmcraft-media = { path = "crates/media" }
|
|
filmcraft-codecs = { path = "crates/codecs" }
|
|
filmcraft-project = { path = "crates/project" }
|
|
filmcraft-edit = { path = "crates/edit" }
|
|
filmcraft-interchange = { path = "crates/interchange" }
|
|
filmcraft-text = { path = "crates/text" }
|
|
filmcraft-captions = { path = "crates/captions" }
|
|
filmcraft-speech = { path = "crates/speech" }
|
|
filmcraft-tts = { path = "crates/tts" }
|
|
filmcraft-tts-text = { path = "crates/tts-text" }
|
|
filmcraft-render = { path = "crates/render" }
|
|
filmcraft-gpu = { path = "crates/gpu" }
|
|
filmcraft-scopes = { path = "crates/scopes" }
|
|
filmcraft-export = { path = "crates/export" }
|
|
filmcraft-format = { path = "crates/format" }
|
|
filmcraft-engine = { path = "crates/engine" }
|
|
filmcraft-ui-egui = { path = "crates/ui-egui" }
|
|
filmcraft-automation = { path = "crates/automation" }
|
|
filmcraft-platform = { path = "crates/platform" }
|
|
filmcraft-testkit = { path = "crates/testkit" }
|
|
|
|
# foundation
|
|
thiserror = "2"
|
|
serde = { version = "1", features = ["derive", "rc"] }
|
|
serde_json = "1"
|
|
url = "2.5.8"
|
|
log = "0.4"
|
|
# All date/time conversion goes through chrono (no hand-rolled calendar code beyond the 400-year range extension; AGENTS.md).
|
|
chrono = { version = "0.4.45", default-features = false, features = ["std"] }
|
|
rayon = "1"
|
|
proptest = "1"
|
|
roxmltree = "0.21"
|
|
# Shared OpenEXR ZIP chunk compression and inflation.
|
|
craft-exr = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "8b40f1a4b0718916e7c136c1b91b38a5c7531a0e" }
|
|
# DPX still reader, on the same commit as craft-media.
|
|
craft-dpx = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# Shared YUV4MPEG2 parser and frame index.
|
|
craft-jsonrpc = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", features = ["async-lines"] }
|
|
craft-fcproj-format = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "3af2280ee3434a2c860012df2f440652621c2c81" }
|
|
craft-font-catalog = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", default-features = false }
|
|
craft-control-protocol = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
craft-y4m = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# Shared lossless JPEG decoding for DNG.
|
|
craft-raw = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", default-features = false }
|
|
# Shared Radiance HDR reader with bounded direct RGBA output.
|
|
craft-hdr = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
craft-tga = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# Shared OMF Bento container; its object model stays in FilmCraft.
|
|
craft-aaf = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
craft-cfb = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
# The audio codecs (AAC, AC-3, FLAC, MP1/MP2, Opus) and the containers come from craft-libs. Both
|
|
# are on one commit, so the types they share (CodecParams, ByteSource) are the same.
|
|
craft-media = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", default-features = false }
|
|
craft-media-source = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "6a061a30bdd4a6cc24329334d5e44241896edba6" }
|
|
craft-audio = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", default-features = false, features = ["aac-decode", "aac-encode", "rayon", "ac3-decode", "mpa-decode", "mp3-decode", "decode-native", "symphonia", "opus-decode", "flac-encode", "mp3-encode"] }
|
|
# The video codecs (including H.264 encode, APV encode, ProRes, DNxHD / DNxHR and decoders), on the same commit as craft-media.
|
|
craft-video = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", features = ["h264-decode", "h264-encode", "hevc-decode", "vp9-decode", "av1-decode", "vp8-decode", "mpeg2", "apv", "prores", "dnx", "threads"] }
|
|
# Exact time, EDL / ALE and the interchange report; serde for the project file's time fields.
|
|
craft-timeline = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", features = ["serde"] }
|
|
craft-captions = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17" }
|
|
|
|
# ui
|
|
# Shared frontend components; keep this dependency above the engine boundary.
|
|
craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", features = ["serde", "native-windows"] }
|
|
# egui 0.37: bundled fonts are opt-in, and the monochrome symbol/emoji faces moved to their own
|
|
# feature. FilmCraft paints ✔ ✓ ✖ ⚡ ⚠ ⚙ ♪ ☑ in panel chrome, so both features are part of the
|
|
# production font policy (system_fonts stays off).
|
|
egui = { version = "0.37", features = ["default_fonts", "monochrome_emoji_fonts"] }
|
|
# Resizable table columns (About ▸ Contributors / Models); no image loaders.
|
|
egui_extras = { version = "0.37", default-features = false }
|
|
eframe = { version = "0.37", default-features = false }
|
|
egui_kittest = "0.37"
|
|
# craft-update: app-specific pretend versions apply to startup and manual checks.
|
|
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "dc6adc3fbd9cf39e4a8210f94106a5b0c3e26e17", features = ["egui"] }
|
|
rfd = "0.17"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
cognitive_complexity = "deny"
|
|
too_many_arguments = "deny"
|
|
wildcard_imports = "deny"
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|
|
needless_range_loop = "allow"
|
|
type_complexity = "allow"
|
|
|
|
# Line tables keep file and line in panics and backtraces at a fraction of full debug info's size;
|
|
# dependencies need none.
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|
|
debug = false
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
debug = "line-tables-only"
|
|
|
|
# Codec hot loops: debug-build tests (RFC/oracle vectors) are minutes slower below opt-level 3.
|
|
[profile.dev.package.filmcraft-dng]
|
|
opt-level = 3
|
|
|
|
[profile.dev.package.craft-audio]
|
|
opt-level = 3
|
|
|
|
[profile.dev.package.craft-video]
|
|
opt-level = 3
|
|
|
|
# Audio effects: realtime-factor tests and long convolution / spectral runs.
|
|
[profile.dev.package.filmcraft-audio-dsp]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
# Keep the complete egui family and native event bridge on reviewed fork commits.
|
|
[patch.crates-io]
|
|
ecolor = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
emath = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
epaint = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui-winit = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui_glow = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui_extras = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
eframe = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
|
|
winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
|