https://github.com/babilonczyk/martian
A Rust library providing Mars centric utility modules, like time operations (Mars Sol Date & Martian Coordinated Time), date (Darian calendar), calendar/timekeeping, etc.
https://github.com/babilonczyk/martian
mars rust rust-library utilities
Last synced: 4 months ago
JSON representation
A Rust library providing Mars centric utility modules, like time operations (Mars Sol Date & Martian Coordinated Time), date (Darian calendar), calendar/timekeeping, etc.
- Host: GitHub
- URL: https://github.com/babilonczyk/martian
- Owner: babilonczyk
- License: apache-2.0
- Created: 2024-11-02T14:51:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-04T09:26:05.000Z (10 months ago)
- Last Synced: 2025-08-28T07:14:16.993Z (5 months ago)
- Topics: mars, rust, rust-library, utilities
- Language: Rust
- Homepage: https://docs.rs/martian/latest/martian/
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Martian 👾
Modular utility library centered around Mars. Currently provides time/date operations.
## Versioning
Each minor version is a wip work on the specific module/s. It means that function signature and names may change in that stage. Eg. since Rust doesn't allow having default arguments, it may be neccessary to add one when bumping the crate.
Once the minor version gets changed to to the new one, we can consider the previous one stable. From that point forward each change to that module/s will need to have backward compatibility.
Major version is a breaking change that will make previous stable modules incompatible with new implementation.
- Version `0.1.x` - Time module
- Version `0.2.x` - Date module
- Version `0.3.x` - Calendar module
- Version `0.4.x` - Locations module
## Stable Modules
- Time module
- Date module
## Roadmap
If you have ideas for a valid and bringing business value modules/functions. Please create an Issue to make a discussion. Contributions are also welcome.
Locations: TODO List of points of interest on Mars
Calendar/timekeeping: TODO
Date:
- [x] darian_now
- [x] msd_to_darian
- [x] darian_to_msd
- [x] darian_to_utc
- [x] utc_to_darian
Time:
- [x] msd_now/current_sol
- [x] mtc_now
- [x] utc_to_msd
- [x] msd_to_utc
## Licence
The library is under **Apache License, Version 2.0**