File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,19 @@ time = "0.3.44"
4747once_cell = " 1.21.3"
4848axum = " 0.8.6"
4949tower-http = { version = " 0.6.7" , features = [" fs" ] }
50- tokio-tungstenite = " 0.28.0"
51- futures-util = " 0.3.31"
50+ tokio-tungstenite = { version = " 0.28.0" , optional = true }
51+ futures-util = { version = " 0.3.31" , optional = true }
5252
5353[dev-dependencies ]
5454rcgen = " 0.14.5"
5555tempfile = " 3.23.0"
5656tdx-quote = { version = " 0.0.5" , features = [" mock" ] }
5757
5858[features ]
59- default = [" azure" ]
59+ default = [" azure" , " ws" ]
60+
61+ # Adds support for Microsoft Azure attestation generation and verification
6062azure = [" tss-esapi" , " az-tdx-vtpm" ]
63+
64+ # Adds websocket support
65+ ws = [" tokio-tungstenite" , " futures-util" ]
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ pub mod attested_get;
33pub mod attested_tls;
44pub mod file_server;
55pub mod health_check;
6+
7+ #[ cfg( feature = "azure" ) ]
68pub mod websockets;
79
810pub use attestation:: AttestationGenerator ;
You can’t perform that action at this time.
0 commit comments