mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-04 21:35:33 +00:00
refactor: move types crate into blahd-types
subpackage
This commit is contained in:
parent
0a0a4aefa9
commit
0ac841e6fa
13 changed files with 43 additions and 47 deletions
|
@ -13,7 +13,7 @@ reqwest = { version = "0.12", features = ["json"] }
|
|||
rusqlite = "0.32"
|
||||
tokio = { version = "1", features = ["rt", "macros"] }
|
||||
|
||||
blah = { path = "..", features = ["rusqlite"] }
|
||||
blah-types = { path = "../blah-types", features = ["rusqlite"] }
|
||||
|
||||
[lints.clippy]
|
||||
dbg_macro = "warn"
|
||||
|
|
|
@ -3,10 +3,9 @@ use std::path::{Path, PathBuf};
|
|||
use std::{fs, io};
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use blah::bitflags;
|
||||
use blah::types::{
|
||||
get_timestamp, ChatPayload, CreateRoomPayload, Id, MemberPermission, RichText, RoomAttrs,
|
||||
RoomMember, RoomMemberList, ServerPermission, UserKey, WithSig,
|
||||
use blah_types::{
|
||||
bitflags, get_timestamp, ChatPayload, CreateRoomPayload, Id, MemberPermission, RichText,
|
||||
RoomAttrs, RoomMember, RoomMemberList, ServerPermission, UserKey, WithSig,
|
||||
};
|
||||
use ed25519_dalek::pkcs8::spki::der::pem::LineEnding;
|
||||
use ed25519_dalek::pkcs8::{DecodePrivateKey, DecodePublicKey, EncodePrivateKey, EncodePublicKey};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue