Skip to content

Commit 89bb7a8

Browse files
committed
graduating to 1.0
1 parent 7291843 commit 89bb7a8

File tree

10 files changed

+576
-38
lines changed

10 files changed

+576
-38
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
66

77
## [Unreleased]
88

9+
## 1.0.0 - 2022-10-14
10+
11+
After the last fixes and updates we can consider this exporter as stable, so I am graduating it to 1.0 :-)
12+
13+
### Breaking change
14+
15+
- The following parameters have been renamed for compatibility reasons
16+
-- `--interval` / `-i` is now `--refresh- /`-r'
17+
-- `-h` is now ``-i'
18+
919
## 0.2.20 - 2022-10-07
1020

1121
- Remove from builds console_subscriber

Cargo.lock

Lines changed: 106 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sio2prom"
3-
version = "0.2.20"
3+
version = "1.0.0"
44
edition = "2021"
55
authors = ["Sebastian YEPES F <[email protected]>"]
66
keywords = ["prometheus", "metrics", "scaleio", "VxFlex", "PowerFlex"]
@@ -42,6 +42,9 @@ chrono = "0.4"
4242
clap = { version = "4.0", default-features = false, features = [
4343
"std",
4444
"color",
45+
"help",
46+
"usage",
47+
"suggestions",
4548
"cargo",
4649
"env",
4750
] }

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Workaround for QEmu bug when building for 32bit platforms on a 64bit host
2-
FROM --platform=$BUILDPLATFORM rust:bullseye as vendor
2+
FROM --platform=$BUILDPLATFORM rust:buster as vendor
33
ARG BUILDPLATFORM
44
ARG TARGETPLATFORM
55
RUN echo "Running on: $BUILDPLATFORM / Building for $TARGETPLATFORM"
@@ -10,7 +10,7 @@ COPY ./Cargo.lock .
1010
COPY ./src src
1111
RUN mkdir .cargo && cargo vendor > .cargo/config.toml
1212

13-
FROM rust:bullseye as builder
13+
FROM rust:buster as builder
1414
WORKDIR /app
1515

1616
COPY --from=vendor /app/.cargo .cargo
@@ -20,7 +20,7 @@ COPY ./Cargo.lock .
2020
COPY ./src src
2121
RUN cargo build --release
2222

23-
FROM debian:bullseye-slim
23+
FROM debian:buster-slim
2424
WORKDIR /app
2525
ENV RUST_BACKTRACE=full
2626
COPY --from=builder /app/target/release/sio2prom sio2prom

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ style-check:
2121
lint:
2222
@rustup component add clippy 2> /dev/null
2323
touch src/**
24-
cargo clippy --all-targets --all-features -- -D warnings
24+
cargo clippy --all-targets --all-features -- -D warnings -A clippy::for_loops_over_fallibles
2525

2626
check:
2727
@rustup component add rustfmt 2> /dev/null

0 commit comments

Comments
 (0)