├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── VERSION ├── crates ├── async-fn │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── bench-macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs └── bench │ ├── Cargo.toml │ └── src │ └── lib.rs ├── licenses ├── APL.txt └── BSL.txt ├── src ├── btree │ ├── mod.rs │ ├── node.rs │ ├── nodes.fbs │ └── nodes_generated.rs ├── dag │ ├── chunk.rs │ ├── key.rs │ ├── meta.fbs │ ├── meta_generated.rs │ ├── mod.rs │ ├── read.rs │ ├── store.rs │ └── write.rs ├── db │ ├── commit.fbs │ ├── commit.rs │ ├── commit_generated.rs │ ├── index.rs │ ├── mod.rs │ ├── read.rs │ ├── root.rs │ ├── scan.rs │ ├── test_helpers.rs │ └── write.rs ├── embed │ ├── connection.rs │ ├── dispatch.rs │ ├── mod.rs │ └── types.rs ├── fetch │ ├── client.rs │ ├── errors.rs │ ├── mod.rs │ ├── timeout.rs │ └── tokio_compat.rs ├── ffi.rs ├── hash │ └── mod.rs ├── kv │ ├── jsstore.rs │ ├── memstore.rs │ └── mod.rs ├── lib.rs ├── prolly │ ├── buzhash.rs │ ├── chunker.rs │ ├── leaf.fbs │ ├── leaf.rs │ ├── leaf_generated.rs │ ├── map.rs │ └── mod.rs ├── sync │ ├── client_id.rs │ ├── js_request.rs │ ├── mod.rs │ ├── patch.rs │ ├── pull.rs │ ├── push.rs │ ├── request_id.rs │ ├── test_helpers.rs │ └── types.rs ├── util │ ├── mod.rs │ ├── rlog │ │ ├── browser_timer.rs │ │ ├── logger.rs │ │ ├── mod.rs │ │ └── rust_timer.rs │ ├── to_debug │ │ └── mod.rs │ ├── uuid │ │ └── mod.rs │ └── wasm │ │ ├── mod.js │ │ └── mod.rs └── wasm.rs ├── tests └── wasm.rs └── tool ├── bump ├── README.md ├── bump.go ├── go.mod └── go.sum ├── flatc.sh ├── release.sh └── sandbox.html /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | repc.zip 3 | 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.33.0 -------------------------------------------------------------------------------- /crates/async-fn/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/crates/async-fn/Cargo.toml -------------------------------------------------------------------------------- /crates/async-fn/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/crates/async-fn/src/lib.rs -------------------------------------------------------------------------------- /crates/bench-macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/crates/bench-macro/Cargo.toml -------------------------------------------------------------------------------- /crates/bench-macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/crates/bench-macro/src/lib.rs -------------------------------------------------------------------------------- /crates/bench/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/crates/bench/Cargo.toml -------------------------------------------------------------------------------- /crates/bench/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/crates/bench/src/lib.rs -------------------------------------------------------------------------------- /licenses/APL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/licenses/APL.txt -------------------------------------------------------------------------------- /licenses/BSL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/licenses/BSL.txt -------------------------------------------------------------------------------- /src/btree/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/btree/mod.rs -------------------------------------------------------------------------------- /src/btree/node.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/btree/node.rs -------------------------------------------------------------------------------- /src/btree/nodes.fbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/btree/nodes.fbs -------------------------------------------------------------------------------- /src/btree/nodes_generated.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/btree/nodes_generated.rs -------------------------------------------------------------------------------- /src/dag/chunk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/chunk.rs -------------------------------------------------------------------------------- /src/dag/key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/key.rs -------------------------------------------------------------------------------- /src/dag/meta.fbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/meta.fbs -------------------------------------------------------------------------------- /src/dag/meta_generated.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/meta_generated.rs -------------------------------------------------------------------------------- /src/dag/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/mod.rs -------------------------------------------------------------------------------- /src/dag/read.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/read.rs -------------------------------------------------------------------------------- /src/dag/store.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/store.rs -------------------------------------------------------------------------------- /src/dag/write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/dag/write.rs -------------------------------------------------------------------------------- /src/db/commit.fbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/commit.fbs -------------------------------------------------------------------------------- /src/db/commit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/commit.rs -------------------------------------------------------------------------------- /src/db/commit_generated.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/commit_generated.rs -------------------------------------------------------------------------------- /src/db/index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/index.rs -------------------------------------------------------------------------------- /src/db/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/mod.rs -------------------------------------------------------------------------------- /src/db/read.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/read.rs -------------------------------------------------------------------------------- /src/db/root.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/root.rs -------------------------------------------------------------------------------- /src/db/scan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/scan.rs -------------------------------------------------------------------------------- /src/db/test_helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/test_helpers.rs -------------------------------------------------------------------------------- /src/db/write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/db/write.rs -------------------------------------------------------------------------------- /src/embed/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/embed/connection.rs -------------------------------------------------------------------------------- /src/embed/dispatch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/embed/dispatch.rs -------------------------------------------------------------------------------- /src/embed/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/embed/mod.rs -------------------------------------------------------------------------------- /src/embed/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/embed/types.rs -------------------------------------------------------------------------------- /src/fetch/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/fetch/client.rs -------------------------------------------------------------------------------- /src/fetch/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/fetch/errors.rs -------------------------------------------------------------------------------- /src/fetch/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/fetch/mod.rs -------------------------------------------------------------------------------- /src/fetch/timeout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/fetch/timeout.rs -------------------------------------------------------------------------------- /src/fetch/tokio_compat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/fetch/tokio_compat.rs -------------------------------------------------------------------------------- /src/ffi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/ffi.rs -------------------------------------------------------------------------------- /src/hash/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/hash/mod.rs -------------------------------------------------------------------------------- /src/kv/jsstore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/kv/jsstore.rs -------------------------------------------------------------------------------- /src/kv/memstore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/kv/memstore.rs -------------------------------------------------------------------------------- /src/kv/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/kv/mod.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/prolly/buzhash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/buzhash.rs -------------------------------------------------------------------------------- /src/prolly/chunker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/chunker.rs -------------------------------------------------------------------------------- /src/prolly/leaf.fbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/leaf.fbs -------------------------------------------------------------------------------- /src/prolly/leaf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/leaf.rs -------------------------------------------------------------------------------- /src/prolly/leaf_generated.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/leaf_generated.rs -------------------------------------------------------------------------------- /src/prolly/map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/map.rs -------------------------------------------------------------------------------- /src/prolly/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/prolly/mod.rs -------------------------------------------------------------------------------- /src/sync/client_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/client_id.rs -------------------------------------------------------------------------------- /src/sync/js_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/js_request.rs -------------------------------------------------------------------------------- /src/sync/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/mod.rs -------------------------------------------------------------------------------- /src/sync/patch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/patch.rs -------------------------------------------------------------------------------- /src/sync/pull.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/pull.rs -------------------------------------------------------------------------------- /src/sync/push.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/push.rs -------------------------------------------------------------------------------- /src/sync/request_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/request_id.rs -------------------------------------------------------------------------------- /src/sync/test_helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/test_helpers.rs -------------------------------------------------------------------------------- /src/sync/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/sync/types.rs -------------------------------------------------------------------------------- /src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/mod.rs -------------------------------------------------------------------------------- /src/util/rlog/browser_timer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/rlog/browser_timer.rs -------------------------------------------------------------------------------- /src/util/rlog/logger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/rlog/logger.rs -------------------------------------------------------------------------------- /src/util/rlog/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/rlog/mod.rs -------------------------------------------------------------------------------- /src/util/rlog/rust_timer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/rlog/rust_timer.rs -------------------------------------------------------------------------------- /src/util/to_debug/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/to_debug/mod.rs -------------------------------------------------------------------------------- /src/util/uuid/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/uuid/mod.rs -------------------------------------------------------------------------------- /src/util/wasm/mod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/wasm/mod.js -------------------------------------------------------------------------------- /src/util/wasm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/util/wasm/mod.rs -------------------------------------------------------------------------------- /src/wasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/src/wasm.rs -------------------------------------------------------------------------------- /tests/wasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tests/wasm.rs -------------------------------------------------------------------------------- /tool/bump/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/bump/README.md -------------------------------------------------------------------------------- /tool/bump/bump.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/bump/bump.go -------------------------------------------------------------------------------- /tool/bump/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/bump/go.mod -------------------------------------------------------------------------------- /tool/bump/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/bump/go.sum -------------------------------------------------------------------------------- /tool/flatc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/flatc.sh -------------------------------------------------------------------------------- /tool/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/release.sh -------------------------------------------------------------------------------- /tool/sandbox.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocicorp/repc/HEAD/tool/sandbox.html --------------------------------------------------------------------------------