Skip to content

Commit

Permalink
fix(ci): Put lto flag in cargo.toml (#531)
Browse files Browse the repository at this point in the history
* fix(ci): Put lto flag in cargo.toml

* Bump to v0.8.13
  • Loading branch information
amaury1093 authored Aug 4, 2020
1 parent e7e6229 commit 00cbc1f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "check-if-email-exists-cli"
version = "0.8.12"
version = "0.8.13"
default-run = "check_if_email_exists"
edition = "2018"
license = "AGPL-3.0"
Expand All @@ -19,6 +19,9 @@ serde = "1.0"
serde_json = "1.0"
tokio = { version = "0.2", features = ["macros", "tcp", "dns", "io-util"] }

[profile.release]
lto = true

[workspace]
members = [
"core",
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine
# `ciee` stands for check-if-email-exists
WORKDIR /ciee
# Fetch latest version
ENV CIEE_VERSION 0.8.12
ENV CIEE_VERSION 0.8.13

# Install needed libraries
RUN apk update && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Head to the [releases page](https://github.com/amaurymartiny/check-if-email-exis

```
> $ check_if_email_exists --help
check_if_email_exists 0.8.12
check_if_email_exists 0.8.13
Check if an email address exists without sending any email.
USAGE:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test_script:

before_deploy:
# TODO Update this to build the artifacts that matter to you
- cargo rustc --target %TARGET% --release --bin %BIN_NAME% -- -C lto
- cargo rustc --target %TARGET% --release --bin %BIN_NAME%
- ps: ci\before_deploy.ps1

deploy:
Expand Down
2 changes: 1 addition & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ main() {
test -f Cargo.lock || cargo generate-lockfile

# TODO Update this to build the artifacts that matter to you
cross rustc --bin check_if_email_exists --target $TARGET --release -- -C lto
cross rustc --bin check_if_email_exists --target $TARGET --release

# TODO Update this to package the right artifacts
cp target/$TARGET/release/check_if_email_exists $stage/
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "check-if-email-exists"
version = "0.8.12"
version = "0.8.13"
authors = ["Amaury Martiny <[email protected]>"]
categories = ["email"]
description = "Check if an email address exists without sending any email"
Expand Down
2 changes: 1 addition & 1 deletion test_suite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "check-if-email-exists-test-suite"
version = "0.8.12"
version = "0.8.13"
edition = "2018"
publish = false

Expand Down

0 comments on commit 00cbc1f

Please sign in to comment.