Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# eventsourcingdb-client-rust
The official Rust client SDK for EventSourcingDB.

The official Rust client SDK for [EventSourcingDB](https://www.eventsourcingdb.io/).

# Project status

This is a work in progress and not yet ready for production use.
Based on the [compliance criteria](https://docs.eventsourcingdb.io/client-sdks/compliance-criteria/) the SDK covers these criteria:

- ❌ Essentials
- ❌ Writing Events
- ❌ Reading Events
- ❌ Using EventQL
- ❌ Observing Events
- ❌ Metadata and Discovery
- ❌ Testcontainers Support
31 changes: 18 additions & 13 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#![doc = include_str!("../README.md")]

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
#![warn(
ambiguous_negative_literals,
bad_style,
clippy::pedantic,
missing_debug_implementations,
missing_docs,
non_shorthand_field_patterns,
overflowing_literals,
path_statements,
trivial_casts,
trivial_numeric_casts,
unused_extern_crates,
unused_import_braces,
unused_qualifications,
unused_results
)]
#![deny(unsafe_code)]