Commit b3cc9f7 1 parent 2212e5f commit b3cc9f7 Copy full SHA for b3cc9f7
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
This document describes the high-level architecture of Scarb.
4
4
If you want to familiarize yourself with the code base, you are just in the right place!
5
5
6
+ Some parts are not implemented, yet already documented in present tense, to outline what is expected to be developed.
7
+
6
8
## Bird's Eye View
7
9
8
10
``` mermaid
@@ -108,6 +110,8 @@ _any_ package, no matter of its source.
108
110
Version solving consists in efficiently finding a set of packages and versions that satisfy all the constraints of a
109
111
given project dependencies.
110
112
113
+ ** THIS IS NOT IMPLEMENTED YET.**
114
+
111
115
Scarb uses [ PubGrub] [ pubgrub-algo-docs ] algorithm for version resolution.
112
116
It is known for having both good performance and providing human-understandable explanations of failures.
113
117
Algorithm implementation is provided by the [ ` pubgrub ` ] [ pubgrub-crate ] crate,
@@ -140,8 +144,6 @@ on users' machines.
140
144
141
145
The ` corelib ` is treated as a regular package, that is _ injected_ to all packages as a dependency under the hood.
142
146
This package has a special source ID, which maps to the ` CorelibSource ` implementation.
143
- It embeds ` corelib ` source in Scrub data segment, and unpacks it to the registry cache directory, if it is not already
144
- present there.
145
147
A side effect of this approach is that ` corelib ` is included in the lockfile.
146
148
147
149
### Targets
You can’t perform that action at this time.
0 commit comments