Skip to content

Commit a010cc8

Browse files
committed
feat: added flow_store & flow_queue feature
1 parent 7aa6b6b commit a010cc8

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

code0-flow/src/lib.rs

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
pub fn add(left: u64, right: u64) -> u64 {
2-
left + right
3-
}
1+
#[cfg(feature = "flow_store")]
2+
pub mod flow_store;
43

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-
}
4+
#[cfg(feature = "flow_queue")]
5+
pub mod flow_queue;

0 commit comments

Comments
 (0)