Rename the database crate to db

This commit is contained in:
2026-11-30 04:09:40 +08:00
parent 6b34a11dbb
commit 81b70f0046
13 changed files with 25 additions and 25 deletions
@@ -1,5 +1,5 @@
[package]
name = "sql"
name = "db"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
@@ -1,10 +1,10 @@
use std::{collections::BTreeMap, env, time::Duration};
use serde_json::json;
use sql::{
use db::{
Cluster, Connection, DeploymentConfig, Driver, Mutation, ReadPreference, StorageError, Tls,
connect,
};
use serde_json::json;
fn change(id: &str, text: &str) -> Mutation {
Mutation {