Skip to content

Commit

Permalink
Merge pull request #59 from rsadsb/prep-for-release
Browse files Browse the repository at this point in the history
Prep for release
  • Loading branch information
wcampbell0x2a authored Dec 30, 2022
2 parents a10ffc2 + dd5d399 commit ce7eb03
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo install cross
- run: cargo install cross --git https://github.com/cross-rs/cross || true
- run: cross build --workspace --locked --release --target ${{ matrix.targets }}

- name: archive
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
target: ${{ matrix.targets }}
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo install cross
- run: cargo install cross --git https://github.com/cross-rs/cross || true
- run: cross build --locked --workspace --target ${{ matrix.targets }}
- run: cross test --locked --workspace --target ${{ matrix.targets }}

Expand All @@ -53,5 +53,5 @@ jobs:
- run: cargo fmt --all -- --check

# clippy within cross
- run: cargo install cross
- run: cargo install cross --git https://github.com/cross-rs/cross || true
- run: cross clippy --workspace --target x86_64-unknown-linux-gnu -- -D warnings
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
- Bump MSRV 1.64, for new workspace packages

## [v0.6.1]
- Update clap to v4
- Update MSRV to 1.64

## [v0.6.0] 2022-08-19
### Features
- Bump MSRV for using new const Mutex, removing `once_cell`.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ version.workspace = true
edition.workspace = true
rust-version.workspace = true

[workspace.package]
edition = "2021"
version = "0.6.1"
rust-version = "1.64.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand All @@ -27,8 +32,3 @@ overflow-checks = true
[workspace]
members = ["dump1090_rs"]
default-members = ["dump1090_rs"]

[workspace.package]
edition = "2021"
version = "0.6.0"
rust-version = "1.64.0"
2 changes: 1 addition & 1 deletion dump1090_rs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn main() {
.iter()
.map(|a| {
let a = hex::encode(a);
let a = format!("*{};\n", a);
let a = format!("*{a};\n");
println!("{}", &a[..a.len() - 1]);
a
})
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn save_test_data(data: &[Complex<i16>]) {
.duration_since(std::time::SystemTime::UNIX_EPOCH)
.unwrap()
.as_millis();
let name = format!("test_{}.iq", now);
let name = format!("test_{now}.iq");
let mut file = std::fs::File::create(name).unwrap();

for d in data {
Expand Down

0 comments on commit ce7eb03

Please sign in to comment.