[workspace] resolver = "3" members = [ "showbits-assets", "showbits-common", "showbits-thermal-printer", "showbits-typst", "showbits-typst-plugin", ] [workspace.package] version = "0.0.0" edition = "2024" [workspace.dependencies] anyhow = "1.0.96" axum = "0.8.1" clap = { version = "4.5.30", features = ["derive", "deprecated"] } cosmic-text = "0.12.1" escpos = "0.15.0" image = { version = "0.25.5", default-features = false } jiff = "0.2.1" mime_guess = "2.0.5" palette = "0.7.6" paste = "1.0.15" rand = "0.9.0" rust-embed = "8.5.0" serde = { version = "1.0.218", features = ["derive"] } showbits-assets.path = "./showbits-assets" showbits-common.path = "./showbits-common" showbits-typst.path = "./showbits-typst" tokio = "1.43.0" typst = "0.13.0" typst-assets = { version = "0.13.0", features = ["fonts"] } typst-render = "0.13.0" [workspace.dependencies.taffy] version = "0.7.6" default-features = false features = ["std", "taffy_tree", "flexbox", "grid", "block_layout"] [workspace.dependencies.mark] git = "https://github.com/Garmelon/mark.git" rev = "2a862a69d69abc64ddd7eefd1e1ff3d05ce3b6e4" [workspace.dependencies.wasm-minimal-protocol] git = "https://github.com/astrale-sharp/wasm-minimal-protocol.git" rev = "90336ebf2d99844fd8f8e99ea7096af96526cbf4" [workspace.lints] rust.unsafe_code = { level = "forbid", priority = 1 } # Lint groups rust.deprecated_safe = "warn" rust.future_incompatible = "warn" rust.keyword_idents = "warn" rust.rust_2018_idioms = "warn" rust.unused = "warn" # Individual lints rust.non_local_definitions = "warn" rust.redundant_imports = "warn" rust.redundant_lifetimes = "warn" rust.single_use_lifetimes = "warn" rust.unit_bindings = "warn" rust.unused_crate_dependencies = "warn" rust.unused_import_braces = "warn" rust.unused_lifetimes = "warn" rust.unused_qualifications = "warn" # Clippy clippy.use_self = "warn" # Optimize dependencies in debug mode (mainly for faster image exports). # Does not apply to workspace members, only "real" dependencies. # https://doc.rust-lang.org/cargo/reference/profiles.html#overrides [profile.dev.package."*"] opt-level = 3