mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-12 21:19:44 +00:00
Fix libchat import in chat-cli
This commit is contained in:
parent
e20b7983ed
commit
0efbdeae6a
126
Cargo.lock
generated
126
Cargo.lock
generated
@ -278,7 +278,7 @@ dependencies = [
|
|||||||
"arboard",
|
"arboard",
|
||||||
"base64",
|
"base64",
|
||||||
"clap",
|
"clap",
|
||||||
"client",
|
"client 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
"crossterm 0.29.0",
|
"crossterm 0.29.0",
|
||||||
"ratatui",
|
"ratatui",
|
||||||
"serde",
|
"serde",
|
||||||
@ -300,14 +300,26 @@ dependencies = [
|
|||||||
name = "chat-sqlite"
|
name = "chat-sqlite"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crypto",
|
"crypto 0.1.0",
|
||||||
"hex",
|
"hex",
|
||||||
"rusqlite",
|
"rusqlite",
|
||||||
"storage",
|
"storage 0.1.0",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"zeroize",
|
"zeroize",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "chat-sqlite"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa#39bf26756448dd16ddff89a6c0054f79236494aa"
|
||||||
|
dependencies = [
|
||||||
|
"crypto 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"hex",
|
||||||
|
"rusqlite",
|
||||||
|
"storage 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"zeroize",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cipher"
|
name = "cipher"
|
||||||
version = "0.4.4"
|
version = "0.4.4"
|
||||||
@ -363,19 +375,29 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
|
|||||||
name = "client"
|
name = "client"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chat-sqlite",
|
"chat-sqlite 0.1.0",
|
||||||
"components",
|
"components",
|
||||||
"libchat",
|
"libchat 0.1.0",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "client"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa#39bf26756448dd16ddff89a6c0054f79236494aa"
|
||||||
|
dependencies = [
|
||||||
|
"chat-sqlite 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"libchat 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"thiserror",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "client-ffi"
|
name = "client-ffi"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"client",
|
"client 0.1.0",
|
||||||
"libchat",
|
"libchat 0.1.0",
|
||||||
"safer-ffi",
|
"safer-ffi",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -412,10 +434,10 @@ dependencies = [
|
|||||||
name = "components"
|
name = "components"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crypto",
|
"crypto 0.1.0",
|
||||||
"hex",
|
"hex",
|
||||||
"libchat",
|
"libchat 0.1.0",
|
||||||
"storage",
|
"storage 0.1.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -551,6 +573,22 @@ dependencies = [
|
|||||||
"zeroize",
|
"zeroize",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "crypto"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa#39bf26756448dd16ddff89a6c0054f79236494aa"
|
||||||
|
dependencies = [
|
||||||
|
"ed25519-dalek",
|
||||||
|
"generic-array 1.3.5",
|
||||||
|
"hkdf",
|
||||||
|
"rand_core 0.6.4",
|
||||||
|
"sha2",
|
||||||
|
"thiserror",
|
||||||
|
"x25519-dalek",
|
||||||
|
"xeddsa",
|
||||||
|
"zeroize",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "crypto-bigint"
|
name = "crypto-bigint"
|
||||||
version = "0.5.5"
|
version = "0.5.5"
|
||||||
@ -725,18 +763,35 @@ version = "0.0.1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"blake2",
|
"blake2",
|
||||||
"chacha20poly1305",
|
"chacha20poly1305",
|
||||||
"chat-sqlite",
|
"chat-sqlite 0.1.0",
|
||||||
"hkdf",
|
"hkdf",
|
||||||
"rand 0.9.4",
|
"rand 0.9.4",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"serde",
|
"serde",
|
||||||
"storage",
|
"storage 0.1.0",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"x25519-dalek",
|
"x25519-dalek",
|
||||||
"zeroize",
|
"zeroize",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "double-ratchets"
|
||||||
|
version = "0.0.1"
|
||||||
|
source = "git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa#39bf26756448dd16ddff89a6c0054f79236494aa"
|
||||||
|
dependencies = [
|
||||||
|
"blake2",
|
||||||
|
"chacha20poly1305",
|
||||||
|
"hkdf",
|
||||||
|
"rand 0.9.4",
|
||||||
|
"rand_core 0.6.4",
|
||||||
|
"serde",
|
||||||
|
"storage 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"thiserror",
|
||||||
|
"x25519-dalek",
|
||||||
|
"zeroize",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ecdsa"
|
name = "ecdsa"
|
||||||
version = "0.16.9"
|
version = "0.16.9"
|
||||||
@ -1328,10 +1383,10 @@ dependencies = [
|
|||||||
name = "integration_tests_core"
|
name = "integration_tests_core"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chat-sqlite",
|
"chat-sqlite 0.1.0",
|
||||||
"components",
|
"components",
|
||||||
"libchat",
|
"libchat 0.1.0",
|
||||||
"storage",
|
"storage 0.1.0",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -1419,10 +1474,10 @@ dependencies = [
|
|||||||
"base64",
|
"base64",
|
||||||
"blake2",
|
"blake2",
|
||||||
"chat-proto",
|
"chat-proto",
|
||||||
"chat-sqlite",
|
"chat-sqlite 0.1.0",
|
||||||
"components",
|
"components",
|
||||||
"crypto",
|
"crypto 0.1.0",
|
||||||
"double-ratchets",
|
"double-ratchets 0.0.1",
|
||||||
"hex",
|
"hex",
|
||||||
"openmls",
|
"openmls",
|
||||||
"openmls_libcrux_crypto 0.3.1",
|
"openmls_libcrux_crypto 0.3.1",
|
||||||
@ -1430,12 +1485,34 @@ dependencies = [
|
|||||||
"prost",
|
"prost",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"safer-ffi",
|
"safer-ffi",
|
||||||
"storage",
|
"storage 0.1.0",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"x25519-dalek",
|
"x25519-dalek",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libchat"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa#39bf26756448dd16ddff89a6c0054f79236494aa"
|
||||||
|
dependencies = [
|
||||||
|
"base64",
|
||||||
|
"blake2",
|
||||||
|
"chat-proto",
|
||||||
|
"chat-sqlite 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"crypto 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"double-ratchets 0.0.1 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"hex",
|
||||||
|
"openmls",
|
||||||
|
"openmls_traits 0.5.0",
|
||||||
|
"prost",
|
||||||
|
"rand_core 0.6.4",
|
||||||
|
"safer-ffi",
|
||||||
|
"storage 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
|
"thiserror",
|
||||||
|
"x25519-dalek",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libcrux-aead"
|
name = "libcrux-aead"
|
||||||
version = "0.0.6"
|
version = "0.0.6"
|
||||||
@ -2919,7 +2996,16 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|||||||
name = "storage"
|
name = "storage"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crypto",
|
"crypto 0.1.0",
|
||||||
|
"thiserror",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "storage"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa#39bf26756448dd16ddff89a6c0054f79236494aa"
|
||||||
|
dependencies = [
|
||||||
|
"crypto 0.1.0 (git+https://github.com/logos-messaging/libchat?rev=39bf26756448dd16ddff89a6c0054f79236494aa)",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,8 @@ name = "chat-cli"
|
|||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
client = { path = "../../crates/client" }
|
# Reference a specific commit so updates to the Core does not break examples
|
||||||
|
client = { git = "https://github.com/logos-messaging/libchat", rev = "39bf26756448dd16ddff89a6c0054f79236494aa" }
|
||||||
|
|
||||||
ratatui = "0.29"
|
ratatui = "0.29"
|
||||||
crossterm = "0.29"
|
crossterm = "0.29"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user