Skip to content

Commit

Permalink
remove indy_vdr specific parts of indy-utils
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <[email protected]>
  • Loading branch information
andrewwhitehead committed Aug 2, 2023
1 parent 50e8764 commit 9384403
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 216 deletions.
26 changes: 14 additions & 12 deletions indy-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "indy-utils"
version = "0.5.2"
version = "0.6.0"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
description = "Utilities for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org)."
edition = "2018"
Expand All @@ -16,29 +16,31 @@ path = "src/lib.rs"
crate-type = ["rlib"]

[features]
default = ["ed25519", "hash", "txn_signature"]
base64 = ["base64_rs"]
default = ["ed25519", "hash"]
ed25519 = ["curve25519-dalek", "ed25519-dalek", "rand", "sha2", "x25519-dalek"]
hash = ["sha2"]
txn_signature = ["hex", "sha2", "serde", "serde_json"]

[dependencies]
base64_rs = { package = "base64", version = "0.13", optional = true }
bs58 = "0.4"
curve25519-dalek = { version = "3.1", default-features = false, features = ["u64_backend"], optional = true }
ed25519-dalek = { version = "1.0", default-features = false, features = ["u64_backend"], optional = true }
hex = { version = "0.4", optional = true }
bs58 = "0.5"
curve25519-dalek = { version = "3.1", default-features = false, features = [
"u64_backend",
], optional = true }
ed25519-dalek = { version = "1.0", default-features = false, features = [
"u64_backend",
], optional = true }
once_cell = "1.9"
rand = { version = "0.8", optional = true }
regex = "1.3"
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
sha2 = { version = "0.9", optional = true }
sha2 = { version = "0.10", optional = true }
thiserror = "1.0"
x25519-dalek = { version = "=1.2", default-features = false, features = ["u64_backend"], optional = true }
x25519-dalek = { version = "=1.2", default-features = false, features = [
"u64_backend",
], optional = true }
zeroize = { version = "1.3" }

[dev-dependencies]
async-global-executor = "1.2"
async-global-executor = "2.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
18 changes: 0 additions & 18 deletions indy-utils/src/base64.rs

This file was deleted.

8 changes: 0 additions & 8 deletions indy-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ pub mod did;
/// Indy signing keys and verification keys
pub mod keys;

/// Base64 encoding and decoding
#[cfg(feature = "base64")]
pub mod base64;

/// Hash algorithms
#[cfg(feature = "hash")]
pub mod hash;

/// Generation of normalized ledger transaction for signing
#[cfg(feature = "txn_signature")]
pub mod txn_signature;
178 changes: 0 additions & 178 deletions indy-utils/src/txn_signature.rs

This file was deleted.

0 comments on commit 9384403

Please sign in to comment.