mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
refactor: consolidate into tlsn crate (#934)
* refactor: consolidate into tlsn crate * clean up dead code * bump lock file * rustfmt * fix examples * fix docs script * clippy * clippy
This commit is contained in:
@@ -9,10 +9,8 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
notary-client = { workspace = true }
|
||||
tlsn-common = { workspace = true }
|
||||
tlsn-core = { workspace = true }
|
||||
tlsn-prover = { workspace = true }
|
||||
tlsn-verifier = { workspace = true }
|
||||
tlsn = { workspace = true }
|
||||
tlsn-formats = { workspace = true }
|
||||
tlsn-tls-core = { workspace = true }
|
||||
tls-server-fixture = { workspace = true }
|
||||
|
||||
@@ -15,11 +15,13 @@ use tracing::debug;
|
||||
use notary_client::{Accepted, NotarizationRequest, NotaryClient};
|
||||
use tls_core::verify::WebPkiVerifier;
|
||||
use tls_server_fixture::{CA_CERT_DER, SERVER_DOMAIN};
|
||||
use tlsn_common::config::ProtocolConfig;
|
||||
use tlsn::{
|
||||
config::ProtocolConfig,
|
||||
prover::{Prover, ProverConfig, TlsConfig},
|
||||
};
|
||||
use tlsn_core::{request::RequestConfig, transcript::TranscriptCommitConfig, CryptoProvider};
|
||||
use tlsn_examples::ExampleType;
|
||||
use tlsn_formats::http::{DefaultHttpCommitter, HttpCommit, HttpTranscript};
|
||||
use tlsn_prover::{Prover, ProverConfig, TlsConfig};
|
||||
use tlsn_server_fixture::DEFAULT_FIXTURE_PORT;
|
||||
use tlsn_server_fixture_certs::{CLIENT_CERT, CLIENT_KEY};
|
||||
|
||||
|
||||
@@ -12,14 +12,16 @@ use tracing::instrument;
|
||||
|
||||
use tls_core::verify::WebPkiVerifier;
|
||||
use tls_server_fixture::CA_CERT_DER;
|
||||
use tlsn_common::config::{ProtocolConfig, ProtocolConfigValidator};
|
||||
use tlsn::{
|
||||
config::{ProtocolConfig, ProtocolConfigValidator},
|
||||
prover::{Prover, ProverConfig, TlsConfig},
|
||||
verifier::{Verifier, VerifierConfig},
|
||||
};
|
||||
use tlsn_core::{
|
||||
transcript::PartialTranscript, CryptoProvider, ProveConfig, VerifierOutput, VerifyConfig,
|
||||
};
|
||||
use tlsn_prover::{Prover, ProverConfig, TlsConfig};
|
||||
use tlsn_server_fixture::DEFAULT_FIXTURE_PORT;
|
||||
use tlsn_server_fixture_certs::{CLIENT_CERT, CLIENT_KEY, SERVER_DOMAIN};
|
||||
use tlsn_verifier::{Verifier, VerifierConfig};
|
||||
|
||||
const SECRET: &str = "TLSNotary's private key 🤡";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user