Page MenuHomeDevCentral

Swith to the minimal feature set by default
ClosedPublic

Authored by dereckson on Oct 11 2018, 15:44.
Tags
None
Referenced Files
F3937055: D1886.id4767.diff
Mon, Dec 23, 14:56
F3937046: D1886.id4768.diff
Mon, Dec 23, 14:52
F3936058: D1886.diff
Mon, Dec 23, 10:17
F3931013: D1886.id.diff
Sun, Dec 22, 16:54
Unknown Object (File)
Fri, Dec 13, 18:35
Unknown Object (File)
Sun, Dec 8, 18:10
Unknown Object (File)
Sun, Dec 8, 18:10
Unknown Object (File)
Sun, Dec 8, 17:49
Subscribers
None

Details

Summary

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

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
Fedora rawhide workstation
$ cargo clean
$ cargo build
[... Compile without Diesel or r2d2 dependencies ...]
$ ldd target/debug/docker-registry-api
        linux-vdso.so.1 (0x00007fff15afc000)                             
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f580ca2b000)               
        librt.so.1 => /lib64/librt.so.1 (0x00007f580ca21000)               
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f580ca00000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f580c9e5000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f580c81f000)                    
        /lib64/ld-linux-x86-64.so.2 (0x00007f580d338000)                         
        libm.so.6 => /lib64/libm.so.6 (0x00007f580c6da000)  
This revision is now accepted and ready to land.Oct 11 2018, 16:16
This revision was automatically updated to reflect the committed changes.