mirror of
https://github.com/bitwarden/server.git
synced 2025-12-10 00:42:07 -06:00
Adds a Rust SDK for performing seed related cryptograhic operations. It depends on internal portions of our Rust SDK. Primarily parts of the bitwarden-crypto crate.
10 lines
285 B
Rust
10 lines
285 B
Rust
fn main() {
|
|
csbindgen::Builder::default()
|
|
.input_extern_file("src/lib.rs")
|
|
.csharp_dll_name("libsdk")
|
|
.csharp_namespace("Bit.RustSDK")
|
|
.csharp_class_accessibility("public")
|
|
.generate_csharp_file("../NativeMethods.g.cs")
|
|
.unwrap();
|
|
}
|