diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2d92c36..9e5876ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,4 +112,4 @@ jobs: - name: cargo publish dapr-macros run: cargo publish --manifest-path dapr-macros/Cargo.toml --token ${{ env.CARGO_TOKEN }} - name: cargo publish dapr - run: cargo publish --token ${{ env.CARGO_TOKEN }} + run: cargo publish --manifest-path dapr/Cargo.toml --token ${{ env.CARGO_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 6fdcb2b2..4a43ae1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,6 @@ resolver = "2" [workspace.dependencies] async-trait = "0.1" -dapr = { version = "0.16.0-rc.0", path = "./dapr" } dapr-macros = { version = "0.16.0-rc.0", path = "./dapr-macros" } prost = "0.13.1" diff --git a/README.md b/README.md index 2903fd3f..f886a08c 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ async fn main() -> Result<(), Box> { ## Explore more examples -Browse through more examples to understand the SDK better: [View examples](./examples) +Browse through more examples to understand the SDK better: [View examples](https://github.com/dapr/rust-sdk/tree/main/examples) ## Building diff --git a/dapr/Cargo.toml b/dapr/Cargo.toml index 031217c3..e9b63db7 100644 --- a/dapr/Cargo.toml +++ b/dapr/Cargo.toml @@ -30,8 +30,8 @@ tokio-util = { workspace = true, features = ["io"] } [dev-dependencies] axum-test = "15.3" once_cell = "1.19" +dapr = { path = "./" } tokio = { workspace = true, features = ["full"] } uuid = { version = "1.10", features = ["v4"] } -dapr = { workspace = true } tokio-test = { workspace = true } tokio-stream = { workspace = true } \ No newline at end of file diff --git a/dapr/README.md b/dapr/README.md new file mode 120000 index 00000000..32d46ee8 --- /dev/null +++ b/dapr/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/dapr/src/lib.rs b/dapr/src/lib.rs index 7f8b53a3..e5be4084 100644 --- a/dapr/src/lib.rs +++ b/dapr/src/lib.rs @@ -1,12 +1,12 @@ -#![doc = include_str!("../../README.md")] +#![doc = include_str!("../README.md")] extern crate dapr_macros; -pub use dapr_macros::actor; pub use serde; pub use serde_json; pub use client::Client; +pub use dapr_macros::actor; /// Module containing the Dapr Callback SDK. pub mod appcallback;