Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Version 0.2.0 #1

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 116 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
[package]
name = "aurebuildcheck-rs"
version = "0.1.0"
authors = ["Matthias Krüger <matthias.krueger@famsik.de>"]
version = "0.2.0"
authors = [
"Matthias Krüger <matthias.krueger@famsik.de>",
"Marc Mettke <marc@itmettke.de>"
]
repository = "https://github.com/matthiaskrgr/aurebuildcheck-rs"
homepage = "https://github.com/matthiaskrgr/aurebuildcheck-rs"
license = "MIT"
readme = "README.md"
description = "Archlinux package checker to identify packages which may need a rebuild"

[dependencies]
rayon = "0.9" # parallelize
rayon = "0.9.0"
clap = "2.29.4"
json = "0.11.13"

[profile.release]
lto = true
panic = 'abort'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to keep codegen-units=1
It will slow down building in release mode a bit but it will speed up linking a lot and will allow for better optimizations.
rust-lang/rust#48025

Copy link
Collaborator Author

@mettke mettke Feb 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw your commit for rpm - will do (it wasn't set on the arch branch yet)

Edit: done

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah. The machine I made the rust prototype on runs fedora so I just used rpm to be able to do some quick "does it run" tests. Looks like I forgot to merge the arch branch, but whatever.

codegen-units=1
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Marc Mettke
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ups that must be corrected


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# aurebuildcheck-rs

aurebuildcheck
6 changes: 6 additions & 0 deletions build_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
cargo build --release
# Stripping removes a lot of debug symbols and therefore
# decreases the binary size. Unfortunately it also removes
# the ability to use panic
strip target/release/aurebuildcheck-rs
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
reorder_imports = true
Loading