-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #501 from mbrobbel/remove-old-salsa
Remove the old Salsa, rename `salsa-2022` crate to `salsa`
- Loading branch information
Showing
269 changed files
with
2,240 additions
and
11,398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,36 @@ | ||
[package] | ||
name = "salsa" | ||
version = "0.17.0-pre.2" # CHECK salsa-macros version | ||
version = "0.18.0" | ||
authors = ["Salsa developers"] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "Apache-2.0 OR MIT" | ||
repository = "https://github.com/salsa-rs/salsa" | ||
description = "A generic framework for on-demand, incrementalized computation (experimental)" | ||
|
||
[dependencies] | ||
arc-swap = "1.4.0" | ||
arc-swap = "1.6.0" | ||
crossbeam = "0.8.1" | ||
crossbeam-utils = { version = "0.8", default-features = false } | ||
dashmap = "5.3.4" | ||
hashlink = "0.8.0" | ||
indexmap = "2" | ||
lock_api = "0.4.7" | ||
log = "0.4.5" | ||
parking_lot = "0.12.1" | ||
rustc-hash = "1.0" | ||
rustc-hash = "1.1.0" | ||
salsa-macros = { path = "components/salsa-macros" } | ||
smallvec = "1.0.0" | ||
oorandom = "11" | ||
salsa-macros = { version = "0.17.0-pre.2", path = "components/salsa-macros" } | ||
|
||
[dev-dependencies] | ||
diff = "0.1.0" | ||
env_logger = "0.9" | ||
linked-hash-map = "0.5.2" | ||
rand = "0.8" | ||
rand_distr = "0.4.3" | ||
derive-new = "0.5.9" | ||
env_logger = "*" | ||
expect-test = "1.4.0" | ||
eyre = "0.6.8" | ||
notify-debouncer-mini = "0.2.1" | ||
ordered-float = "3.0" | ||
parking_lot = "0.12.1" | ||
rustversion = "1.0" | ||
test-log = "0.2.11" | ||
insta = "1.8.0" | ||
trybuild = "1.0" | ||
|
||
[workspace] | ||
members = [ | ||
"components/salsa-macros", | ||
"components/salsa-2022", | ||
"components/salsa-2022-macros", | ||
"examples-2022/calc", | ||
"examples-2022/lazy-input", | ||
"salsa-2022-tests", | ||
] | ||
members = ["components/salsa-macros"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
# Plumbing | ||
|
||
{{#include caveat.md}} | ||
|
||
This chapter documents the code that salsa generates and its "inner workings". | ||
We refer to this as the "plumbing". | ||
|
||
## Overview | ||
|
||
The plumbing section is broken up into chapters: | ||
|
||
* The [jars and ingredients](./plumbing/jars_and_ingredients.md) covers how each salsa item (like a tracked function) specifies what data it needs and runtime, and how links between items work. | ||
* The [database and runtime](./plumbing/database_and_runtime.md) covers the data structures that are used at runtime to coordinate workers, trigger cancellation, track which functions are active and what dependencies they have accrued, and so forth. | ||
* The [query operations](./plumbing/query_ops.md) chapter describes how the major operations on function ingredients work. This text was written for an older version of salsa but the logic is the same: | ||
* The [maybe changed after](./plumbing/maybe_changed_after.md) operation determines when a memoized value for a tracked function is out of date. | ||
* The [fetch](./plumbing/fetch.md) operation computes the most recent value. | ||
* The [derived queries flowchart](./plumbing/derived_flowchart.md) depicts the logic in flowchart form. | ||
* The [cycle handling](./plumbing/cycles.md) handling chapter describes what happens when cycles occur. | ||
* The [terminology](./plumbing/terminology.md) section describes various words that appear throughout. | ||
- The [jars and ingredients](./plumbing/jars_and_ingredients.md) covers how each salsa item (like a tracked function) specifies what data it needs and runtime, and how links between items work. | ||
- The [database and runtime](./plumbing/database_and_runtime.md) covers the data structures that are used at runtime to coordinate workers, trigger cancellation, track which functions are active and what dependencies they have accrued, and so forth. | ||
- The [query operations](./plumbing/query_ops.md) chapter describes how the major operations on function ingredients work. This text was written for an older version of salsa but the logic is the same: | ||
- The [maybe changed after](./plumbing/maybe_changed_after.md) operation determines when a memoized value for a tracked function is out of date. | ||
- The [fetch](./plumbing/fetch.md) operation computes the most recent value. | ||
- The [derived queries flowchart](./plumbing/derived_flowchart.md) depicts the logic in flowchart form. | ||
- The [cycle handling](./plumbing/cycles.md) handling chapter describes what happens when cycles occur. | ||
- The [terminology](./plumbing/terminology.md) section describes various words that appear throughout. |
Oops, something went wrong.