Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# MSRV
- os: ubuntu-latest
binary_target: x86_64-unknown-linux-gnu
toolchain: 1.62.1
toolchain: 1.85.0
steps:
- uses: actions/checkout@v5
with:
Expand Down Expand Up @@ -96,11 +96,16 @@ jobs:
run: |
rustup -V
rustup set profile minimal
rustup toolchain install --force-non-host ${{ matrix.toolchain }}-${{ matrix.binary_target }}
rustup default ${{ matrix.toolchain }}
rustup target add ${{ matrix.binary_target }}
rustup show

- name: Build
env:
CARGO_BUILD_TARGET: ${{ matrix.binary_target }}
run: just build

- name: Test
env:
CARGO_BUILD_TARGET: ${{ matrix.binary_target }}
run: just test
3 changes: 1 addition & 2 deletions swiftnav/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ description = "GNSS positioning and related utilities"
readme = "README.md"
repository = "https://github.com/swift-nav/swiftnav-rs"
license = "LGPL-3.0"
rust-version = "1.62.1"
rust-version = "1.85.0"

[dependencies]
rustversion = "1.0"
chrono = { version = "0.4", optional = true }
swiftnav-sys = { version = "^0.10.0", path = "../swiftnav-sys/" }
strum = { version = "0.27", features = ["derive"] }
nalgebra = "0.33"
thiserror = "2.0"
Expand Down
12 changes: 0 additions & 12 deletions swiftnav/src/coords/ecef.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ impl ECEF {
Self(Vector3::new(x, y, z))
}

/// Get a reference to the inner array storing the data
#[must_use]
pub(crate) fn as_array(&self) -> &[f64; 3] {
&self.0.data.0[0]
}

/// Get a mutable reference to the inner array storing the data
#[must_use]
pub(crate) fn as_array_mut(&mut self) -> &mut [f64; 3] {
&mut self.0.data.0[0]
}

/// Get a reference to the inner [`Vector3<f64>`]
#[must_use]
pub(crate) fn as_vector(&self) -> &Vector3<f64> {
Expand Down
Loading
Loading