Page MenuHomeDevCentral

Swith to the minimal feature set by default

Authored by dereckson on Oct 11 2018, 15:44.



The docker-registry-api uses the following dependency:
limiting-factor = { path="../limiting-factor", features = ["minimal"] }

Yet, a Jenkins task to generate doc compiles it with PostgreSQL support.

It appears the default feature set is always used.

Fixes T1459.

Test Plan

Rebuild this crate, then the API crate.

Diff Detail

rLF Limiting Factor
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson requested review of this revision.Oct 11 2018, 15:44
dereckson created this revision.
Fedora rawhide workstation
$ cargo clean
$ cargo build
[... Compile without Diesel or r2d2 dependencies ...]
$ ldd target/debug/docker-registry-api (0x00007fff15afc000)                             => /lib64/ (0x00007f580ca2b000)               => /lib64/ (0x00007f580ca21000)               => /lib64/ (0x00007f580ca00000) => /lib64/ (0x00007f580c9e5000) => /lib64/ (0x00007f580c81f000)                    
        /lib64/ (0x00007f580d338000)                         => /lib64/ (0x00007f580c6da000)  
dereckson accepted this revision.Oct 11 2018, 16:16
This revision is now accepted and ready to land.Oct 11 2018, 16:16
This revision was automatically updated to reflect the committed changes.