Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-ofl-${{ hashFiles('ofl/Cargo.lock') }}-${{ hashFiles('rust-toolchain')}}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-coverage-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('rust-toolchain')}}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-dom-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('rust-toolchain')}}
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-website-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('rust-toolchain')}}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ reuse of arbitrary work, state change notifications, and async loaders.
- `Key::mutate` allows naive clone-update-compare access to a state variable.
- `#[moxie::updater(...)]` attribute macro supports creating a `Key` wrapper with shorthand for
mutating methods.
- `wasm-bindgen` cargo feature which enables correct usage of parking_lot on wasm32 targets.

## [0.7.0] - 2020-09-27

Expand Down
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ repository = "https://github.com/anp/moxie.git"
authors = ["Adam Perry <lol@anp.lol>"]
edition = "2018"

[features]
default = []
wasm-bindgen = [ "dyn-cache/wasm-bindgen", "parking_lot/wasm-bindgen", "topo/wasm-bindgen" ]

[dependencies]
dyn-cache = { path = "dyn-cache", version = "0.12.0"}
dyn-cache = { path = "dyn-cache", version = "0.12.1"}
futures = "0.3.5"
illicit = { path = "illicit", version = "1.1.1"}
moxie-macros = { path = "macros", version = "0.1.0-pre" }
parking_lot = "0.11"
scopeguard = "1"
topo = { path = "topo", version = "0.13.0"}
topo = { path = "topo", version = "0.13.1"}
tracing = "^0.1"

[dev-dependencies]
Expand Down
11 changes: 9 additions & 2 deletions dom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ crate-type = [ "cdylib", "rlib", ]
[features]
default = ["webdom"]
rsdom = ["augdom/rsdom"]
webdom = ["augdom/webdom", "raf", "wasm-bindgen", "wasm-bindgen-futures"]
webdom = [
"augdom/webdom",
"moxie/wasm-bindgen",
"raf",
"topo/wasm-bindgen",
"wasm-bindgen",
"wasm-bindgen-futures",
]

[dependencies]
augdom = { path = "augdom", version = "0.2.0-pre", default-features = false }
Expand All @@ -32,7 +39,7 @@ illicit = { path = "../illicit", version = "1.1.1"}
moxie = { path = "../", version = "0.7.1-pre"}
paste = "1.0.0"
scopeguard = "1"
topo = { path = "../topo", version = "0.13.0"}
topo = { path = "../topo", version = "0.13.1"}

# web-only
raf = { path = "raf", version = "0.2.0-pre", optional = true }
Expand Down
6 changes: 6 additions & 0 deletions dyn-cache/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ invocations.

<!-- categories: Added, Removed, Changed, Deprecated, Fixed, Security -->

## [0.12.1] - 2020-12-28

### Added

- `wasm-bindgen` cargo feature which enables correct usage of parking_lot on wasm32 targets.

## [0.12.0] - 2020-08-09

### Changed
Expand Down
6 changes: 5 additions & 1 deletion dyn-cache/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dyn-cache"
version = "0.12.0"
version = "0.12.1"
description = "Query cache indexed by type."
categories = ["caching", "rust-patterns"]
keywords = ["incremental", "memoize", "intern", "cache"]
Expand All @@ -13,6 +13,10 @@ repository = "https://github.com/anp/moxie.git"
authors = ["Adam Perry <lol@anp.lol>"]
edition = "2018"

[features]
default = []
wasm-bindgen = [ "parking_lot/wasm-bindgen" ]

[dependencies]
downcast-rs = "1.1.1"
hash_hasher = "2.0.3"
Expand Down
2 changes: 1 addition & 1 deletion mox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ edition = "2018"
mox-impl = { path = "impl", version = "0.10.0"}
proc-macro-hack = "0.5"
proc-macro-nested = "0.1.3"
topo = { path = "../topo", version = "0.13.0"}
topo = { path = "../topo", version = "0.13.1"}

[dev-dependencies]
derive_builder = "0.9"
8 changes: 7 additions & 1 deletion topo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ to implement a form of [incremental computing](https://en.wikipedia.org/wiki/Inc

<!-- categories: Added, Removed, Changed, Deprecated, Fixed, Security -->

## [0.13.1] - 2020-12-28

### Added

- `wasm-bindgen` cargo feature which enables correct usage of parking_lot on wasm32 targets.

## [0.13.0] - 2020-07-19

### Removed
Expand Down Expand Up @@ -47,7 +53,7 @@ to implement a form of [incremental computing](https://en.wikipedia.org/wiki/Inc

- #[nested] allows specifying a `slot`.
- `cache::{Cache, GlobalCache}` types for storing interned and memoized values.
- `cache::{SharedCache, SharedGlobalCache}` types for safe multiple-owner access to caches,
- `cache::{SharedCache, SharedGlobalCache}` types for safe multiple-owner access to caches,
implementing `cache_with` with careful locking to allow nested calls in the future.
- `root` free function for allowing one to re-root a call topology (i.e. if running inside of a
broader one).
Expand Down
8 changes: 6 additions & 2 deletions topo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "topo"
version = "0.13.0"
version = "0.13.1"
description = "Tools for incrementally computing repeated callgraphs."
categories = ["caching", "data-structures", "gui", "memory-management", "rust-patterns"]
keywords = ["cache", "memoize", "intern", "topology", "incremental"]
Expand All @@ -13,8 +13,12 @@ repository = "https://github.com/anp/moxie.git"
authors = ["Adam Perry <lol@anp.lol>"]
edition = "2018"

[features]
default = []
wasm-bindgen = [ "dyn-cache/wasm-bindgen", "parking_lot/wasm-bindgen" ]

[dependencies]
dyn-cache = { path = "../dyn-cache", version = "0.12.0"}
dyn-cache = { path = "../dyn-cache", version = "0.12.1"}
illicit = { path = "../illicit", version = "1.1.1"}
once_cell = "1.4.0"
parking_lot = "0.11.0"
Expand Down