Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ zeroize = "1"
thiserror = "2"
# Time-sortable 26-character entity ids (`Key::ulid`); the only id generator the
# core needs, and it links no database client or transport.
ulid = "1"
ulid = "3"
# Sealed streams are stored as one zstd-compressed blob (`StreamStore::seal`).
# Only the codec is needed, so the dictionary builder and legacy-format
# decoders are left out. It links a C library but no database client or
Expand Down
2 changes: 1 addition & 1 deletion crates/tinystoragedrivers-queue/src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub(crate) fn of(parts: &[&str]) -> Result<Key> {

/// Return a fresh sortable id.
pub(crate) fn ulid() -> String {
ulid::Ulid::new().to_string()
ulid::Ulid::generate().to_string()
}

#[cfg(all(test, feature = "document"))]
Expand Down
2 changes: 1 addition & 1 deletion crates/tinystoragedrivers-queue/tests/live.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async fn connect(scope: &Scope) -> Option<RabbitQueues> {
fn name(label: &str) -> String {
format!(
"live_{label}_{}",
ulid::Ulid::new().to_string().to_lowercase()
ulid::Ulid::generate().to_string().to_lowercase()
)
}

Expand Down
5 changes: 4 additions & 1 deletion crates/tinystoragedrivers-queue/tests/support/queue_port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
use serde_json::json;

fn unique(label: &str) -> String {
format!("{label}_{}", ulid::Ulid::new().to_string().to_lowercase())
format!(
"{label}_{}",
ulid::Ulid::generate().to_string().to_lowercase()
)
}
fn ok<T>(result: tinystoragedrivers_types::Result<T>, check: &str) -> T {
match result {
Expand Down
5 changes: 4 additions & 1 deletion crates/tinystoragedrivers-testkit/src/conformance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ pub mod validated;
pub mod watch;

fn unique(label: &str) -> String {
format!("{label}_{}", ulid::Ulid::new().to_string().to_lowercase())
format!(
"{label}_{}",
ulid::Ulid::generate().to_string().to_lowercase()
)
}

fn ok<T>(result: Result<T>, check: &str) -> T {
Expand Down
5 changes: 4 additions & 1 deletion crates/tinystoragedrivers-testkit/src/conformance/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
use serde_json::json;

fn unique(label: &str) -> String {
format!("{label}_{}", ulid::Ulid::new().to_string().to_lowercase())
format!(
"{label}_{}",
ulid::Ulid::generate().to_string().to_lowercase()
)
}
fn ok<T>(result: tinystoragedrivers_types::Result<T>, check: &str) -> T {
match result {
Expand Down
69 changes: 20 additions & 49 deletions proof-workspaces/document-callback/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proof-workspaces/storage-callback/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading