Skip to content

Commit 5d89aca

Browse files
committed
Rebrand the codebase.
1 parent cc8ae0a commit 5d89aca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+240
-240
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[workspace]
22
resolver = "2"
33
members = [
4-
"eventstore",
5-
"eventstore-extras",
4+
"kurrent",
5+
"kurrent-extras",
66

77
# internals
88
"eventstore-macros",

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EventStoreDB Rust Client
1+
# KurrentDB Rust Client
22
[![Crates.io][crates-badge]][crates-url]
33
[![Crates.io][crates-download]][crates-url]
44
[![Build Status][ci-badge]][ci-url]
@@ -8,20 +8,20 @@
88
[crates-badge]: https://img.shields.io/crates/v/eventstore.svg
99
[crates-download]: https://img.shields.io/crates/d/eventstore.svg
1010
[crates-url]: https://crates.io/crates/eventstore
11-
[ci-badge]: https://github.com/EventStore/EventStoreDB-Client-Rust/workflows/CI/badge.svg
12-
[ci-url]: https://github.com/EventStore/EventStoreDB-Client-Rust/actions
11+
[ci-badge]: https://github.com/EventStore/KurrentDB-Client-Rust/workflows/CI/badge.svg
12+
[ci-url]: https://github.com/EventStore/KurrentDB-Client-Rust/actions
1313

1414
[Documentation](https://docs.rs/eventstore)
1515

16-
Official Rust [EventStoreDB rust gRPC] gRPC Client.
16+
Official Rust [KurrentDB rust gRPC] gRPC Client.
1717

18-
[EventStoreDB] is the event-native database, where business events are immutably stored and streamed. Designed for event-sourced, event-driven, and microservices architectures.
18+
[KurrentDB] is the event-native database, where business events are immutably stored and streamed. Designed for event-sourced, event-driven, and microservices architectures.
1919

20-
## EventStoreDB Server Compatibility
20+
## KurrentDB Server Compatibility
2121
This client is compatible with version `20.6.1` upwards and works on Linux, MacOS and Windows.
2222

2323

24-
Server setup instructions can be found here [EventStoreDB Docs], follow the docker setup for the simplest configuration.
24+
Server setup instructions can be found here [KurrentDB Docs], follow the docker setup for the simplest configuration.
2525

2626
# Example
2727

@@ -45,7 +45,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
4545
is_rust_a_nice_language: true,
4646
};
4747

48-
// It is not mandatory to use JSON as a data format however EventStoreDB
48+
// It is not mandatory to use JSON as a data format however KurrentDB
4949
// provides great additional value if you do so.
5050
let evt = EventData::json("language-poll", &payload)?;
5151

@@ -71,11 +71,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
7171

7272
## Support
7373

74-
Information on support can be found here: [EventStoreDB Support]
74+
Information on support can be found here: [KurrentDB Support]
7575

7676
## Documentation
7777

78-
Documentation for EventStoreDB can be found here: [EventStoreDB Docs]
78+
Documentation for KurrentDB can be found here: [KurrentDB Docs]
7979

8080
Bear in mind that this client is not yet properly documented. We are working hard on a new version of the documentation.
8181

@@ -84,8 +84,8 @@ Bear in mind that this client is not yet properly documented. We are working har
8484
- [Discuss](https://discuss.eventstore.com/)
8585
- [Discord (Event Store)](https://discord.gg/Phn9pmCw3t)
8686

87-
[EventStoreDB]: https://eventstore.com/
88-
[EventStoreDB rust gRPC]: https://developers.eventstore.com/clients/grpc/getting-started?codeLanguage=Rust
87+
[KurrentDB]: https://eventstore.com/
88+
[KurrentDB rust gRPC]: https://developers.eventstore.com/clients/grpc/getting-started?codeLanguage=Rust
8989
[eventstoredb docs]: https://developers.eventstore.com/latest.html
9090
[eventstoredb discuss]: https://discuss.eventstore.com/
9191
[eventstoredb support]: https://eventstore.com/support/

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ publish = false
55
edition = "2021"
66

77
[dev-dependencies]
8-
eventstore = { path = "../eventstore" }
8+
kurrent = { path = "../kurrent" }
99
futures = "0.3"
1010
uuid = { version = "1.1", features = [ "v4", "serde" ] }
1111
serde = "1"

examples/appending_events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![allow(unused_results)]
44
#![allow(unused_variables)]
55

6-
use eventstore::{
6+
use kurrent::{
77
AppendToStreamOptions, Client, Credentials, EventData, ExpectedRevision, ReadStreamOptions,
88
StreamPosition,
99
};

examples/persistent_subscriptions.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#![allow(unused_results)]
44
#![allow(unused_variables)]
55
#![allow(dead_code)]
6-
use eventstore::{
6+
use kurrent::{
77
Client, PersistentSubscriptionEvent, PersistentSubscriptionOptions,
88
PersistentSubscriptionToAllOptions, ReplayParkedMessagesOptions, SubscriptionFilter,
99
};
1010

11-
async fn create_persistent_subscription(client: &Client) -> eventstore::Result<()> {
11+
async fn create_persistent_subscription(client: &Client) -> kurrent::Result<()> {
1212
// #region create-persistent-subscription-to-stream
1313
client
1414
.create_persistent_subscription("test-stream", "subscription-group", &Default::default())
@@ -18,7 +18,7 @@ async fn create_persistent_subscription(client: &Client) -> eventstore::Result<(
1818
Ok(())
1919
}
2020

21-
async fn connect_to_persistent_subscription_to_stream(client: &Client) -> eventstore::Result<()> {
21+
async fn connect_to_persistent_subscription_to_stream(client: &Client) -> kurrent::Result<()> {
2222
// #region subscribe-to-persistent-subscription-to-stream
2323
let mut sub = client
2424
.subscribe_to_persistent_subscription(
@@ -36,7 +36,7 @@ async fn connect_to_persistent_subscription_to_stream(client: &Client) -> events
3636
// #endregion subscribe-to-persistent-subscription-to-stream
3737
}
3838

39-
async fn connect_to_persistent_subscription_to_all(client: &Client) -> eventstore::Result<()> {
39+
async fn connect_to_persistent_subscription_to_all(client: &Client) -> kurrent::Result<()> {
4040
// #region subscribe-to-persistent-subscription-to-all
4141
let mut sub = client
4242
.subscribe_to_persistent_subscription_to_all("subscription-group", &Default::default())
@@ -50,7 +50,7 @@ async fn connect_to_persistent_subscription_to_all(client: &Client) -> eventstor
5050
// #endregion subscribe-to-persistent-subscription-to-all
5151
}
5252

53-
async fn create_persistent_subscription_to_all(client: &Client) -> eventstore::Result<()> {
53+
async fn create_persistent_subscription_to_all(client: &Client) -> kurrent::Result<()> {
5454
// #region create-persistent-subscription-to-all
5555
let options = PersistentSubscriptionToAllOptions::default()
5656
.filter(SubscriptionFilter::on_stream_name().add_prefix("test"));
@@ -64,7 +64,7 @@ async fn create_persistent_subscription_to_all(client: &Client) -> eventstore::R
6464

6565
async fn connect_to_persistent_subscription_with_manual_acks(
6666
client: &Client,
67-
) -> eventstore::Result<()> {
67+
) -> kurrent::Result<()> {
6868
// #region subscribe-to-persistent-subscription-with-manual-acks
6969
let mut sub = client
7070
.subscribe_to_persistent_subscription(
@@ -82,7 +82,7 @@ async fn connect_to_persistent_subscription_with_manual_acks(
8282
// #endregion subscribe-to-persistent-subscription-with-manual-acks
8383
}
8484

85-
async fn update_persistent_subscription(client: &Client) -> eventstore::Result<()> {
85+
async fn update_persistent_subscription(client: &Client) -> kurrent::Result<()> {
8686
// #region update-persistent-subscription
8787
let options = PersistentSubscriptionOptions::default()
8888
.resolve_link_tos(true)
@@ -96,7 +96,7 @@ async fn update_persistent_subscription(client: &Client) -> eventstore::Result<(
9696
Ok(())
9797
}
9898

99-
async fn delete_persistent_subscription(client: &Client) -> eventstore::Result<()> {
99+
async fn delete_persistent_subscription(client: &Client) -> kurrent::Result<()> {
100100
// #region delete-persistent-subscription
101101
client
102102
.delete_persistent_subscription("test-stream", "subscription-group", &Default::default())
@@ -106,7 +106,7 @@ async fn delete_persistent_subscription(client: &Client) -> eventstore::Result<(
106106
Ok(())
107107
}
108108

109-
async fn get_persistent_subscription_to_stream_info(client: &Client) -> eventstore::Result<()> {
109+
async fn get_persistent_subscription_to_stream_info(client: &Client) -> kurrent::Result<()> {
110110
// #region get-persistent-subscription-to-stream-info
111111
let info = client
112112
.get_persistent_subscription_info("test-stream", "subscription-group", &Default::default())
@@ -120,7 +120,7 @@ async fn get_persistent_subscription_to_stream_info(client: &Client) -> eventsto
120120
Ok(())
121121
}
122122

123-
async fn get_persistent_subscription_to_all_info(client: &Client) -> eventstore::Result<()> {
123+
async fn get_persistent_subscription_to_all_info(client: &Client) -> kurrent::Result<()> {
124124
// #region get-persistent-subscription-to-all-info
125125
let info = client
126126
.get_persistent_subscription_info_to_all("subscription-group", &Default::default())
@@ -134,7 +134,7 @@ async fn get_persistent_subscription_to_all_info(client: &Client) -> eventstore:
134134
Ok(())
135135
}
136136

137-
async fn replay_parked_to_stream(client: &Client) -> eventstore::Result<()> {
137+
async fn replay_parked_to_stream(client: &Client) -> kurrent::Result<()> {
138138
// #region replay-parked-of-persistent-subscription-to-stream
139139
let options = ReplayParkedMessagesOptions::default().stop_at(10);
140140
client
@@ -144,7 +144,7 @@ async fn replay_parked_to_stream(client: &Client) -> eventstore::Result<()> {
144144
Ok(())
145145
}
146146

147-
async fn replay_parked_to_all(client: &Client) -> eventstore::Result<()> {
147+
async fn replay_parked_to_all(client: &Client) -> kurrent::Result<()> {
148148
// #region replay-parked-of-persistent-subscription-to-all
149149
let options = ReplayParkedMessagesOptions::default().stop_at(10);
150150
client
@@ -154,7 +154,7 @@ async fn replay_parked_to_all(client: &Client) -> eventstore::Result<()> {
154154
Ok(())
155155
}
156156

157-
async fn list_persistent_subscription_to_stream(client: &Client) -> eventstore::Result<()> {
157+
async fn list_persistent_subscription_to_stream(client: &Client) -> kurrent::Result<()> {
158158
// #region list-persistent-subscriptions-to-stream
159159
let subscriptions = client
160160
.list_persistent_subscriptions_for_stream("test-stream", &Default::default())
@@ -170,7 +170,7 @@ async fn list_persistent_subscription_to_stream(client: &Client) -> eventstore::
170170
Ok(())
171171
}
172172

173-
async fn list_persistent_subscription_to_all(client: &Client) -> eventstore::Result<()> {
173+
async fn list_persistent_subscription_to_all(client: &Client) -> kurrent::Result<()> {
174174
// #region list-persistent-subscriptions-to-all
175175
let subscriptions = client
176176
.list_persistent_subscriptions_to_all(&Default::default())
@@ -186,7 +186,7 @@ async fn list_persistent_subscription_to_all(client: &Client) -> eventstore::Res
186186
Ok(())
187187
}
188188

189-
async fn list_all_persistent_subscription(client: &Client) -> eventstore::Result<()> {
189+
async fn list_all_persistent_subscription(client: &Client) -> kurrent::Result<()> {
190190
// #region list-persistent-subscriptions
191191
let subscriptions = client
192192
.list_all_persistent_subscriptions(&Default::default())
@@ -202,7 +202,7 @@ async fn list_all_persistent_subscription(client: &Client) -> eventstore::Result
202202
Ok(())
203203
}
204204

205-
async fn restart_persistent_subscription_subsystem(client: &Client) -> eventstore::Result<()> {
205+
async fn restart_persistent_subscription_subsystem(client: &Client) -> kurrent::Result<()> {
206206
// #region restart-persistent-subscription-subsystem
207207
client
208208
.restart_persistent_subscription_subsystem(&Default::default())

examples/quickstart.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![allow(unused_variables)]
55
#![allow(unused_must_use)]
66

7-
use eventstore::{
7+
use kurrent::{
88
AppendToStreamOptions, Client, Credentials, EventData, ExpectedRevision, ReadStreamOptions,
99
};
1010
use serde::{Deserialize, Serialize};

examples/reading_events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![allow(unused_results)]
44
#![allow(unused_variables)]
55

6-
use eventstore::{
6+
use kurrent::{
77
Client, Credentials, EventData, ExpectedRevision, Position, ReadAllOptions, ReadStreamOptions,
88
StreamPosition,
99
};

examples/server_side_filtering.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![allow(unused_variables)]
55
#![allow(unreachable_code)]
66

7-
use eventstore::{
7+
use kurrent::{
88
Client, Credentials, EventData, ExpectedRevision, SubscribeToAllOptions, SubscriptionEvent,
99
SubscriptionFilter,
1010
};

examples/subscribing_to_stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#![allow(unused_variables)]
66
#![allow(unreachable_code)]
77

8-
use eventstore::{
8+
use kurrent::{
99
Client, Credentials, EventData, ExpectedRevision, Position, RetryOptions, StreamPosition,
1010
SubscribeToAllOptions, SubscribeToStreamOptions, SubscriptionEvent, SubscriptionFilter,
1111
};
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "eventstore-extras"
2+
name = "kurrent-extras"
33
version = "0.1.0"
44
edition = "2021"
55

66
license = "MIT"
77

8-
description = "EventStoreDB gRPC client extra features"
8+
description = "KurrentDB gRPC client extra features"
99
keywords = ["database", "eventsourcing", "eventstore", "eventstoredb", "grpc"]
1010
repository = "https://github.com/EventStore/EventStoreDB-Client-Rust"
1111
categories = ["database", "api-bindings"]
@@ -14,6 +14,6 @@ categories = ["database", "api-bindings"]
1414

1515
[dependencies]
1616
# will move to version number once we got something stable.
17-
eventstore = { path = "../eventstore", version = "3.0.0" }
17+
kurrent = { path = "../kurrent", version = "1.0.0" }
1818
chrono = { version = "0.4", default-features = false }
1919
log = "0.4"

0 commit comments

Comments
 (0)