Skip to content

Commit 3a2b2c7

Browse files
committed
Add a link to sgp4-no-std
1 parent 5cdf614 commit 3a2b2c7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ To run the Space-Track example, you must first assign your Space-Track.org crede
6565

6666
This crate supports `no_std` environments. TLE parsing and SGP4 propagation do not require `alloc` either. We use [num-traits](https://docs.rs/num-traits/latest/num_traits/) with [libm](https://docs.rs/libm/latest/libm/) for floating point functions when `std` is not available.
6767

68-
All serde-related features, in particular OMM parsing, require `alloc`.
68+
See https://github.com/neuromorphicsystems/sgp4-no-std for a minimal no-std example that runs on Docker Linux x86_64.
69+
70+
All serde-related features, such as OMM parsing, require `alloc`.
6971

7072
## Benchmark
7173

src/tle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ impl DecimalPointAssumedRepresentation for [u8] {
175175
end,
176176
});
177177
}
178-
let mut raw_buffer = [0_u8; 16];
178+
let mut raw_buffer = [0u8; 16];
179179
let length;
180180
if trimmed[0] == b'-' {
181181
if trimmed.len() < 2 || trimmed.len() + 1 > raw_buffer.len() {

0 commit comments

Comments
 (0)