From 0242516a5be3deb76f0686f85605e22207105f70 Mon Sep 17 00:00:00 2001 From: RoyLin Date: Mon, 10 Aug 2026 22:12:11 +0800 Subject: [PATCH] chore!: align with a3s-orm 0.3 --- Cargo.toml | 4 ++-- README.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 03a04e6..1e1f8a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "a3s-boot" -version = "0.1.4" +version = "0.2.0" edition = "2021" authors = ["A3S Lab"] license = "MIT" @@ -60,7 +60,7 @@ a3s-acl = { version = "0.2.1", optional = true } a3s-boot-macros = { version = "0.1.2", path = "macros", optional = true } a3s-event = { version = "0.3.0", default-features = false, optional = true } a3s-lane = { version = "0.5.1", default-features = false, optional = true } -a3s-orm = { version = "0.2.0", default-features = false, features = ["postgres"], optional = true } +a3s-orm = { version = "0.3.0", default-features = false, features = ["postgres"], optional = true } async-trait = { version = "0.1", optional = true } async-nats = { version = "0.49.1", default-features = false, optional = true } axum = { version = "0.8", features = ["ws"], optional = true } diff --git a/README.md b/README.md index ac102db..0767284 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ not a claim of support for every production backend. ```toml [dependencies] -a3s-boot = "0.1.4" +a3s-boot = "0.2.0" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } ``` @@ -152,14 +152,14 @@ For a core-only build without Axum, macros, or shutdown signal handling: ```toml [dependencies] -a3s-boot = { version = "0.1.4", default-features = false } +a3s-boot = { version = "0.2.0", default-features = false } ``` Enable only the optional modules an application uses: ```toml [dependencies] -a3s-boot = { version = "0.1.4", features = ["auth", "security", "openapi-schemas"] } +a3s-boot = { version = "0.2.0", features = ["auth", "security", "openapi-schemas"] } serde = { version = "1", features = ["derive"] } tokio = { version = "1", features = ["macros", "rt-multi-thread"] } ``` @@ -260,7 +260,7 @@ expired leases after worker or process death. ```toml [dependencies] -a3s-boot = { version = "0.1.4", features = ["queue-postgres"] } +a3s-boot = { version = "0.2.0", features = ["queue-postgres"] } serde_json = "1" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } ```