Skip to content

Commit

Permalink
chore: update all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ar3s3ru committed Feb 23, 2024
1 parent cd24e87 commit 69c9806
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 35 deletions.
2 changes: 1 addition & 1 deletion eventually-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ proc-macro = true

[dependencies]
syn = { version = "1.0.109", features = ["full"] }
quote = "1.0.33"
quote = "1.0.35"
eventually = { path = "../eventually" }
16 changes: 8 additions & 8 deletions eventually-postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ keywords = ["postgres", "postgresql", "database", "ddd", "event-sourcing"]

[dependencies]
anyhow = "1.0.80"
async-trait = "0.1.74"
chrono = "0.4.31"
async-trait = "0.1.77"
chrono = "0.4.34"
eventually = { path = "../eventually", version = "0.5.0", features = [
"serde-json",
] }
futures = "0.3.29"
futures = "0.3.30"
lazy_static = "1.4.0"
regex = "1.10.2"
sqlx = { version = "0.7.2", features = [
regex = "1.10.3"
sqlx = { version = "0.7.3", features = [
"runtime-tokio-rustls",
"postgres",
"migrate",
] }
thiserror = "1.0.50"
thiserror = "1.0.57"

[dev-dependencies]
tokio = { version = "1.34.0", features = ["macros", "rt"] }
tokio = { version = "1.36.0", features = ["macros", "rt"] }
eventually = { path = "../eventually", version = "0.5.0", features = [
"serde-json",
] }
eventually-macros = { path = "../eventually-macros", version = "0.1.0" }
serde = { version = "1.0.192", features = ["derive"] }
serde = { version = "1.0.197", features = ["derive"] }
rand = "0.8.5"
20 changes: 9 additions & 11 deletions eventually/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,16 @@ serde-json = ["dep:serde_json"]
full = ["serde-prost", "serde-json", "tracing"]

[dependencies]
async-trait = "0.1.74"
futures = "0.3.29"
thiserror = "1.0.50"
prost = { version = "0.12.1", optional = true }
serde_json = { version = "1.0.108", optional = true }
serde = { version = "1.0.192", features = ["derive"] }
anyhow = "1.0.80"
async-trait = "0.1.77"
futures = "0.3.30"
thiserror = "1.0.57"
prost = { version = "0.12.3", optional = true }
serde_json = { version = "1.0.114", optional = true }
serde = { version = "1.0.197", features = ["derive"] }
tracing = { version = "0.1.40", features = ["async-await"], optional = true }
anyhow = "1.0.75"

[dev-dependencies]
# NOTE: this is only used for test components and assertions.
anyhow = "1.0.75"
lazy_static = "1.4.0"
serde_json = "1.0.108"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
serde_json = "1.0.114"
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
25 changes: 12 additions & 13 deletions examples/bank-accounting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ readme = "README.md"
publish = false

[dependencies]
anyhow = "1.0.75"
async-trait = "0.1.74"
anyhow = "1.0.80"
async-trait = "0.1.77"
eventually = { path = "../../eventually", features = [
"serde-prost",
"tracing",
Expand All @@ -16,19 +16,18 @@ eventually-macros = { path = "../../eventually-macros" }
eventually-postgres = { path = "../../eventually-postgres" }
opentelemetry = "0.21.0"
opentelemetry-jaeger = "0.20.0"
prost = "0.12.1"
rust_decimal = "1.32.0"
sqlx = { version = "0.7.2", features = ["runtime-tokio-rustls", "postgres"] }
thiserror = "1.0.50"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
tonic = { version = "0.10.2", features = ["gzip", "transport"] }
tonic-health = "0.10.2"
tonic-reflection = "0.10.2"
prost = "0.12.3"
rust_decimal = "1.34.3"
sqlx = { version = "0.7.3", features = ["runtime-tokio-rustls", "postgres"] }
thiserror = "1.0.57"
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
tonic = { version = "0.11.0", features = ["gzip", "transport"] }
tonic-health = "0.11.0"
tonic-reflection = "0.11.0"
tower = "0.4.13"
tower-http = { version = "0.4.4", features = ["trace"] }
tracing = "0.1.40"
tracing-opentelemetry = "0.22.0"
tracing-subscriber = { version = "0.3.17", features = [
tracing-subscriber = { version = "0.3.18", features = [
"fmt",
"std",
"registry",
Expand All @@ -38,4 +37,4 @@ tracing-subscriber = { version = "0.3.17", features = [
[dev-dependencies]

[build-dependencies]
tonic-build = { version = "0.10.2", features = ["prost"] }
tonic-build = { version = "0.11.0", features = ["prost"] }
3 changes: 1 addition & 2 deletions examples/bank-accounting/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use bank_accounting::{application, grpc, proto};
use eventually::serde;
use eventually::tracing::{AggregateRepositoryExt, EventStoreExt};
use eventually_postgres::event;
use tower_http::trace::TraceLayer;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
Expand Down Expand Up @@ -46,11 +45,11 @@ async fn main() -> anyhow::Result<()> {
);

let layer = tower::ServiceBuilder::new()
.layer(TraceLayer::new_for_grpc())
.timeout(Duration::from_secs(5))
.into_inner();

tonic::transport::Server::builder()
.trace_fn(|r| tracing::info_span!("server", uri = r.uri().to_string()))
.layer(layer)
.add_service(health_svc)
.add_service(reflection_svc)
Expand Down

0 comments on commit 69c9806

Please sign in to comment.