Astrolabe is a date and time library for Rust which aims to be feature rich and easy-to-use.
Status
Astrolabe is currently in heavy development. Please do not use the crate in production yet.
Roadmap:
- Create new
DateTimebased on current time or specific dates - (In progress) Formatting with specified format strings
- Formatting as RFC3339 timestamp
- Manipulation of
DateTimewithadd()andsub()functions
Features
At this stage of development, not all functions have been fully implemented.
DateTime, a wrapper aroundstd::time::SystemTimewhich implements formatting and manipulation functions- Formatting as RFC3339 timestamp
- Formatting with specific format strings based on Unicode Date Field Symbols.
- Zero dependencies if used without the
formatfeature
MSRV
This crate uses Rust 2021 edition and requires at least version 1.60.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.