You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "prabirshrestha (via GitHub)" <gi...@apache.org> on 2023/10/17 02:35:00 UTC

[I] opendal requires openssl [incubator-opendal]

prabirshrestha opened a new issue, #3313:
URL: https://github.com/apache/incubator-opendal/issues/3313

   
   opendal defaults to `rustls` but seems to require nativetls and openssl when building.
   
   <details>
   
   
   ```
   ├── opendal v0.40.0
   │   ├── anyhow v1.0.75
   │   ├── async-compat v0.2.2
   │   │   ├── futures-core v0.3.28
   │   │   ├── futures-io v0.3.28
   │   │   ├── once_cell v1.18.0
   │   │   ├── pin-project-lite v0.2.13
   │   │   └── tokio v1.33.0 (*)
   │   ├── async-trait v0.1.74 (proc-macro) (*)
   │   ├── backon v0.4.1
   │   │   ├── fastrand v1.9.0
   │   │   ├── futures-core v0.3.28
   │   │   ├── pin-project v1.1.3 (*)
   │   │   └── tokio v1.33.0 (*)
   │   ├── base64 v0.21.4
   │   ├── bytes v1.5.0
   │   ├── chrono v0.4.31 (*)
   │   ├── flagset v0.4.4
   │   ├── futures v0.3.28 (*)
   │   ├── http v0.2.9 (*)
   │   ├── hyper v0.14.27
   │   │   ├── bytes v1.5.0
   │   │   ├── futures-channel v0.3.28 (*)
   │   │   ├── futures-core v0.3.28
   │   │   ├── futures-util v0.3.28 (*)
   │   │   ├── h2 v0.3.21 (*)
   │   │   ├── http v0.2.9 (*)
   │   │   ├── http-body v0.4.5
   │   │   │   ├── bytes v1.5.0
   │   │   │   ├── http v0.2.9 (*)
   │   │   │   └── pin-project-lite v0.2.13
   │   │   ├── httparse v1.8.0
   │   │   ├── httpdate v1.0.3
   │   │   ├── itoa v1.0.9
   │   │   ├── pin-project-lite v0.2.13
   │   │   ├── socket2 v0.4.9
   │   │   │   └── libc v0.2.149
   │   │   ├── tokio v1.33.0 (*)
   │   │   ├── tower-service v0.3.2
   │   │   ├── tracing v0.1.39 (*)
   │   │   └── want v0.3.1 (*)
   │   ├── log v0.4.20
   │   ├── md-5 v0.10.6 (*)
   │   ├── once_cell v1.18.0
   │   ├── parking_lot v0.12.1 (*)
   │   ├── percent-encoding v2.3.0
   │   ├── pin-project v1.1.3 (*)
   │   ├── quick-xml v0.29.0
   │   │   ├── memchr v2.6.4
   │   │   └── serde v1.0.189 (*)
   │   ├── reqsign v0.14.1
   │   │   ├── anyhow v1.0.75
   │   │   ├── async-trait v0.1.74 (proc-macro) (*)
   │   │   ├── base64 v0.21.4
   │   │   ├── chrono v0.4.31 (*)
   │   │   ├── form_urlencoded v1.2.0 (*)
   │   │   ├── hex v0.4.3
   │   │   ├── hmac v0.12.1 (*)
   │   │   ├── home v0.5.5
   │   │   ├── http v0.2.9 (*)
   │   │   ├── jsonwebtoken v8.3.0 (*)
   │   │   ├── log v0.4.20
   │   │   ├── once_cell v1.18.0
   │   │   ├── percent-encoding v2.3.0
   │   │   ├── quick-xml v0.29.0 (*)
   │   │   ├── rand v0.8.5 (*)
   │   │   ├── reqwest v0.11.22
   │   │   │   ├── base64 v0.21.4
   │   │   │   ├── bytes v1.5.0
   │   │   │   ├── encoding_rs v0.8.33
   │   │   │   │   └── cfg-if v1.0.0
   │   │   │   ├── futures-core v0.3.28
   │   │   │   ├── futures-util v0.3.28 (*)
   │   │   │   ├── h2 v0.3.21 (*)
   │   │   │   ├── http v0.2.9 (*)
   │   │   │   ├── http-body v0.4.5 (*)
   │   │   │   ├── hyper v0.14.27 (*)
   │   │   │   ├── hyper-rustls v0.24.1
   │   │   │   │   ├── futures-util v0.3.28 (*)
   │   │   │   │   ├── http v0.2.9 (*)
   │   │   │   │   ├── hyper v0.14.27 (*)
   │   │   │   │   ├── rustls v0.21.7 (*)
   │   │   │   │   ├── tokio v1.33.0 (*)
   │   │   │   │   └── tokio-rustls v0.24.1 (*)
   │   │   │   ├── hyper-tls v0.5.0
   │   │   │   │   ├── bytes v1.5.0
   │   │   │   │   ├── hyper v0.14.27 (*)
   │   │   │   │   ├── native-tls v0.2.11
   │   │   │   │   │   ├── log v0.4.20
   │   │   │   │   │   ├── openssl v0.10.57
   │   │   │   │   │   │   ├── bitflags v2.4.1
   │   │   │   │   │   │   ├── cfg-if v1.0.0
   │   │   │   │   │   │   ├── foreign-types v0.3.2
   │   │   │   │   │   │   │   └── foreign-types-shared v0.1.1
   │   │   │   │   │   │   ├── libc v0.2.149
   │   │   │   │   │   │   ├── once_cell v1.18.0
   │   │   │   │   │   │   ├── openssl-macros v0.1.1 (proc-macro)
   │   │   │   │   │   │   │   ├── proc-macro2 v1.0.69 (*)
   │   │   │   │   │   │   │   ├── quote v1.0.33 (*)
   │   │   │   │   │   │   │   └── syn v2.0.38 (*)
   │   │   │   │   │   │   └── openssl-sys v0.9.93
   │   │   │   │   │   │       └── libc v0.2.149
   │   │   │   │   │   │       [build-dependencies]
   │   │   │   │   │   │       ├── cc v1.0.83 (*)
   │   │   │   │   │   │       ├── pkg-config v0.3.27
   │   │   │   │   │   │       └── vcpkg v0.2.15
   │   │   │   │   │   ├── openssl-probe v0.1.5
   │   │   │   │   │   └── openssl-sys v0.9.93 (*)
   │   │   │   │   ├── tokio v1.33.0 (*)
   │   │   │   │   └── tokio-native-tls v0.3.1
   │   │   │   │       ├── native-tls v0.2.11 (*)
   │   │   │   │       └── tokio v1.33.0 (*)
   │   │   │   ├── ipnet v2.8.0
   │   │   │   ├── log v0.4.20
   │   │   │   ├── mime v0.3.17
   │   │   │   ├── native-tls v0.2.11 (*)
   │   │   │   ├── once_cell v1.18.0
   │   │   │   ├── percent-encoding v2.3.0
   │   │   │   ├── pin-project-lite v0.2.13
   │   │   │   ├── rustls v0.21.7 (*)
   │   │   │   ├── rustls-native-certs v0.6.3 (*)
   │   │   │   ├── rustls-pemfile v1.0.3 (*)
   │   │   │   ├── serde v1.0.189 (*)
   │   │   │   ├── serde_json v1.0.107 (*)
   │   │   │   ├── serde_urlencoded v0.7.1
   │   │   │   │   ├── form_urlencoded v1.2.0 (*)
   │   │   │   │   ├── itoa v1.0.9
   │   │   │   │   ├── ryu v1.0.15
   │   │   │   │   └── serde v1.0.189 (*)
   │   │   │   ├── tokio v1.33.0 (*)
   │   │   │   ├── tokio-native-tls v0.3.1 (*)
   │   │   │   ├── tokio-rustls v0.24.1 (*)
   │   │   │   ├── tokio-util v0.7.9 (*)
   │   │   │   ├── tower-service v0.3.2
   │   │   │   └── url v2.4.1 (*)
   │   │   ├── rsa v0.9.2
   │   │   │   ├── byteorder v1.5.0
   │   │   │   ├── const-oid v0.9.5
   │   │   │   ├── digest v0.10.7 (*)
   │   │   │   ├── num-bigint-dig v0.8.4
   │   │   │   │   ├── byteorder v1.5.0
   │   │   │   │   ├── lazy_static v1.4.0 (*)
   │   │   │   │   ├── libm v0.2.8
   │   │   │   │   ├── num-integer v0.1.45 (*)
   │   │   │   │   ├── num-iter v0.1.43
   │   │   │   │   │   ├── num-integer v0.1.45 (*)
   │   │   │   │   │   └── num-traits v0.2.17 (*)
   │   │   │   │   │   [build-dependencies]
   │   │   │   │   │   └── autocfg v1.1.0
   │   │   │   │   ├── num-traits v0.2.17 (*)
   │   │   │   │   ├── rand v0.8.5 (*)
   │   │   │   │   ├── smallvec v1.11.1
   │   │   │   │   └── zeroize v1.6.0
   │   │   │   ├── num-integer v0.1.45 (*)
   │   │   │   ├── num-iter v0.1.43 (*)
   │   │   │   ├── num-traits v0.2.17 (*)
   │   │   │   ├── pkcs1 v0.7.5
   │   │   │   │   ├── der v0.7.8
   │   │   │   │   │   ├── const-oid v0.9.5
   │   │   │   │   │   ├── pem-rfc7468 v0.7.0
   │   │   │   │   │   │   └── base64ct v1.6.0
   │   │   │   │   │   └── zeroize v1.6.0
   │   │   │   │   ├── pkcs8 v0.10.2
   │   │   │   │   │   ├── der v0.7.8 (*)
   │   │   │   │   │   └── spki v0.7.2
   │   │   │   │   │       └── der v0.7.8 (*)
   │   │   │   │   └── spki v0.7.2 (*)
   │   │   │   ├── pkcs8 v0.10.2 (*)
   │   │   │   ├── rand_core v0.6.4 (*)
   │   │   │   ├── signature v2.1.0
   │   │   │   │   ├── digest v0.10.7 (*)
   │   │   │   │   └── rand_core v0.6.4 (*)
   │   │   │   ├── spki v0.7.2 (*)
   │   │   │   ├── subtle v2.5.0
   │   │   │   └── zeroize v1.6.0
   │   │   ├── rust-ini v0.19.0
   │   │   │   ├── cfg-if v1.0.0
   │   │   │   └── ordered-multimap v0.6.0
   │   │   │       ├── dlv-list v0.5.1
   │   │   │       │   └── const-random v0.1.15
   │   │   │       │       ├── const-random-macro v0.1.15 (proc-macro)
   │   │   │       │       │   ├── getrandom v0.2.10
   │   │   │       │       │   │   ├── cfg-if v1.0.0
   │   │   │       │       │   │   └── libc v0.2.149
   │   │   │       │       │   ├── once_cell v1.18.0
   │   │   │       │       │   ├── proc-macro-hack v0.5.20+deprecated (proc-macro)
   │   │   │       │       │   └── tiny-keccak v2.0.2 (*)
   │   │   │       │       └── proc-macro-hack v0.5.20+deprecated (proc-macro)
   │   │   │       └── hashbrown v0.13.2 (*)
   │   │   ├── serde v1.0.189 (*)
   │   │   ├── serde_json v1.0.107 (*)
   │   │   ├── sha1 v0.10.6 (*)
   │   │   ├── sha2 v0.10.8 (*)
   │   │   └── tokio v1.33.0 (*)
   │   ├── reqwest v0.11.22 (*)
   │   ├── serde v1.0.189 (*)
   │   ├── serde_json v1.0.107 (*)
   │   ├── sha2 v0.10.8 (*)
   │   ├── tokio v1.33.0 (*)
   │   └── uuid v1.4.1 (*)
   
   ```
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] opendal requires openssl [incubator-opendal]

Posted by "prabirshrestha (via GitHub)" <gi...@apache.org>.
prabirshrestha commented on issue #3313:
URL: https://github.com/apache/incubator-opendal/issues/3313#issuecomment-1765865642

   Saw this https://github.com/salvo-rs/salvo/issues/330. Thanks for looking into it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] opendal requires openssl [incubator-opendal]

Posted by "prabirshrestha (via GitHub)" <gi...@apache.org>.
prabirshrestha closed issue #3313: opendal requires openssl
URL: https://github.com/apache/incubator-opendal/issues/3313


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] opendal requires openssl [incubator-opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #3313:
URL: https://github.com/apache/incubator-opendal/issues/3313#issuecomment-1765852828

   Thanks for sharing! I'm guessing `salvo` enables the default feature of `reqwest` which carries `native-tls`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] opendal requires openssl [incubator-opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #3313:
URL: https://github.com/apache/incubator-opendal/issues/3313#issuecomment-1765789709

   Hi, would you mind sharing the project that generates this dependency tree? I test locally with `cargo tree`:
   
   With default feature:
   
   ```shell
   :) cargo tree | rg ssl             
   │   │   │   ├── openssl-probe v0.1.5
   ```
   
   With `native-tls` feature:
   
   ```shell
   :( cargo tree --features native-tls | rg ssl
   │   │   │   │   ├── openssl v0.10.55
   │   │   │   │   │   ├── openssl-macros v0.1.1 (proc-macro)
   │   │   │   │   │   └── openssl-sys v0.9.90
   │   │   │   │   ├── openssl-probe v0.1.5
   │   │   │   │   └── openssl-sys v0.9.90 (*)
   │   │   │   ├── openssl-probe v0.1.5
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] opendal requires openssl [incubator-opendal]

Posted by "prabirshrestha (via GitHub)" <gi...@apache.org>.
prabirshrestha commented on issue #3313:
URL: https://github.com/apache/incubator-opendal/issues/3313#issuecomment-1765833431

   Here is my Cargo.toml. It is a personal project not opensource yet.
   
   ```toml
   [dependencies]
   anyhow = "1.0.75"
   argh = "0.1.12"
   argon2 = "0.5.2"
   async-trait = "0.1.73"
   async_zip = { version = "0.0.15", features = ["tokio", "deflate"] }
   bytes = "1.5.0"
   chrono = { version = "0.4.31", features = ["serde"] }
   deadpool = { version = "0.10.0", features = ["rt_tokio_1"] }
   etag = "4.0.0"
   ffmpeg-sidecar = "0.5.1"
   figment = { version = "0.10.11", features = ["yaml", "env"] }
   futures-core = "0.3.28"
   futures-lite = "1.13.0"
   futures-util = "0.3.28"
   glob = "0.3.1"
   handlebars = "4.4.0"
   hex = "0.4.3"
   hyper = { version = "1.0.0-rc.4", features = ["server"] }
   jsonwebtoken = "8.3.0"
   ldap3 = { version = "0.11.3", default-features = false, features = ["tls-rustls"] }
   listenfd = "1.0.1"
   mime = "0.3.17"
   mime_guess = "2.0.4"
   mq = "0.7.0"
   mq-surreal = "0.7.0"
   once_cell = "1.18.0"
   opendal = "0.40.0"
   password-hash = "0.5.0"
   percent-encoding = "2.3.0"
   pin-project-lite = "0.2.13"
   querystrong = "0.3.0"
   rust-embed = "8.0.0"
   salvo = { version = "0.58.0", features = ["affix", "basic-auth", "cookie", "compression", "caching-headers", "logging", "jwt-auth", "oapi", "proxy", "serve-static"] }
   secrecy = { version = "0.8.0", features = ["serde"] }
   serde = { version = "1.0.189", features = ["derive"] }
   serde_json = "1.0.107"
   serde_yaml = "0.9.25"
   sha-crypt = "0.5.0"
   sha1 = "0.10.6"
   surrealdb = { version = "1.0.0", features = ["kv-rocksdb"] }
   thiserror = "1.0.49"
   time = { version = "0.3.28", features = ["std", "serde"] }
   tokio = { version = "1.32.0", features = ["macros", "process", "signal"] }
   tokio-util = "0.7.8"
   tracing = "0.1.37"
   tracing-subscriber = "0.3.17"
   typeshare = "1.0.1"
   urlencoding = "2.1.3"
   validator = { version = "0.16.1", features = ["derive"] }
   xml-rs = "0.8.18"
   
   [dev-dependencies]
   matches = "0.1.10"
   
   [build-dependencies]
   vergen = { version = "8.2.5", features = ["git", "gitcl"] }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org