mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-12 08:06:35 -07:00
initial rust oidc lib
This commit is contained in:
parent
0032df3bf1
commit
271dfc0d2b
5 changed files with 1398 additions and 0 deletions
13
zeroidc/src/lib.rs
Normal file
13
zeroidc/src/lib.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
assert_eq!(2 + 2, 4);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn hello_rust() {
|
||||
println!("Hello, Rust from C!")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue