File tree 4 files changed +32
-1
lines changed
4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ edition = "2021"
5
5
6
6
[workspace ]
7
7
members = [
8
+ " crates/dimer-builder" ,
8
9
" crates/muropeptide" ,
9
10
" crates/nom-miette" ,
10
11
" crates/polychem" ,
11
- " crates/smithereens" , " crates/wasm-shim" ,
12
+ " crates/smithereens" ,
13
+ " crates/wasm-shim" ,
12
14
]
13
15
exclude = [" worktrees/" ]
14
16
Original file line number Diff line number Diff line change
1
+ [package ]
2
+ name = " dimer-builder"
3
+ version = " 0.1.0"
4
+ edition = " 2021"
5
+
6
+ [dependencies ]
7
+ muropeptide = { path = " ../muropeptide" }
8
+ polars = " 0.43.1"
9
+ polychem = { path = " ../polychem" }
10
+
11
+ [lints ]
12
+ workspace = true
Original file line number Diff line number Diff line change
1
+ pub fn add ( left : u64 , right : u64 ) -> u64 {
2
+ left + right
3
+ }
4
+
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
+ }
Original file line number Diff line number Diff line change
1
+ fn main ( ) {
2
+ println ! ( "Hello, world!" ) ;
3
+ }
You can’t perform that action at this time.
0 commit comments