#astronomy #error-handling #astrophysics #type #traits #package

rubbl_core

Core types and traits for Rubbl, a Rust package for astrophysics

8 releases

new 0.4.0 Jan 23, 2023
0.3.0 Oct 7, 2021
0.2.1 Apr 1, 2021
0.2.0 Dec 15, 2020
0.1.0 Dec 20, 2017

#299 in Rust patterns

Download history 75/week @ 2022-10-07 52/week @ 2022-10-14 37/week @ 2022-10-21 64/week @ 2022-10-28 74/week @ 2022-11-04 69/week @ 2022-11-11 69/week @ 2022-11-18 30/week @ 2022-11-25 25/week @ 2022-12-02 72/week @ 2022-12-09 30/week @ 2022-12-16 48/week @ 2022-12-23 31/week @ 2022-12-30 38/week @ 2023-01-06 40/week @ 2023-01-13 111/week @ 2023-01-20

234 downloads per month
Used in fewer than 6 crates

MIT license

35KB
554 lines

rubbl_core

This crate defines some core types used by the Rubbl framework:

  • I/O helpers
  • Error handling
  • Numeric array types

Crate Duplication

This crate depends on several foundational crates that your upstream project may also explicitly depend on:

If your project depends on a version of one of these crates that is not compatible with the version required by this crate, Cargo will include multiple versions of it in your build. These duplicates have the same name but cannot be intermixed. (Note that, according to semver, versions 0.X and 0.(X+1) of a crate are not considered compatible.)

Unfortunately, due to limitations in Cargo's current resolver, this crate has to specify a narrow compatibility range for these dependencies. So, be careful to match your version requirements to the ones appropriate to the version of rubbl_core that you are using. The command cargo tree -d will display any duplicates in your dependency tree. If absolutely necessary, this crate re-exports some of its key dependencies, which can be used to “name” them in a reliable way even if they are duplicated elsewhere.

Dependencies

~1.5–3MB
~57K SLoC