[package] name = "manganis-cli-support" version.workspace = true edition = "2021" authors = ["Evan Almloff"] description = "Ergonomic, automatic, cross crate asset collection and optimization" license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/manganis/" homepage = "https://dioxuslabs.com" keywords = ["assets"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] manganis-common = { path = "../common", version = "0.3.0-alpha.3" } serde = { version = "1.0.183", features = ["derive"] } serde_json = { version = "1.0.116" } anyhow = "1" rayon = "1.7.0" rustc-hash = "1.1.0" # Tailwind railwind = "0.1.5" # Image compression/conversion # JPEG mozjpeg = { version = "0.10.7", default-features = false, features = [ "parallel", ] } # PNG imagequant = "4.2.0" png = "0.17.9" # Conversion image = { version = "0.25" } ravif = { version = "0.11", default-features = false } # CSS Minification lightningcss = "1.0.0-alpha.44" # Js minification - swc has introduces minor versions with breaking changes in the past so we pin all of their crates swc = "=0.283.0" swc_allocator = { version = "=0.1.8", default-features = false } swc_atoms = { version = "=0.6.7", default-features = false } swc_cached = { version = "=0.3.20", default-features = false } swc_common = { version = "=0.37.5", default-features = false } swc_compiler_base = { version = "=0.19.0", default-features = false } swc_config = { version = "=0.1.15", default-features = false } swc_config_macro = { version = "=0.1.4", default-features = false } swc_ecma_ast = { version = "=0.118.2", default-features = false } swc_ecma_codegen = { version = "=0.155.1", default-features = false } swc_ecma_codegen_macros = { version = "=0.7.7", default-features = false } swc_ecma_compat_bugfixes = { version = "=0.12.0", default-features = false } swc_ecma_compat_common = { version = "=0.11.0", default-features = false } swc_ecma_compat_es2015 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2016 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2017 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2018 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2019 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2020 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2021 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es2022 = { version = "=0.12.0", default-features = false } swc_ecma_compat_es3 = { version = "=0.12.0", default-features = false } swc_ecma_ext_transforms = { version = "=0.120.0", default-features = false } swc_ecma_lints = { version = "=0.100.0", default-features = false } swc_ecma_loader = { version = "=0.49.1", default-features = false } swc_ecma_minifier = { version = "=0.204.0", default-features = false } swc_ecma_parser = { version = "=0.149.1", default-features = false } swc_ecma_preset_env = { version = "=0.217.0", default-features = false, features = [ "serde", ] } swc_ecma_transforms = { version = "=0.239.0", default-features = false } swc_ecma_transforms_base = { version = "=0.145.0", default-features = false } swc_ecma_transforms_classes = { version = "=0.134.0", default-features = false } swc_ecma_transforms_compat = { version = "=0.171.0", default-features = false } swc_ecma_transforms_macros = { version = "=0.5.5", default-features = false } swc_ecma_transforms_module = { version = "=0.190.0", default-features = false } swc_ecma_transforms_optimization = { version = "=0.208.0", default-features = false } swc_ecma_transforms_proposal = { version = "=0.178.0", default-features = false } swc_ecma_transforms_react = { version = "=0.191.0", default-features = false } swc_ecma_transforms_typescript = { version = "=0.198.1", default-features = false } swc_ecma_usage_analyzer = { version = "=0.30.3", default-features = false } swc_ecma_utils = { version = "=0.134.2", default-features = false } swc_ecma_visit = { version = "=0.104.8", default-features = false } swc_eq_ignore_macros = { version = "=0.1.4", default-features = false } swc_error_reporters = { version = "=0.21.0", default-features = false } swc_fast_graph = { version = "=0.25.0", default-features = false } swc_macros_common = { version = "=0.3.13", default-features = false } swc_node_comments = { version = "=0.24.0", default-features = false } swc_timer = { version = "=0.25.0", default-features = false } swc_trace_macro = { version = "=0.1.3", default-features = false } swc_transform_common = { version = "=0.1.1", default-features = false } swc_typescript = { version = "=0.5.0", default-features = false } swc_visit = { version = "=0.6.2", default-features = false } # Remote assets url = { version = "2.4.0", features = ["serde"] } reqwest = { version = "0.12.5", features = ["blocking"] } tracing = "0.1.37" # Extracting data from an executable object = { version = "0.36.0", features = ["wasm"] } [dev-dependencies] tracing-subscriber = "0.3.18" [features] default = [] asm = ["ravif/asm", "mozjpeg/nasm_simd"] html = ["manganis-common/html"] # Note: this feature now enables nothing and should be removed in the next major version webp = [] avif = []