stanislav-tkach / os_info

Rust library to detect the operating system type
MIT License
175 stars 52 forks source link

Try cargo-bloat github action with 'exclude_packages' option #203

Closed stanislav-tkach closed 4 years ago

stanislav-tkach commented 4 years ago

Closes #201.

codecov-commenter commented 4 years ago

Codecov Report

Merging #203 into master will decrease coverage by 0.56%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
- Coverage   84.22%   83.65%   -0.57%     
==========================================
  Files          12       12              
  Lines         488      471      -17     
==========================================
- Hits          411      394      -17     
  Misses         77       77              
Impacted Files Coverage Δ
os_info/src/info.rs 78.78% <0.00%> (-6.93%) :arrow_down:
os_info/src/linux/mod.rs 75.00% <0.00%> (-1.93%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e0fbcf3...52cce0b. Read the comment docs.

github-actions[bot] commented 4 years ago

:cowboy_hat_face: Cargo bloat for toolchain stable-x86_64-unknown-linux-gnu :cowboy_hat_face:

@@ Size breakdown @@

- Size       0 B
+ Size       4.77 MB  +4.77 MB
- Text Size  0 B
+ Text Size  1.11 MB  +1.11 MB
Size difference per crate
**Note:** The numbers below are not 100% accurate, use them as a rough estimate. ```diff @@ Breakdown per crate @@ + clap 304.47 KB + std 245.64 KB + regex_syntax 220.02 KB + regex 147.87 KB + aho_corasick 70.81 KB + env_logger 29.65 KB + os_info 17.14 KB + ansi_term 3.16 KB + memchr 3.03 KB + strsim 2.87 KB + humantime 1.85 KB + termcolor 1.83 KB + thread_local 1.71 KB + textwrap 1.64 KB + log 1.17 KB ```
Dependency tree
```diff @@ Dependency tree @@ - Count: 0 + Count: 55 ├─ env_logger v0.7.1 │ ├─ atty v0.2.14 │ │ └─ libc v0.2.72 │ ├─ humantime v1.3.0 │ │ └─ quick-error v1.2.3 │ ├─ log v0.4.11 │ │ └─ cfg-if v0.1.10 │ ├─ regex v1.3.9 │ │ ├─ aho-corasick v0.7.13 │ │ │ └─ memchr v2.3.3 │ │ ├─ memchr v2.3.3 │ │ ├─ regex-syntax v0.6.18 │ │ └─ thread_local v1.0.1 │ │ └─ lazy_static v1.4.0 │ └─ termcolor v1.1.0 ├─ log v0.4.11 ├─ os_info v2.0.6 (/home/runner/work/os_info/os_info/os_info) │ └─ log v0.4.11 └─ structopt v0.3.15 ├─ clap v2.33.1 │ ├─ ansi_term v0.11.0 │ ├─ atty v0.2.14 │ ├─ bitflags v1.2.1 │ ├─ strsim v0.8.0 │ ├─ textwrap v0.11.0 │ │ └─ unicode-width v0.1.8 │ ├─ unicode-width v0.1.8 │ └─ vec_map v0.8.2 ├─ lazy_static v1.4.0 └─ structopt-derive v0.4.8 ├─ heck v0.3.1 │ └─ unicode-segmentation v1.6.0 ├─ proc-macro-error v1.0.3 │ ├─ proc-macro-error-attr v1.0.3 │ │ ├─ proc-macro2 v1.0.18 │ │ │ └─ unicode-xid v0.2.1 │ │ ├─ quote v1.0.7 │ │ │ └─ proc-macro2 v1.0.18 │ │ ├─ syn v1.0.34 │ │ │ ├─ proc-macro2 v1.0.18 │ │ │ ├─ quote v1.0.7 │ │ │ └─ unicode-xid v0.2.1 │ │ ├─ syn-mid v0.5.0 │ │ │ ├─ proc-macro2 v1.0.18 │ │ │ ├─ quote v1.0.7 │ │ │ └─ syn v1.0.34 │ │ └─ version_check v0.9.2 │ ├─ proc-macro2 v1.0.18 │ ├─ quote v1.0.7 │ ├─ syn v1.0.34 │ └─ version_check v0.9.2 ├─ proc-macro2 v1.0.18 ├─ quote v1.0.7 └─ syn v1.0.34 ```

Commit: 7be314995eceb9da1b31af2f05e9d5cb468ec52f

github-actions[bot] commented 4 years ago

:apple: Cargo bloat for toolchain stable-x86_64-apple-darwin :apple:

@@ Size breakdown @@

- Size       0 B
+ Size       2.01 MB  +2.01 MB
- Text Size  0 B
+ Text Size  1.1 MB   +1.1 MB
Size difference per crate
**Note:** The numbers below are not 100% accurate, use them as a rough estimate. ```diff @@ Breakdown per crate @@ + clap 312.7 KB + std 251.25 KB + regex_syntax 228.56 KB + regex 155.7 KB + aho_corasick 71.52 KB + env_logger 30.42 KB + os_info 13.56 KB + ansi_term 3.31 KB + memchr 3.06 KB + strsim 2.78 KB + termcolor 1.98 KB + humantime 1.92 KB + thread_local 1.8 KB + textwrap 1.67 KB + log 1.25 KB ```
Dependency tree
```diff @@ Dependency tree @@ - Count: 0 + Count: 55 ├─ env_logger v0.7.1 │ ├─ atty v0.2.14 │ │ └─ libc v0.2.72 │ ├─ humantime v1.3.0 │ │ └─ quick-error v1.2.3 │ ├─ log v0.4.11 │ │ └─ cfg-if v0.1.10 │ ├─ regex v1.3.9 │ │ ├─ aho-corasick v0.7.13 │ │ │ └─ memchr v2.3.3 │ │ ├─ memchr v2.3.3 │ │ ├─ regex-syntax v0.6.18 │ │ └─ thread_local v1.0.1 │ │ └─ lazy_static v1.4.0 │ └─ termcolor v1.1.0 ├─ log v0.4.11 ├─ os_info v2.0.6 (/Users/runner/work/os_info/os_info/os_info) │ └─ log v0.4.11 └─ structopt v0.3.15 ├─ clap v2.33.1 │ ├─ ansi_term v0.11.0 │ ├─ atty v0.2.14 │ ├─ bitflags v1.2.1 │ ├─ strsim v0.8.0 │ ├─ textwrap v0.11.0 │ │ └─ unicode-width v0.1.8 │ ├─ unicode-width v0.1.8 │ └─ vec_map v0.8.2 ├─ lazy_static v1.4.0 └─ structopt-derive v0.4.8 ├─ heck v0.3.1 │ └─ unicode-segmentation v1.6.0 ├─ proc-macro-error v1.0.3 │ ├─ proc-macro-error-attr v1.0.3 │ │ ├─ proc-macro2 v1.0.18 │ │ │ └─ unicode-xid v0.2.1 │ │ ├─ quote v1.0.7 │ │ │ └─ proc-macro2 v1.0.18 │ │ ├─ syn v1.0.34 │ │ │ ├─ proc-macro2 v1.0.18 │ │ │ ├─ quote v1.0.7 │ │ │ └─ unicode-xid v0.2.1 │ │ ├─ syn-mid v0.5.0 │ │ │ ├─ proc-macro2 v1.0.18 │ │ │ ├─ quote v1.0.7 │ │ │ └─ syn v1.0.34 │ │ └─ version_check v0.9.2 │ ├─ proc-macro2 v1.0.18 │ ├─ quote v1.0.7 │ ├─ syn v1.0.34 │ └─ version_check v0.9.2 ├─ proc-macro2 v1.0.18 ├─ quote v1.0.7 └─ syn v1.0.34 ```

Commit: 7be314995eceb9da1b31af2f05e9d5cb468ec52f