Skip to content

Commit d1d7ca2

Browse files
update runner api and change to libsodium-sys-stable.
1 parent 1a4a20d commit d1d7ca2

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

client/src/procedures.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ pub use primitives::{
1818
WriteVault, X25519DiffieHellman,
1919
};
2020
pub use types::{
21-
DeriveSecret, FatalProcedureError, GenerateSecret, Procedure, ProcedureError, ProcedureOutput, UseSecret,
21+
DeriveSecret, FatalProcedureError, GenerateSecret, Procedure, ProcedureError, ProcedureOutput, Products, Runner,
22+
UseSecret,
2223
};
23-
pub(crate) use types::{Products, Runner};

engine/runtime/Cargo.toml

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,43 @@
11
[package]
22
name = "stronghold-runtime"
33
version = "2.0.0"
4-
authors = [ "IOTA Stiftung", "Alexandre Dang <[email protected]" ]
4+
authors = ["IOTA Stiftung", "Alexandre Dang <[email protected]"]
55
edition = "2021"
66
readme = "README.md"
77
license = "Apache-2.0"
88
description = "Data structures for memory protection at runtime"
99
repository = "https://github.com/iotaledger/stronghold.rs"
1010
homepage = "https://wiki.iota.org/stronghold.rs/getting_started"
1111
documentation = "https://wiki.iota.org/stronghold.rs/getting_started"
12-
keywords = [ "iota", "stronghold", "security" ]
13-
categories = [ "security" ]
12+
keywords = ["iota", "stronghold", "security"]
13+
categories = ["security"]
1414

1515
[lib]
1616
name = "runtime"
1717

1818
[dependencies]
1919
libc = { version = "0.2" }
2020
log = { version = "0.4.17" }
21-
zeroize = { version = "1.5.7", default-features = false, features = [ "alloc", "zeroize_derive" ] }
22-
libsodium-sys = { version = "0.2" }
23-
serde = { version = "1.0", features = [ "derive" ] }
21+
zeroize = { version = "1.5.7", default-features = false, features = [
22+
"alloc",
23+
"zeroize_derive",
24+
] }
25+
libsodium-sys-stable = { version = "1.20" }
26+
serde = { version = "1.0", features = ["derive"] }
2427
random = { version = "0.8.4", package = "rand" }
2528
dirs = { version = "4.0.0" }
2629
thiserror = { version = "1.0" }
27-
iota-crypto = { version = "0.23", default-features = false, features = [ "blake2b" ] }
30+
iota-crypto = { version = "0.23", default-features = false, features = [
31+
"blake2b",
32+
] }
2833

2934
[target."cfg(windows)".dependencies]
3035
windows = { version = "0.36.0", features = [
3136
"Win32_System_Memory",
3237
"Win32_System_SystemInformation",
3338
"Win32_System_Diagnostics_Debug",
3439
"Win32_Foundation",
35-
"Win32_Security"
40+
"Win32_Security",
3641
] }
3742

3843
[target."cfg(any(target_os = \"linux\", target_os = \"macos\"))".dependencies]

0 commit comments

Comments
 (0)