Commit graph

4 commits

Author SHA1 Message Date
Andrew Gallant
b0512f4ef4
jiff-icu: compatibility fixes
I guess we can't just drop the `std` feature quite yet, since Jiff only
implements `std::error::Error` and not `core::error::Error`. Sigh.
2025-05-01 15:56:34 -04:00
Andrew Gallant
11364d2a23 jiff-icu: migrate to icu 2.0.0
This basically does what is necessary to get everything compiled and
tests passing.

We'll add on time zone and offset stuff in a subsequent commit.

Note that we now depend on `icu_calendar` and `icu_time` directly, with
the latter being optional (but enabled by default). In particular, one
can do useful things with just conversions to dates with `icu_calendar`.
But I expect most folks will want both.
2025-04-28 12:12:44 -04:00
Joey de Waal
ef7ed1f85e
jiff-sqlx: remove dependency on sqlx-core
Specifically, the `sqlx-core`, `sqlx-sqlite`
and `sqlx-postgres` crates aren't actually
supposed to be depended on directly.
2025-04-23 08:49:39 -04:00
Andrew Gallant
0541c1979c cargo: restore sanity to iterative development
I'm not sure when or how exactly it happened, but in the last weeks,
I've noticed that `rustc` gets effectively stun-locked whenever I make a
change to a source file in Jiff. A quick examination of what the fuck my
computer is doing seems to reveal that it's spending oodles of time
compiling diesel over and over.

I have no idea why this is happening and I don't really care to spend
the time unraveling the mysteries of diesel.

So I took a hammer to the problem. I have effectively shunted all
examples and all "integration" crates out of Jiff's core workspace and
into their own little bloated fiefdoms. To compensate for the fact that
`cargo test --all` no longer tests these things, I've added shell
scripts to run the requisite tests. And those shell scripts are now run
in CI.

I'm now back to a state where I can save a file in Jiff and I get
sub-second `cargo check` response times.
2025-04-10 20:54:30 -04:00