Skip to content

Commit

Permalink
chore: Reorganize repository onto workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
rcelha committed May 17, 2024
1 parent 167a6c0 commit 475c953
Show file tree
Hide file tree
Showing 44 changed files with 72 additions and 10,715 deletions.
63 changes: 10 additions & 53 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,53 +1,10 @@
[package]
name = "rio-rs"
version = "0.1.0"
edition = "2018"
license-file = "LICENSE"
autoexamples = false
repository = "https://github.com/rcelha/rio-rs"
description = "Distributed stateful service framework"

[dependencies]
async-trait = { git = "https://github.com/rcelha/async-trait", branch = "feature_add_sync_option_for_future" }
bincode = "1.3.3"
dashmap = "5.4.0"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1.8", features = ["sync"] }
tokio-util = { version = "0.6", features = ["full"] }
rio-macros = { path = "./rio-macros", version = "0.1.0" }
tower = { version = "0.4.12", features = ["full"] }

# Need for futures::SyncExt (Framed.send)
futures = "0.3.0"

# Date types for SQLx
chrono = "0.4.19"

# Store ServiceObject's placements locally
lru = "0.7.7"

# Client::send needs recursion (for now)
async-recursion = "0.3.2"

# AppData
state = "0.5.2"

# Client Pool
bb8 = "0.7.1"

# DB
sqlx = { version = "0.6", features = [
"runtime-tokio-native-tls",
"sqlite",
"postgres",
"any",
"chrono",
] }
async-stream = "0.3.5"

[dev-dependencies]
lazy_static = "1.4.0"
[workspace]
members = [
"rio-rs",
"rio-macros",
"examples/black-jack",
"examples/metric-aggregator",
"examples/ping-pong",
"examples/presence",
]
resolver = "2"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ There are a few things that must be done before v0.1.0:
- [ ] Remove magic numbers
- [ ] Object TTL
- [ ] Matrix test with different backends
- [ ] Replace prints with logging
- [?] Support 'typed' message/response on client
- [ ] Support ephemeral port
- [ ] Remove the need for an `Option<T>` value for `managed_state` attributes (as long as it has a 'Default')
Expand Down
1 change: 1 addition & 0 deletions README.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ There are a few things that must be done before v0.1.0:
- [ ] Remove magic numbers
- [ ] Object TTL
- [ ] Matrix test with different backends
- [ ] Replace prints with logging
- [?] Support 'typed' message/response on client
- [ ] Support ephemeral port
- [ ] Remove the need for an `Option<T>` value for `managed_state` attributes (as long as it has a 'Default')
Expand Down
Loading

0 comments on commit 475c953

Please sign in to comment.