-
- Downloads
(ml5717) Added delta serialisation + deserialisation
Showing
- .gitmodules 3 additions, 0 deletions.gitmodules
- Cargo.toml 4 additions, 7 deletionsCargo.toml
- build.rs 0 additions, 9 deletionsbuild.rs
- schema/crdt.capnp 0 additions, 12 deletionsschema/crdt.capnp
- src/crdt.rs 747 additions, 375 deletionssrc/crdt.rs
- src/lib.rs 86 additions, 87 deletionssrc/lib.rs
- vec-map 1 addition, 0 deletionsvec-map
- www/index.js 33 additions, 8 deletionswww/index.js
.gitmodules
0 → 100644
... | @@ -3,10 +3,6 @@ name = "drawing-crdt" | ... | @@ -3,10 +3,6 @@ name = "drawing-crdt" |
version = "0.1.0" | version = "0.1.0" | ||
authors = ["Moritz Langenstein <ml5717@ic.ac.uk>"] | authors = ["Moritz Langenstein <ml5717@ic.ac.uk>"] | ||
edition = "2018" | edition = "2018" | ||
build = "build.rs" | |||
[build-dependencies] | |||
capnpc = "0.11.1" | |||
[lib] | [lib] | ||
crate-type = ["cdylib", "rlib"] | crate-type = ["cdylib", "rlib"] | ||
... | @@ -18,10 +14,11 @@ default = ["console_error_panic_hook"] | ... | @@ -18,10 +14,11 @@ default = ["console_error_panic_hook"] |
wasm-bindgen = "0.2" | wasm-bindgen = "0.2" | ||
js-sys = "0.3.33" | js-sys = "0.3.33" | ||
uuid = "0.8.1" | uuid = "0.8.1" | ||
capnp = "0.11.1" | |||
serde = "1.0.104" | serde = "1.0.104" | ||
serde_derive = "1.0.104" | serde_derive = "1.0.104" | ||
serde-wasm-bindgen = "0.1.3" | serde-wasm-bindgen = "0.1.3" | ||
vec_map = { path = "vec-map", features = ["serde"] } | |||
bincode = "1.2.1" | |||
# The `console_error_panic_hook` crate provides better debugging of panics by | # The `console_error_panic_hook` crate provides better debugging of panics by | ||
# logging them with `console.error`. This is great for development, but requires | # logging them with `console.error`. This is great for development, but requires | ||
... | @@ -40,5 +37,5 @@ wee_alloc = { version = "0.4.2", optional = true } | ... | @@ -40,5 +37,5 @@ wee_alloc = { version = "0.4.2", optional = true } |
wasm-bindgen-test = "0.2" | wasm-bindgen-test = "0.2" | ||
[profile.release] | [profile.release] | ||
# Tell `rustc` to optimize for small code size. | opt-level = 3 | ||
opt-level = "s" | lto = true |
build.rs
deleted
100644 → 0
schema/crdt.capnp
deleted
100644 → 0
This diff is collapsed.
Please register or sign in to comment