File tree Expand file tree Collapse file tree 7 files changed +54
-7
lines changed
Expand file tree Collapse file tree 7 files changed +54
-7
lines changed Original file line number Diff line number Diff line change 22name = " malstrom"
33version = " 0.1.0"
44edition = " 2021"
5+ description = " Malstrom is a distributed, stateful stream processing framework written in Rust."
6+ license = " MIT OR Apache-2.0"
7+ repository = " https://github.com/MalstromDevelopers/malstrom"
8+ readme = " ../README.md"
9+ categories = [
10+ " concurrency" ,
11+ ]
12+ keywords = [
13+ " stream processing" ,
14+ " data processing" ,
15+ " framework" ,
16+ " streaming" ,
17+ " distributed" ,
18+ ]
519
620[lints ]
721workspace = true
Original file line number Diff line number Diff line change 7575 /// value and applies the function if the key is not already present.
7676 /// # Arguments
7777 ///
78- /// - `key` - The key associated with the value to be applied or defaulted.
79- /// - `func` - A function that is applied to the value if the key exists, or to the default
80- /// value if the key does not exist. It takes a mutable reference to the value.
78+ /// -`key` - The key associated with the value to be applied or defaulted.
79+ /// -`func` - A function that is applied to the value if the key exists, or to the default
80+ /// value if the key does not exist. It takes a mutable reference to the value.
8181 ///
8282 /// After applying the function or inserting a default value, it triggers any pending
8383 /// notifications that depend on changes to the map.
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ where
105105
106106 let parts = parts. into_iter ( ) ;
107107 let part_lister =
108- OperatorBuilder :: built_by ( & format ! ( "{}-list-parts" , name ) , move |build_context| {
108+ OperatorBuilder :: built_by ( & format ! ( "{name }-list-parts" ) , move |build_context| {
109109 let mut inner = if build_context. worker_id == 0 {
110110 Box :: new ( parts)
111111 } else {
Original file line number Diff line number Diff line change 11[package ]
22name = " malstrom-k8s"
3- version = " 0.2.0"
4- edition = " 2021"
3+ version = " 0.1.0"
4+ edition = " 2024"
5+ description = " Kubernetes runtime for the Malstrom stream processing framework"
6+ license = " MIT OR Apache-2.0"
7+ repository = " https://github.com/MalstromDevelopers/malstrom"
8+ readme = " ../README.md"
9+ categories = [
10+ " concurrency" ,
11+ " api-bindings"
12+ ]
13+ keywords = [
14+ " stream processing" ,
15+ " data processing" ,
16+ " streaming" ,
17+ " distributed" ,
18+ " kubernetes"
19+ ]
20+
521
622[dependencies ]
723async-stream = " 0.3.6"
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use tonic::Status;
33
44use crate :: CONFIG ;
55
6+ #[ allow( clippy:: result_large_err) ]
67pub ( super ) fn decode_id ( raw : & str ) -> Result < u64 , Status > {
78 raw. parse :: < u64 > ( )
89 . map_err ( |e| Status :: invalid_argument ( format ! ( "Invalid u64: {e:?}" ) ) )
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ impl WorkerService for WorkerGrpcServer {
192192
193193/// Extract from_worker and operator from Metadata. Returning the appropriate status
194194/// if they are not present or invalid
195+ #[ allow( clippy:: result_large_err) ]
195196fn extract_metadata ( metadata : & MetadataMap ) -> Result < ( WorkerId , OperatorId ) , Status > {
196197 let operator = metadata
197198 . get ( "operator-id" )
Original file line number Diff line number Diff line change 11[package ]
22name = " malstrom-kafka"
33version = " 0.1.0"
4- edition = " 2021"
4+ edition = " 2024"
5+ description = " Kafka protocol sources and sinks for the Malstrom stream processing framework"
6+ license = " MIT OR Apache-2.0"
7+ repository = " https://github.com/MalstromDevelopers/malstrom"
8+ readme = " ../README.md"
9+ categories = [
10+ " concurrency" ,
11+ " api-bindings"
12+ ]
13+ keywords = [
14+ " stream processing" ,
15+ " data processing" ,
16+ " kafka" ,
17+ " streaming" ,
18+ " distributed" ,
19+ ]
520
621[dependencies ]
722bon = { version = " 3.5.1" , features = [" experimental-overwritable" ] }
You can’t perform that action at this time.
0 commit comments