mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-11-03 03:24:08 +00:00
17 lines
299 B
Rust
17 lines
299 B
Rust
#[macro_use]
|
|
extern crate diesel;
|
|
|
|
#[macro_use]
|
|
extern crate diesel_derives;
|
|
|
|
pub mod future;
|
|
pub mod kv;
|
|
mod protobuf;
|
|
pub mod retry;
|
|
|
|
#[allow(dead_code)]
|
|
pub fn uuid() -> String { uuid::Uuid::new_v4().to_string() }
|
|
|
|
#[allow(dead_code)]
|
|
pub fn timestamp() -> i64 { chrono::Utc::now().timestamp() }
|