[workspace] resolver = "2" members = ["showbits-assets", "showbits-common", "showbits-thermal-printer"] [workspace.package] version = "0.0.0" edition = "2021" [workspace.dependencies] anyhow = "1.0.83" cosmic-text = "0.11.2" image = "0.25.1" palette = "0.7.6" showbits-assets.path = "./showbits-assets" showbits-common.path = "./showbits-common" [workspace.dependencies.taffy] version = "0.4.3" default-features = false features = ["std", "taffy_tree", "flexbox", "grid", "block_layout"] [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