[package] name = "project_note" version = "0.1.0" edition = "2024" [workspace] members = [".", "crates/note-model", "crates/editor", "xtask"] resolver = "3" [workspace.lints.rust] unsafe_code = "forbid" [lints] workspace = true [dependencies] note-model = { path = "crates/note-model" } anyhow = "1.0.104" blake3 = "1.8.7" bytes = "1.12.1" http-body = "1.0.1" loro = "1.17.1" tokio = { version = "1.54.1", features = ["full"] } topcoat = { version = "0.11.0", features = ["anyhow", "asset", "discover", "font-fontsource", "fs", "tailwind", "ui", "websocket"] } turso = "0.8.3" uuid = { version = "1.29.0", features = ["v7"] } serde = { version = "1", features = ["derive"] } flate2 = "1.1.10" crc32fast = "1.5.3" pulldown-cmark = { version = "0.13.5", default-features = false } serde_json = "1.0.154" symphonia = { version = "0.6.1", default-features = false, features = ["mkv"] } regex = "1.13.1" regex-syntax = "0.8" prettyplease = "0.3.0" syn = { version = "3.0.9", features = ["full"] } dprint-plugin-typescript = "0.96.1" dprint-plugin-json = "0.25.2" malva = "0.16.0" markup_fmt = "0.27.6" pretty_yaml = "0.6.0" taplo = "0.14.0" sqlformat = "0.5.0" dprint-plugin-markdown = "0.28.2" rustc-hash = "2.1.3" hashbrown = "0.17.1" thread-priority = "3.1.1" [build-dependencies] topcoat = { version = "0.11.0", default-features = false, features = ["tailwind"] } [profile.dev] debug = "line-tables-only" [profile.release] debug = "line-tables-only" # The wasm editor bundle (`cargo xtask editor`): smallest download. [profile.editor] inherits = "release" opt-level = 3 lto = "fat" codegen-units = 1 panic = "abort" strip = true # Upstream 1.17.1 counts the remaining text per span when decoding a richtext # snapshot (quadratic in marks); vendor/loro-internal bounds that count. [patch.crates-io] loro-internal = { path = "vendor/loro-internal" }