#astrophysics #type #array #framework #package #traits #io

rubbl_core

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

9 unstable releases

0.5.0 Aug 13, 2024
0.4.0 Jan 23, 2023
0.3.0 Oct 7, 2021
0.2.1 Apr 1, 2021
0.1.0 Dec 20, 2017

#2536 in Rust patterns

Download history 78/week @ 2024-07-27 65/week @ 2024-08-03 303/week @ 2024-08-10 112/week @ 2024-08-17 33/week @ 2024-08-24 53/week @ 2024-08-31 29/week @ 2024-09-07 54/week @ 2024-09-14 300/week @ 2024-09-21 98/week @ 2024-09-28 25/week @ 2024-10-05 17/week @ 2024-10-12 59/week @ 2024-10-19 20/week @ 2024-10-26 64/week @ 2024-11-02 236/week @ 2024-11-09

379 downloads per month
Used in 6 crates (5 directly)

MIT license

36KB
558 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.7–9.5MB
~96K SLoC