at main 115 lines 4.5 kB view raw
1[workspace] 2resolver = "2" 3# Note that we define member crates with a wildcard here and NOT with explicit 4# paths because the flake.nix is written in a way such that top-level members 5# (`weaver-cli` and `weaver-server`) are built as different derivations which avoid being 6# rebuilt if the other package's sources change. 7members = ["crates/*"] 8 9#default-members = ["crates/weaver-cli"] 10 11 12[workspace.package] 13version = "0.1.0" 14edition = "2024" 15license = "MPL-2.0" 16authors = ["orual"] 17 18 19[workspace.metadata.crane] 20name = "weaver-workspace" 21 22 23[workspace.dependencies] 24serde = { version = "1.0", features = ["derive"] } 25bytes = "1.10" 26miette = { version = "7.6" } 27thiserror = "2.0" 28syntect = { version = "5.2.0", default-features = false } 29n0-future = "=0.1.3" 30tracing = { version = "0.1.41", default-features = false, features = ["std"] } 31markdown-weaver = { git = "https://github.com/rsform/markdown-weaver", branch = "para-end-context" } 32markdown-weaver-escape = { git = "https://github.com/rsform/markdown-weaver", branch = "para-end-context" } 33# markdown-weaver = { path = "../markdown-weaver/markdown-weaver" } 34# markdown-weaver-escape = { path = "../markdown-weaver/markdown-weaver-escape" } 35 36# jacquard = { git = "https://tangled.org/nonbinary.computer/jacquard", default-features = false, features = ["derive", "api_bluesky", "tracing"] } 37# jacquard-identity = { git = "https://tangled.org/nonbinary.computer/jacquard", features = ["cache"] } 38# jacquard-common = { git = "https://tangled.org/nonbinary.computer/jacquard" } 39# jacquard-axum = { git = "https://tangled.org/nonbinary.computer/jacquard" } 40# jacquard-derive = { git = "https://tangled.org/nonbinary.computer/jacquard" } 41# jacquard-lexicon = { git = "https://tangled.org/nonbinary.computer/jacquard", default-features = false } 42# jacquard-repo = { git = "https://tangled.org/nonbinary.computer/jacquard" } 43 44jacquard = { git = "https://github.com/rsform/jacquard", default-features = false, features = ["derive", "api_bluesky", "tracing"] } 45jacquard-identity = { git = "https://github.com/rsform/jacquard", features = ["cache"] } 46jacquard-common = { git = "https://github.com/rsform/jacquard" } 47jacquard-axum = { git = "https://github.com/rsform/jacquard" } 48jacquard-derive = { git = "https://github.com/rsform/jacquard" } 49jacquard-lexicon = { git = "https://github.com/rsform/jacquard", default-features = false } 50jacquard-repo = { git = "https://github.com/rsform/jacquard" } 51 52# jacquard = { path = "../jacquard/crates/jacquard", default-features = false, features = ["derive", "api_bluesky", "tracing", "cache"] } 53# jacquard-identity = { path = "../jacquard/crates/jacquard-identity", features = ["cache"] } 54# jacquard-api = { path = "../jacquard/crates/jacquard-api" } 55# jacquard-common = { path = "../jacquard/crates/jacquard-common" } 56# jacquard-axum = {path = "../jacquard/crates/jacquard-axum" } 57# jacquard-derive = { path = "../jacquard/crates/jacquard-derive" } 58# jacquard-lexicon = { path = "../jacquard/crates/jacquard-lexicon", default-features = false } 59# jacquard-repo = { path = "../jacquard/crates/jacquard-repo" } 60 61# jacquard = { path = "../jacquard-facet/crates/jacquard", default-features = false, features = ["derive", "api_bluesky", "tracing", "serde"] } 62# jacquard-identity = { path = "../jacquard-facet/crates/jacquard-identity", features = ["cache"] } 63# jacquard-api = { path = "../jacquard-facet/crates/jacquard-api" } 64# jacquard-common = { path = "../jacquard-facet/crates/jacquard-common" } 65# jacquard-axum = {path = "../jacquard-facet/crates/jacquard-axum" } 66# jacquard-derive = { path = "../jacquard-facet/crates/jacquard-derive" } 67# jacquard-lexicon = { path = "../jacquard-facet/crates/jacquard-lexicon", default-features = false } 68# 69 70# [patch.crates-io] 71# #secp256k1-zkp = { git = "https://github.com/dpc/rust-secp256k1-zkp/", branch = "sanket-pr" } 72# ring = { git = "https://github.com/dpc/ring", rev = "5493e7e76d0d8fb1d3cbb0be9c4944700741b802" } 73loro = "1.9.1" 74 75[profile] 76 77[profile.wasm-release] 78inherits = "release" 79opt-level = "z" 80debug = false 81lto = true 82codegen-units = 1 83panic = "abort" 84incremental = false 85strip = "symbols" 86 87 88[profile.wasm-dev] 89inherits = "dev" 90debug = true 91#lto = true 92 93[profile.server-dev] 94inherits = "dev" 95debug = true 96#lto = true 97 98 99[profile.server-release] 100inherits = "release" 101opt-level = 2 102#lto = true 103 104[profile.android-dev] 105inherits = "dev" 106 107 108# [profile.release] 109# opt-level = "z" 110# debug = false 111# lto = true 112# codegen-units = 1 113# panic = "abort" 114# incremental = false 115# strip = true