[Issue 18298] curl high level form wrapper

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 3 20:14:20 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18298

--- Comment #3 from Andre <andre at s-e-a-p.de> ---
I have a quite uncommon issue with the package "request".

I work for a company which has rules how open source software can be used. Each
software component needs to go through an open source process. Also each
dependency needs to go through this process. And if the version of a dependency
is changed I have to go through this process again.

request has in its standard configuration only 1 dependency. But "dub" build
will cause the download also of the dependencies of the vibe.d configuration.
In the end, this behavior of dub causes me to go through the process of all
none needed dependencies:

Fetching libevent 2.0.2+2.0.16 (getting selected version)...
Fetching diet-ng 1.4.4 (getting selected version)...
Fetching requests 0.6.0 (getting selected version)...
Fetching botan-math 1.0.3 (getting selected version)...
Fetching openssl 1.1.6+1.0.1g (getting selected version)...
Fetching botan 1.12.9 (getting selected version)...
Fetching eventcore 0.8.27 (getting selected version)...
Fetching memutils 0.4.9 (getting selected version)...
Fetching vibe-d 0.8.2 (getting selected version)...
Fetching vibe-core 1.3.0 (getting selected version)...
Fetching libasync 0.8.3 (getting selected version)...
Fetching taggedalgebraic 0.10.9 (getting selected version)...
Performing "debug" build using dmd for x86.
requests 0.6.0: building configuration "std"... <--------- std build

If possible I would like to stay with std.net.curl;)
I would like to call the needed curl functions from my user code but that is
not possible because the access to curl handle is private. 
https://forum.dlang.org/thread/udphhtugolfyqjnvkbys@forum.dlang.org

Could the access to this handle be provided from user code?

--


More information about the Digitalmars-d-bugs mailing list