Prepare for v1.0.0
Experience tells me that as soon as I release this something will pop up so here I am, goading the Fates. The API hasn't changed in a long while, so it isn't much of a concern. Not every dependency is stable, but they rarely change. A paced major version bump simply to update deps is perfectly fine
- Id
- 1a649c8dfc98ed632ce68eb7a948e35dbe95ceab
- Author
- Caio
- Commit time
- 2025-12-03T10:13:24+01:00
Modified CHANGELOG.md
# Changelog
-## UNRELEASED
+## v1.0.0
-- Foca errors are now Sync
+- Foca errors are now Send+Sync
## v0.19.0 - 2025-03-24
Modified Cargo.toml
[package]
name = "foca"
-version = "0.19.0"
+version = "1.0.0"
rust-version = "1.81.0"
authors = ["Caio <contact@caio.co>"]
edition = "2021"
Modified src/error.rs
}
impl core::error::Error for Error {}
+
+#[cfg(test)]
+mod tests {
+ fn ensure_send_sync<T: Send + Sync>(_val: T) {}
+
+ #[test]
+ fn errors_are_sync() {
+ ensure_send_sync(super::Error::InvalidConfig);
+ }
+}