Browse Source

First reorganisation of workspace into a ... workspace

relay-external-protocol
Tony Garnock-Jones 1 year ago
parent
commit
37fd904210
  1. 101
      Cargo.lock
  2. 54
      Cargo.toml
  3. 50
      syndicate/Cargo.toml
  4. 0
      syndicate/Makefile
  5. 0
      syndicate/benches/bench_dataspace.rs
  6. 0
      syndicate/build.rs
  7. 0
      syndicate/examples/consumer.rs
  8. 0
      syndicate/examples/pingpong.rs
  9. 0
      syndicate/examples/producer.rs
  10. 0
      syndicate/examples/state-consumer.rs
  11. 0
      syndicate/examples/state-producer.rs
  12. 0
      syndicate/protocols/Makefile
  13. 0
      syndicate/protocols/schema-bundle.bin
  14. 0
      syndicate/protocols/schemas/dataspace.prs
  15. 0
      syndicate/protocols/schemas/dataspacePatterns.prs
  16. 0
      syndicate/protocols/schemas/externalProtocol.prs
  17. 0
      syndicate/protocols/schemas/gatekeeper.prs
  18. 0
      syndicate/protocols/schemas/genericProtocol.prs
  19. 0
      syndicate/protocols/schemas/internalProtocol.prs
  20. 0
      syndicate/protocols/schemas/racketEvent.prs
  21. 0
      syndicate/protocols/schemas/secureChatProtocol.prs
  22. 0
      syndicate/protocols/schemas/service.prs
  23. 0
      syndicate/protocols/schemas/simpleChatProtocol.prs
  24. 0
      syndicate/protocols/schemas/stream.prs
  25. 0
      syndicate/protocols/schemas/sturdy.prs
  26. 0
      syndicate/protocols/schemas/tcp.prs
  27. 0
      syndicate/protocols/schemas/timer.prs
  28. 0
      syndicate/protocols/schemas/worker.prs
  29. 0
      syndicate/rust-toolchain
  30. 0
      syndicate/src/actor.rs
  31. 0
      syndicate/src/bag.rs
  32. 0
      syndicate/src/bin/syndicate-server.rs
  33. 0
      syndicate/src/dataspace.rs
  34. 0
      syndicate/src/during.rs
  35. 0
      syndicate/src/error.rs
  36. 0
      syndicate/src/lib.rs
  37. 0
      syndicate/src/pattern.rs
  38. 0
      syndicate/src/relay.rs
  39. 0
      syndicate/src/rewrite.rs
  40. 0
      syndicate/src/skeleton.rs
  41. 0
      syndicate/src/sturdy.rs
  42. 0
      syndicate/src/tracer.rs

101
Cargo.lock generated

@ -54,9 +54,9 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" @@ -54,9 +54,9 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "bitflags"
version = "1.2.1"
version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
checksum = "2da1976d75adbe5fbc88130ecd119529cf1cc6a93ae1546d8696ee66f0d21af1"
[[package]]
name = "block-buffer"
@ -178,16 +178,16 @@ dependencies = [ @@ -178,16 +178,16 @@ dependencies = [
[[package]]
name = "criterion"
version = "0.3.4"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab327ed7354547cc2ef43cbe20ef68b988e70b4b593cbd66a2a61733123a3d23"
checksum = "1604dafd25fba2fe2d5895a9da139f8dc9b319a5fe5354ca137cbbce4e178d10"
dependencies = [
"atty",
"cast",
"clap",
"criterion-plot",
"csv",
"itertools 0.10.1",
"itertools",
"lazy_static",
"num-traits",
"oorandom",
@ -204,12 +204,12 @@ dependencies = [ @@ -204,12 +204,12 @@ dependencies = [
[[package]]
name = "criterion-plot"
version = "0.4.3"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e022feadec601fba1649cfa83586381a4ad31c6bf3a9ab7d408118b05dd9889d"
checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57"
dependencies = [
"cast",
"itertools 0.9.0",
"itertools",
]
[[package]]
@ -224,9 +224,9 @@ dependencies = [ @@ -224,9 +224,9 @@ dependencies = [
[[package]]
name = "crossbeam-deque"
version = "0.8.0"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
dependencies = [
"cfg-if",
"crossbeam-epoch",
@ -532,15 +532,6 @@ dependencies = [ @@ -532,15 +532,6 @@ dependencies = [
"bytes",
]
[[package]]
name = "itertools"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.10.1"
@ -558,9 +549,9 @@ checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" @@ -558,9 +549,9 @@ checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
[[package]]
name = "js-sys"
version = "0.3.51"
version = "0.3.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062"
checksum = "ce791b7ca6638aae45be056e068fc756d871eb3b3b10b8efa62d1c9cec616752"
dependencies = [
"wasm-bindgen",
]
@ -573,9 +564,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" @@ -573,9 +564,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
version = "0.2.98"
version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
checksum = "a7f823d141fe0a24df1e23b4af4e3c7ba9e5966ec514ea068c93024aa7deb765"
[[package]]
name = "log"
@ -597,9 +588,9 @@ dependencies = [ @@ -597,9 +588,9 @@ dependencies = [
[[package]]
name = "matches"
version = "0.1.8"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
[[package]]
name = "memchr"
@ -640,9 +631,9 @@ dependencies = [ @@ -640,9 +631,9 @@ dependencies = [
[[package]]
name = "native-tls"
version = "0.2.7"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4"
checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d"
dependencies = [
"lazy_static",
"libc",
@ -1036,9 +1027,9 @@ dependencies = [ @@ -1036,9 +1027,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
version = "0.2.9"
version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee"
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
dependencies = [
"bitflags",
]
@ -1143,15 +1134,15 @@ dependencies = [ @@ -1143,15 +1134,15 @@ dependencies = [
[[package]]
name = "semver"
version = "1.0.3"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe"
checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012"
[[package]]
name = "serde"
version = "1.0.126"
version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03"
checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8"
dependencies = [
"serde_derive",
]
@ -1177,9 +1168,9 @@ dependencies = [ @@ -1177,9 +1168,9 @@ dependencies = [
[[package]]
name = "serde_derive"
version = "1.0.126"
version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43"
checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc"
dependencies = [
"proc-macro2",
"quote",
@ -1188,9 +1179,9 @@ dependencies = [ @@ -1188,9 +1179,9 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.64"
version = "1.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79"
checksum = "336b10da19a12ad094b59d870ebde26a45402e5b470add4b5fd03c5048a32127"
dependencies = [
"itoa",
"ryu",
@ -1225,18 +1216,18 @@ dependencies = [ @@ -1225,18 +1216,18 @@ dependencies = [
[[package]]
name = "sharded-slab"
version = "0.1.1"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3"
checksum = "740223c51853f3145fe7c90360d2d4232f2b62e3449489c207eccde818979982"
dependencies = [
"lazy_static",
]
[[package]]
name = "slab"
version = "0.4.3"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527"
checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590"
[[package]]
name = "smallvec"
@ -1395,9 +1386,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" @@ -1395,9 +1386,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]]
name = "tokio"
version = "1.9.0"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c"
checksum = "01cf844b23c6131f624accf65ce0e4e9956a8bb329400ea5bcc26ae3a5c20b0b"
dependencies = [
"autocfg",
"bytes",
@ -1651,9 +1642,9 @@ checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" @@ -1651,9 +1642,9 @@ checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]]
name = "wasm-bindgen"
version = "0.2.74"
version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d54ee1d4ed486f78874278e63e4069fc1ab9f6a18ca492076ffb90c5eb2997fd"
checksum = "b608ecc8f4198fe8680e2ed18eccab5f0cd4caaf3d83516fa5fb2e927fda2586"
dependencies = [
"cfg-if",
"wasm-bindgen-macro",
@ -1661,9 +1652,9 @@ dependencies = [ @@ -1661,9 +1652,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.74"
version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b33f6a0694ccfea53d94db8b2ed1c3a8a4c86dd936b13b9f0a15ec4a451b900"
checksum = "580aa3a91a63d23aac5b6b267e2d13cb4f363e31dce6c352fca4752ae12e479f"
dependencies = [
"bumpalo",
"lazy_static",
@ -1676,9 +1667,9 @@ dependencies = [ @@ -1676,9 +1667,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.74"
version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "088169ca61430fe1e58b8096c24975251700e7b1f6fd91cc9d59b04fb9b18bd4"
checksum = "171ebf0ed9e1458810dfcb31f2e766ad6b3a89dbda42d8901f2b268277e5f09c"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@ -1686,9 +1677,9 @@ dependencies = [ @@ -1686,9 +1677,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.74"
version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97"
checksum = "6c2657dd393f03aa2a659c25c6ae18a13a4048cebd220e147933ea837efc589f"
dependencies = [
"proc-macro2",
"quote",
@ -1699,15 +1690,15 @@ dependencies = [ @@ -1699,15 +1690,15 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.74"
version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f"
checksum = "2e0c4a743a309662d45f4ede961d7afa4ba4131a59a639f29b0069c3798bbcc2"
[[package]]
name = "web-sys"
version = "0.3.51"
version = "0.3.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582"
checksum = "01c70a82d842c9979078c772d4a1344685045f1a5628f677c2b2eab4dd7d2696"
dependencies = [
"js-sys",
"wasm-bindgen",

54
Cargo.toml

@ -1,58 +1,12 @@ @@ -1,58 +1,12 @@
[package]
name = "syndicate-rs"
version = "0.2.0"
authors = ["Tony Garnock-Jones <tonyg@leastfixedpoint.com>"]
edition = "2018"
[workspace]
members = [
"syndicate",
]
[patch.crates-io]
preserves = { path = "/home/tonyg/src/preserves/implementations/rust/preserves" }
preserves-schema = { path = "/home/tonyg/src/preserves/implementations/rust/preserves-schema" }
[features]
vendored-openssl = ["openssl/vendored"]
[profile.release]
debug = true
# lto = true
[lib]
name = "syndicate"
[build-dependencies]
preserves-schema = "0.5.0"
[dependencies]
preserves = "0.17.1"
preserves-schema = "0.5.0"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_bytes = "0.11"
tokio = { version = "1.7.1", features = ["macros", "sync", "net", "rt", "rt-multi-thread", "time"] }
tokio-util = "0.6.7"
bytes = "1.0.1"
futures = "0.3.5"
getrandom = "0.2.3"
hmac = "0.11.0"
sha2 = "0.9.5"
structopt = "0.3.14"
tungstenite = "0.13.0"
tokio-tungstenite = "0.14.0"
tracing = "0.1.14"
tracing-subscriber = "0.2.5"
tracing-futures = "0.2.4"
# Only used for vendored-openssl, which in turn is being used for cross-builds
openssl = { version = "0.10", optional = true }
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "bench_dataspace"
harness = false

50
syndicate/Cargo.toml

@ -0,0 +1,50 @@ @@ -0,0 +1,50 @@
[package]
name = "syndicate-rs"
version = "0.2.0"
authors = ["Tony Garnock-Jones <tonyg@leastfixedpoint.com>"]
edition = "2018"
[features]
vendored-openssl = ["openssl/vendored"]
[lib]
name = "syndicate"
[build-dependencies]
preserves-schema = "0.5.0"
[dependencies]
preserves = "0.17.1"
preserves-schema = "0.5.0"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_bytes = "0.11"
tokio = { version = "1.7.1", features = ["macros", "sync", "net", "rt", "rt-multi-thread", "time"] }
tokio-util = "0.6.7"
bytes = "1.0.1"
futures = "0.3.5"
getrandom = "0.2.3"
hmac = "0.11.0"
sha2 = "0.9.5"
structopt = "0.3.14"
tungstenite = "0.13.0"
tokio-tungstenite = "0.14.0"
tracing = "0.1.14"
tracing-subscriber = "0.2.5"
tracing-futures = "0.2.4"
# Only used for vendored-openssl, which in turn is being used for cross-builds
openssl = { version = "0.10", optional = true }
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "bench_dataspace"
harness = false

0
Makefile → syndicate/Makefile

0
benches/bench_dataspace.rs → syndicate/benches/bench_dataspace.rs

0
build.rs → syndicate/build.rs

0
examples/consumer.rs → syndicate/examples/consumer.rs

0
examples/pingpong.rs → syndicate/examples/pingpong.rs

0
examples/producer.rs → syndicate/examples/producer.rs

0
examples/state-consumer.rs → syndicate/examples/state-consumer.rs

0
examples/state-producer.rs → syndicate/examples/state-producer.rs

0
protocols/Makefile → syndicate/protocols/Makefile

0
protocols/schema-bundle.bin → syndicate/protocols/schema-bundle.bin

0
protocols/schemas/dataspace.prs → syndicate/protocols/schemas/dataspace.prs

0
protocols/schemas/dataspacePatterns.prs → syndicate/protocols/schemas/dataspacePatterns.prs

0
protocols/schemas/externalProtocol.prs → syndicate/protocols/schemas/externalProtocol.prs

0
protocols/schemas/gatekeeper.prs → syndicate/protocols/schemas/gatekeeper.prs

0
protocols/schemas/genericProtocol.prs → syndicate/protocols/schemas/genericProtocol.prs

0
protocols/schemas/internalProtocol.prs → syndicate/protocols/schemas/internalProtocol.prs

0
protocols/schemas/racketEvent.prs → syndicate/protocols/schemas/racketEvent.prs

0
protocols/schemas/secureChatProtocol.prs → syndicate/protocols/schemas/secureChatProtocol.prs

0
protocols/schemas/service.prs → syndicate/protocols/schemas/service.prs

0
protocols/schemas/simpleChatProtocol.prs → syndicate/protocols/schemas/simpleChatProtocol.prs

0
protocols/schemas/stream.prs → syndicate/protocols/schemas/stream.prs

0
protocols/schemas/sturdy.prs → syndicate/protocols/schemas/sturdy.prs

0
protocols/schemas/tcp.prs → syndicate/protocols/schemas/tcp.prs

0
protocols/schemas/timer.prs → syndicate/protocols/schemas/timer.prs

0
protocols/schemas/worker.prs → syndicate/protocols/schemas/worker.prs

0
rust-toolchain → syndicate/rust-toolchain

0
src/actor.rs → syndicate/src/actor.rs

0
src/bag.rs → syndicate/src/bag.rs

0
src/bin/syndicate-server.rs → syndicate/src/bin/syndicate-server.rs

0
src/dataspace.rs → syndicate/src/dataspace.rs

0
src/during.rs → syndicate/src/during.rs

0
src/error.rs → syndicate/src/error.rs

0
src/lib.rs → syndicate/src/lib.rs

0
src/pattern.rs → syndicate/src/pattern.rs

0
src/relay.rs → syndicate/src/relay.rs

0
src/rewrite.rs → syndicate/src/rewrite.rs

0
src/skeleton.rs → syndicate/src/skeleton.rs

0
src/sturdy.rs → syndicate/src/sturdy.rs

0
src/tracer.rs → syndicate/src/tracer.rs

Loading…
Cancel
Save