DEVELOPMENT ENVIRONMENT

~liljamo/felu-ng

ref: f47e34ebe1d6d3be4d7ca678fd3bd6cf359ecbb1 felu-ng/felu-common/src/lib.rs -rw-r--r-- 445 bytes
f47e34ebJonni Liljamo feat(common): protobufs with prost 2 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (C) 2025 Jonni Liljamo <jonni@liljamo.com>
 *
 * This file is licensed under GPL-3.0-or-later, see NOTICE and LICENSE for
 * more information.
 */

pub mod proto {
    include!(concat!(env!("OUT_DIR"), "/felu.rs"));
}

pub fn add(left: u64, right: u64) -> u64 {
    left + right
}

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

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
    }
}