#astrophysics #array #type #rubbl #framework #package #io

rubbl_core

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

8 releases

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

#12 in #astrophysics

Download history 4/week @ 2024-01-02 45/week @ 2024-01-09 10/week @ 2024-01-16 1/week @ 2024-01-23 12/week @ 2024-01-30 15/week @ 2024-02-06 29/week @ 2024-02-13 16/week @ 2024-02-20 45/week @ 2024-02-27 37/week @ 2024-03-05 54/week @ 2024-03-12 48/week @ 2024-03-19 34/week @ 2024-03-26 50/week @ 2024-04-02 35/week @ 2024-04-09 54/week @ 2024-04-16

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

MIT license

36KB
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

~2–10MB
~99K SLoC