diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 53d1d884..127e5de4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,6 +22,6 @@ jobs: run: cargo login $TOKEN - name: Upload run: | - pushd eventstore - cargo publish - popd + cargo publish -p eventstore-macros + cargo publish -p eventstore + cargo publish -p eventstore-extras diff --git a/eventstore-extras/Cargo.toml b/eventstore-extras/Cargo.toml index 26862fa6..61c6a060 100644 --- a/eventstore-extras/Cargo.toml +++ b/eventstore-extras/Cargo.toml @@ -2,12 +2,18 @@ name = "eventstore-extras" version = "0.1.0" edition = "2021" -publish = false + +license = "MIT" + +description = "EventStoreDB gRPC client extra features" +keywords = ["database", "eventsourcing", "eventstore", "eventstoredb", "grpc"] +repository = "https://github.com/EventStore/EventStoreDB-Client-Rust" +categories = ["database", "api-bindings"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] # will move to version number once we got something stable. -eventstore = { path = "../eventstore" } -chrono = "*" -log = "*" +eventstore = { path = "../eventstore", version = "2.2.0" } +chrono = "0.4" +log = "0.4" diff --git a/eventstore-extras/README.md b/eventstore-extras/README.md new file mode 100644 index 00000000..38ef6ed0 --- /dev/null +++ b/eventstore-extras/README.md @@ -0,0 +1,6 @@ +# eventstore-extras + +EventStoreDB gRPC client extra features. + +## Features +* Typeful stats data structures when reading from the stats gRPC endpoint. \ No newline at end of file diff --git a/eventstore-macros/Cargo.toml b/eventstore-macros/Cargo.toml index d6fb719a..7edd701e 100644 --- a/eventstore-macros/Cargo.toml +++ b/eventstore-macros/Cargo.toml @@ -1,13 +1,18 @@ [package] name = "eventstore-macros" -version = "0.0.0" +version = "0.0.1" edition = "2021" -publish = false +license = "MIT" + +description = "Extra EventStoreDB gRPC client internal code generation features" +keywords = ["database", "eventsourcing", "eventstore", "eventstoredb", "grpc"] +repository = "https://github.com/EventStore/EventStoreDB-Client-Rust" +categories = ["database", "api-bindings"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] proc-macro = true [dependencies] -syn = { version = "1", features = ["full", "fold"] } +syn = { version = "1", features = ["full", "fold", "extra-traits"] } quote = "1" \ No newline at end of file diff --git a/eventstore/Cargo.toml b/eventstore/Cargo.toml index 5848e5d8..f01fd20f 100755 --- a/eventstore/Cargo.toml +++ b/eventstore/Cargo.toml @@ -24,7 +24,7 @@ bitflags = "1" byteorder = "1.2" bytes = "1" chrono = { version = "0.4", features = ["serde"] } -eventstore-macros = { path = "../eventstore-macros" } +eventstore-macros = { path = "../eventstore-macros", version = "0.0.1" } futures = "0.3" http = "0.2" hyper = { version = "0.14", features = ["client", "tcp"] }