-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from uklotzde/release_0.3.9
Release v0.3.9
- Loading branch information
Showing
7 changed files
with
122 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
[package] | ||
name = "openfairdb" | ||
version = "0.3.8" | ||
authors = ["Markus Kohlhase <[email protected]>"] | ||
version = "0.3.9" | ||
authors = ["Markus Kohlhase <[email protected]>", "slowtec GmbH <[email protected]>"] | ||
license = "AGPL-3.0-or-later" | ||
|
||
[dependencies] | ||
# clap 3 is supposed to introduce breaking changes | ||
chrono = "*" | ||
clap = "2" | ||
log = "0.4" | ||
env_logger = "0.5" | ||
uuid = { version = "0.7", features = ["v4"] } | ||
url = "1" | ||
quick-error = "1" | ||
csv = "*" | ||
diesel = { version = "*", features = ["sqlite", "r2d2"] } | ||
diesel_migrations = { version = "*", features = ["sqlite"] } | ||
dotenv = "*" | ||
env_logger = "*" | ||
fast_chemail = "*" | ||
lazy_static = "*" | ||
log = "*" | ||
pwhash = "*" | ||
quick-error = "*" | ||
quoted_printable = "*" | ||
regex = "*" | ||
rocket = "*" | ||
rocket_codegen = "*" | ||
rocket_contrib = "*" | ||
serde = "1" | ||
serde_json = "1" | ||
serde_derive = "1" | ||
chrono = "0.4" | ||
lazy_static = "1" | ||
regex = "1" | ||
pwhash = "0.2" | ||
fast_chemail = "0.9" | ||
quoted_printable = "0.4" | ||
toml = "0.4" | ||
dotenv = "0.13" | ||
diesel = { version = "1.3", features = ["sqlite", "r2d2"] } | ||
diesel_migrations = { version = "1.3", features = ["sqlite"] } | ||
libsqlite3-sys = { version = "*", features = ["bundled"] } | ||
csv = "1" | ||
serde = { version = "*", features = ["derive"] } | ||
serde_json = "*" | ||
toml = "*" | ||
url = "*" | ||
uuid = { version = "*", features = ["v4"] } | ||
|
||
[features] | ||
default = ["email"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
BUILD_PROJECT=openfairdb | ||
|
||
BUILD_TARGET_BIN=openfairdb | ||
BUILD_TARGET_ARCH=x86_64-unknown-linux-musl | ||
|
||
BUILD_IMAGE=clux/muslrust:$(file < rust-toolchain) | ||
|
||
BUILD_ROOT=/tmp/muslrust | ||
BUILD_CARGO_CACHE=$(BUILD_ROOT)/cargo-cache | ||
BUILD_PROJECT_ROOT=$(BUILD_ROOT)/$(BUILD_PROJECT) | ||
|
||
.PHONY: default | ||
default: build | ||
|
||
# Pull the build image from DockerHub (initially or update) | ||
pre-build: | ||
docker pull docker.io/$(BUILD_IMAGE) | ||
|
||
build: | ||
mkdir -p "$(BUILD_CARGO_CACHE)" | ||
mkdir -p "$(BUILD_PROJECT_ROOT)" | ||
rsync -av --chown `id -gn`:`id -un` --progress . "$(BUILD_PROJECT_ROOT)" --exclude target --exclude .git | ||
docker run --rm \ | ||
-it $(BUILD_IMAGE) \ | ||
rustc --version | ||
docker run --rm \ | ||
-v "$(BUILD_CARGO_CACHE)":/root/.cargo:Z \ | ||
-v "$(BUILD_PROJECT_ROOT)":/volume:Z \ | ||
-w /volume \ | ||
-it $(BUILD_IMAGE) \ | ||
cargo build --bin=$(BUILD_TARGET_BIN) --release | ||
strip "$(BUILD_PROJECT_ROOT)/target/$(BUILD_TARGET_ARCH)/release/$(BUILD_TARGET_BIN)" | ||
mkdir -p bin/$(BUILD_TARGET_ARCH) | ||
cp "$(BUILD_PROJECT_ROOT)/target/$(BUILD_TARGET_ARCH)/release/$(BUILD_TARGET_BIN)" bin/$(BUILD_TARGET_ARCH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
rustc 1.31.0-nightly (14f42a732 2018-10-14) | ||
rustc 1.31.0-nightly (a66dc8a14 2018-10-22) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters