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