[package]
edition = "2024"
rust-version = "1.85"
name = "confium-examples"
version = "0.5.0"
authors = ["Ribose Open <open.source@ribose.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runnable example binaries demonstrating Confium threshold cryptography"
homepage = "https://www.confium.org/"
documentation = "https://docs.rs/confium-examples"
readme = "README.md"
keywords = [
"crypto",
"examples",
"demo",
"threshold",
"confium",
]
categories = [
"authentication",
"cryptography",
]
license = "BSD-2-Clause"
repository = "https://github.com/confium/confium"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[package.metadata.cargo-machete]
ignored = [
"chrono",
"confium-pkcs11-server",
"confium-store",
"confium-tc",
"confium-tc-frost-p256",
"confium_core",
"p256",
]
[lib]
name = "confium_examples"
path = "src/lib.rs"
[[bin]]
name = "audit_log_stream"
path = "src/bin/audit_log_stream.rs"
[[bin]]
name = "keystore_roundtrip"
path = "src/bin/keystore_roundtrip.rs"
[[bin]]
name = "mini_cnml_demo"
path = "src/bin/mini_cnml_demo.rs"
[[bin]]
name = "p256_threshold_signing"
path = "src/bin/p256_threshold_signing.rs"
[[bin]]
name = "pkcs11_server_demo"
path = "src/bin/pkcs11_server_demo.rs"
[[bin]]
name = "plugin_load_and_hash"
path = "src/bin/plugin_load_and_hash.rs"
[[bin]]
name = "threshold_signing"
path = "src/bin/threshold_signing.rs"
[[bin]]
name = "transparency_log_demo"
path = "src/bin/transparency_log_demo.rs"
[[example]]
name = "pki_issue_cert"
path = "examples/pki_issue_cert.rs"
[[example]]
name = "privacy_psi_two_party"
path = "examples/privacy_psi_two_party.rs"
[[example]]
name = "privacy_vrf_randomness"
path = "examples/privacy_vrf_randomness.rs"
[[example]]
name = "threshold_local_dkg"
path = "examples/threshold_local_dkg.rs"
[[example]]
name = "transparency_local_log"
path = "examples/transparency_local_log.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.confium-pkcs11-server]
version = "0.5.0"
[dependencies.confium-pki]
version = "0.5.0"
[dependencies.confium-privacy]
version = "0.5.0"
[dependencies.confium-store]
version = "0.5.0"
[dependencies.confium-tc]
version = "0.5.0"
[dependencies.confium-tc-cmp20]
version = "0.5.0"
[dependencies.confium-tc-frost-p256]
version = "0.5.0"
[dependencies.confium-transparency]
version = "0.5.0"
[dependencies.confium_core]
version = "0.5.0"
package = "confium-core"
[dependencies.hex]
version = "0.4"
[dependencies.p256]
version = "0.14"
features = [
"ecdsa",
"pem",
"arithmetic",
"ecdsa",
"arithmetic",
]