mirror of
https://github.com/bitwarden/server
synced 2025-12-29 22:54:00 +00:00
[PM-22263] Integate Rust SDK to Seeder (#6150)
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.
This commit is contained in:
9
util/RustSdk/rust/build.rs
Normal file
9
util/RustSdk/rust/build.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user