time
sea-query
Our great sponsors
time | sea-query | |
---|---|---|
12 | 23 | |
1,010 | 1,008 | |
3.9% | 5.4% | |
8.7 | 9.1 | |
6 days ago | 2 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
time
-
Rust: Actix-web and Daily Logging
// To load RUST_LOG from .env file. dotenv().ok(); /* On Ubuntu 22.10, calling UtcOffset's offset methods causes IndeterminateOffset error!! See also https://github.com/time-rs/time/pull/297 ... */ // TO_DO: 11 is the current number of hours the Australian Eastern Standard Time (AEST) // is ahead of UTC. This value need to be worked out dynamically -- if it is at all // possible on Linux!! // let guard = init_app_logger(UtcOffset::from_hms(11, 0, 0).unwrap());
-
Getaddrinfo() on glibc calls getenv(), oh boy
The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call interface is unstable and/or undocumented).
For example in rust, multiple time libraries were found to be unsound if `std::env::set_env` was ever called from a multi-threaded program. See:
https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499
https://github.com/rust-lang/rust/issues/27970
https://github.com/rust-lang/rust/issues/90308
- The time crate has officially adopted an N-2 MSRV policy for end-user improvements and an N-4 MSRV policy for internal improvements.
-
Simple, fast and safety alternative for unzip
On that note, it would also be good to configure cargo-deny so that a CI pipeline and any maintainer can easily audit the current dependency versions. Sometimes CVEs require a new major semver (looking at you, time 0.1.x and thus chrono 0.4.x), so it's not enough to rely on people installing the tool with semver-compatible updates. Automatically auditing dependencies is really important, and given how easy cargo-deny makes it, I don't think many projects have any excuse not to configure it.
- time: MSRV policy is changing beginning 2023-07-01 to N-2 rustc versions
-
Hifitime 3.5.0: time.rs and chrono alternative, only more precise, formally verified, and used in scientific and engineering programs
I've come to understand that correct support for leap seconds for time computations cannot be implemented in a reliable and globally consistent manner. Here is a GitHub discussion that touches on this.
-
What's new in SeaORM 0.9.0
Upgrade time to 0.3
-
What lightweight date/time library to use? [2022 edition]
I'm not fully aware of all the history but here's what I think happened: time 0.1 was originally a minimal wrapper around libc time functions, maintained by Alex Crichton. (I seem to remember it may have been part of the std library before 1.0, but I'm not sure about that part.) In August of 2016 it was declared to no longer be actively maintained, with the README stating bugs would still get fixed.
- What should we do about CVE-2020-26235 (localtime_r may be unsound)?
-
no_std with Error trait?
link to source code
sea-query
-
Hey Rustaceans! Got a question? Ask here (8/2023)!
The main limitation of prepared statement is that you can only insert values, so you cannot dynamically construct the query depending on the parameters. For that, you can use a query builder such as sea-query, which should handle that.
-
Modern DB that works with sqlx?
I would say https://www.sea-ql.org is your best bet. Itβs highly configurable and they also have tools for no bs orm and graphql! Very new, but there is 1.0 release and tonnes of documentation and cook books.
-
What's new in SeaQuery 0.28.0
[#508] Representing a identifier with &'static str. The IdenStatic trait looks like this:
-
What's new in SeaQuery 0.27.0
π We are pleased to release SeaQuery 0.27.0! Here are some feature highlights π:
-
Using Rust as my Backend
SeaORM or SeaQuery are also very good instead of diesel/sqlx
- Sea-query: A dynamic SQL query builder for MySQL, Postgres and SQLite
- GitHub - SeaQL/sea-query: A dynamic SQL query builder for MySQL, Postgres and SQLite
-
Celebrating 3,000+ GitHub Stars π
SeaQL.org was founded back in 2020. We devoted ourselves into developing open source libraries that help Rust developers to build data intensive applications. In the past two years, we published and maintained four open source libraries: SeaQuery, SeaSchema, SeaORM and StarfishQL. Each library is designed to fill a niche in the Rust ecosystem, and they are made to play well with other Rust libraries.
-
What's new in SeaORM 0.9.0
Upgrade sea-query to 0.26
-
Introducing StarfishQL - visualizing the dependency network on crates.io
As the new member of the SeaQL family, it's a stellar example of what could be done with Rust and the SeaORM / SeaQuery / SeaSchema suite of tools. We couldn't be more excited to see applications being built on Rust and the SeaQL ecosystem!
What are some alternatives?
chrono - Date and time library for Rust
sqlx - general purpose extensions to golang's database/sql
bitvec - A crate for managing memory bit by bit
sea-orm - π An async & dynamic ORM for Rust
bitsvec - A bit vector with the Rust standard library's portable SIMD API.
rust-postgis - postgis helper library.
uuid - Generate and parse UUIDs.
aws-sdk-rust - AWS SDK for the Rust Programming Language
binfarce - Extremely minimal parser for ELF/PE/Mach-o/ar
arrow-datafusion - Apache DataFusion SQL Query Engine
wyhash-rs - wyhash fast portable non-cryptographic hashing algorithm and random number generator in Rust
sqlx - π§° The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.