Skip to content

Commit bcf1444

Browse files
committed
chore: Replace boilerplate lib.rs with a basic setup of compiler configs
Signed-off-by: Raphael Höser <[email protected]>
1 parent 58f6fc4 commit bcf1444

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
# eventsourcingdb-client-rust
2-
The official Rust client SDK for EventSourcingDB.
2+
3+
The official Rust client SDK for [EventSourcingDB](https://www.eventsourcingdb.io/).
4+
5+
# Project status
6+
7+
This is a work in progress and not yet ready for production use.
8+
Based on the [compliance criteria](https://docs.eventsourcingdb.io/client-sdks/compliance-criteria/) the SDK covers these criteria:
9+
10+
- ❌ Essentials
11+
- ❌ Writing Events
12+
- ❌ Reading Events
13+
- ❌ Using EventQL
14+
- ❌ Observing Events
15+
- ❌ Metadata and Discovery
16+
- ❌ Testcontainers Support

src/lib.rs

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
pub fn add(left: u64, right: u64) -> u64 {
2-
left + right
3-
}
1+
#![doc = include_str!("../README.md")]
42

5-
#[cfg(test)]
6-
mod tests {
7-
use super::*;
8-
9-
#[test]
10-
fn it_works() {
11-
let result = add(2, 2);
12-
assert_eq!(result, 4);
13-
}
14-
}
3+
#![warn(
4+
ambiguous_negative_literals,
5+
bad_style,
6+
clippy::pedantic,
7+
missing_debug_implementations,
8+
missing_docs,
9+
non_shorthand_field_patterns,
10+
overflowing_literals,
11+
path_statements,
12+
trivial_casts,
13+
trivial_numeric_casts,
14+
unused_extern_crates,
15+
unused_import_braces,
16+
unused_qualifications,
17+
unused_results
18+
)]
19+
#![deny(unsafe_code)]

0 commit comments

Comments
 (0)