Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notary client crate #489

Merged
merged 15 commits into from
Jun 18, 2024
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ jobs:
- name: "Build"
run: cargo build ${{ matrix.release && '--release' }}

- name: Add custom DNS entry to /etc/hosts for notary-server TLS test
if: matrix.package == 'notary-server'
run: echo "127.0.0.1 tlsnotaryserver.io" | sudo tee -a /etc/hosts

- name: "Test ${{ matrix.release && '--release' || '' }} ${{ matrix.all-features && '--all-features' || '' }}"
env:
RELEASE_OPTION: ${{ matrix.release && '--release' || '' }}
Expand Down
7 changes: 3 additions & 4 deletions notary-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ http-body-util = "0.1"
hyper = { version = "1.1", features = ["client", "http1", "server"] }
hyper-util = {version = "0.1", features = ["full"]}
notify = { version = "6.1.1", default-features = false, features = ["macos_kqueue"] }
opentelemetry = { version = "0.19" }
p256 = "0.13"
rstest = "0.18"
rustls = { version = "0.21" }
rustls-pemfile = { version = "1.0.2" }
serde = { version = "1.0.147", features = ["derive"] }
Expand All @@ -39,15 +37,16 @@ tower = { version = "0.4.12", features = ["make"] }
tower-http = { version = "0.5", features = ["cors"] }
tower-service = "0.3.2"
tracing = "0.1"
tracing-opentelemetry = "0.19"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.4.1", features = ["v4", "fast-rng"] }
ws_stream_tungstenite = { version = "0.13.0", features = ["tokio_io"] }

[dev-dependencies]
# specify vendored feature to use statically linked copy of OpenSSL
hyper-tls = { version = "0.6.0", features = ["vendored"] }
tlsn-prover = { path = "../tlsn/tlsn-prover", features = ["tracing"] }
rstest = "0.18"
tls-server-fixture = { path = "../components/tls/tls-server-fixture" }
tlsn-notary-client = { path = "../tlsn/tlsn-notary-client" }
tlsn-prover = { path = "../tlsn/tlsn-prover", features = ["tracing"] }
tlsn-tls-core = { path = "../components/tls/tls-core" }
tokio-native-tls = { version = "0.3.1", features = ["vendored"] }
Loading
Loading