File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ bytes = "^1.6"
1717cfg-if = " 1.0.3"
1818dicom-encoding = { path = " ../encoding/" , version = " 0.9" }
1919dicom-transfer-syntax-registry = { path = " ../transfer-syntax-registry/" , version = " 0.9" , default-features = false }
20- rustls = {version = " 0.23.31" , optional = true }
2120snafu = " 0.8"
22- tokio-rustls = {version = " 0.26.2" , optional = true }
2321tracing = " 0.1.34"
2422
2523[dependencies .tokio ]
@@ -32,6 +30,24 @@ features = [
3230 " io-util" ,
3331 " time"
3432]
33+ [dependencies .rustls ]
34+ version = " 0.23.31"
35+ optional = true
36+ default-features = false
37+ features = [
38+ " logging" ,
39+ " tls12" ,
40+ " std"
41+ ]
42+
43+ [dependencies .tokio-rustls ]
44+ version = " 0.26.2"
45+ optional = true
46+ default-features = false
47+ features = [
48+ " logging" ,
49+ " tls12" ,
50+ ]
3551
3652[dev-dependencies ]
3753dicom-dictionary-std = { path = " ../dictionary-std" }
@@ -43,6 +59,8 @@ dicom-object = { path = '../object' }
4359time = " 0.3"
4460rustls-cert-gen = " 0.2.0"
4561rcgen = " 0.14.4"
62+ # Install full features of rustls for testing
63+ rustls = " 0.23.31"
4664
4765[features ]
4866async = [" dep:tokio" ]
You can’t perform that action at this time.
0 commit comments