Skip to content

Commit b3cc9f7

Browse files
committed
Update ARCHITECTURE.md to latest state
1 parent 2212e5f commit b3cc9f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ARCHITECTURE.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
This document describes the high-level architecture of Scarb.
44
If you want to familiarize yourself with the code base, you are just in the right place!
55

6+
Some parts are not implemented, yet already documented in present tense, to outline what is expected to be developed.
7+
68
## Bird's Eye View
79

810
```mermaid
@@ -108,6 +110,8 @@ _any_ package, no matter of its source.
108110
Version solving consists in efficiently finding a set of packages and versions that satisfy all the constraints of a
109111
given project dependencies.
110112

113+
**THIS IS NOT IMPLEMENTED YET.**
114+
111115
Scarb uses [PubGrub][pubgrub-algo-docs] algorithm for version resolution.
112116
It is known for having both good performance and providing human-understandable explanations of failures.
113117
Algorithm implementation is provided by the [`pubgrub`][pubgrub-crate] crate,
@@ -140,8 +144,6 @@ on users' machines.
140144

141145
The `corelib` is treated as a regular package, that is _injected_ to all packages as a dependency under the hood.
142146
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.
145147
A side effect of this approach is that `corelib` is included in the lockfile.
146148

147149
### Targets

0 commit comments

Comments
 (0)