chore(deps)(deps): bump sha2 from 0.10.9 to 0.11.0#384
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
nochallenge
added a commit
that referenced
this pull request
Jun 8, 2026
Add orbit::specific_angular_momentum_from_elements(semi_major_axis, eccentricity), the conserved specific orbital angular momentum: h = sqrt(mu * a * (1 - e^2)) = sqrt(mu * p) (m^2/s) the angular momentum per unit mass of the two-body orbit (twice the areal velocity, Kepler's second law; mu = MU_EARTH). Equivalently sqrt(mu*p) with p the semi_latus_rectum_from_elements (#384); at the apsides h = r*v, and for a circle (e=0) it reduces to circular_angular_momentum sqrt(mu*a) (#348). Guard mirrors semi_latus_rectum_from_elements (a > 0, 0 <= e < 1). Analytic test specific_angular_momentum_from_elements_is_sqrt_mu_p: (a) worked a=7e6, e=0.1 -> h = sqrt(mu*6.93e6); (b) cross-check threading semi_latus_rectum_from_elements (#384): h^2 = mu*p across three (a,e); (c) circular cross-check threading circular_angular_momentum (#348): h(a,0) = sqrt(mu*a); (d) periapsis cross-check threading orbital_speed: h = r_p*v_p; (e) Err guards for a<=0, e>=1, non-finite. Free fn in orbit.rs (reached via valenx_astro::orbit::), no lib.rs change. valenx-astro 221 lib tests (was 220), cargo clippy --all-targets -D warnings clean.
nochallenge
added a commit
that referenced
this pull request
Jun 8, 2026
Add orbit::apoapsis_radius_from_elements(a, e) = a*(1+e) and periapsis_radius_from_elements(a, e) = a*(1-e), the farthest and closest orbital radii (m) from the conic elements. Together they are the forward (a, e) -> apsides direction, completing the apsides<->elements bijection: eccentricity_from_apsides (#372) and semi_major_axis_from_apsides (#378) go apsides -> (e, a); these go (a, e) -> apsides. Guard mirrors semi_latus_rectum_from_elements (a > 0, 0 <= e < 1). Analytic test apsis_radius_from_elements_completes_the_apsides_bijection: (a) worked a=7e6, e=0.1 -> r_a=7.7e6, r_p=6.3e6; (b) double round-trip threading #372 + #378 (non-tautological): the computed apsides recover BOTH e and a; (c) threads semi_latus_rectum_from_elements (#384): the harmonic mean of the apsides is the semi-latus rectum p = a(1-e^2); (d) ordering r_p <= a <= r_a and r_a + r_p = 2a; (e) circular: e=0 -> both apsides collapse to a; (f) Err guards for a<=0, e>=1, non-finite (both fns). Free fns in orbit.rs (reached via valenx_astro::orbit::), no lib.rs change. valenx-astro 222 lib tests (was 221), cargo clippy --all-targets -D warnings clean.
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0. - [Commits](RustCrypto/hashes@sha2-v0.10.9...sha2-v0.11.0) --- updated-dependencies: - dependency-name: sha2 dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
70d2ff8 to
328a966
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps sha2 from 0.10.9 to 0.11.0.
Commits
ffe0939Release sha2 0.11.0 (#806)8991b65Use the standard order of the[package]section fields (#807)3d2bc57sha2: refactor backends (#802)faa55fbsha3: bumpkeccakto v0.2 (#803)d3e6489sha3 v0.11.0-rc.9 (#801)bbf6f51sha2: tweak backend docs (#800)155dbbfsha3: add default value for theDSgeneric parameter onTurboShake128/256...ed514f2Use published version ofkeccakv0.2 (#799)702bcd8Migrate to closure-basedkeccak(#796)827c043sha3 v0.11.0-rc.8 (#794)