mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-12 04:59:27 +00:00
Sort all Cargo.toml deps for less conflicts
This commit is contained in:
parent
df35abe19a
commit
8988fb0d26
23
Cargo.toml
23
Cargo.toml
@ -3,15 +3,15 @@
|
|||||||
resolver = "3"
|
resolver = "3"
|
||||||
|
|
||||||
members = [
|
members = [
|
||||||
"core/sqlite",
|
"bin/chat-cli",
|
||||||
"core/conversations",
|
"core/conversations",
|
||||||
"core/crypto",
|
"core/crypto",
|
||||||
"core/double-ratchets",
|
"core/double-ratchets",
|
||||||
"core/storage",
|
|
||||||
"core/integration_tests_core",
|
"core/integration_tests_core",
|
||||||
"crates/client",
|
"core/sqlite",
|
||||||
|
"core/storage",
|
||||||
"crates/client-ffi",
|
"crates/client-ffi",
|
||||||
"bin/chat-cli",
|
"crates/client",
|
||||||
"extensions/components",
|
"extensions/components",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -27,12 +27,15 @@ default-members = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
blake2 = "0.10"
|
# Internal Workspace dependency declarations (sorted)
|
||||||
crypto = { path = "core/crypto" }
|
crypto = { path = "core/crypto" }
|
||||||
libchat = { path = "core/conversations" }
|
libchat = { path = "core/conversations" }
|
||||||
logoschat_components = {package="components", path ="extensions/components"}
|
logoschat_components = {package = "components", path = "extensions/components"}
|
||||||
sqlite = { path = "core/sqlite"}
|
sqlite = { path = "core/sqlite" }
|
||||||
storage = { path = "core/storage" }
|
storage = { path = "core/storage" }
|
||||||
|
|
||||||
|
# External Workspace dependency declarations (sorted)
|
||||||
|
blake2 = "0.10"
|
||||||
|
|
||||||
# Panicking across FFI boundaries is UB; abort is the correct strategy for a
|
# Panicking across FFI boundaries is UB; abort is the correct strategy for a
|
||||||
# C FFI library.
|
# C FFI library.
|
||||||
|
|||||||
@ -8,17 +8,17 @@ name = "chat-cli"
|
|||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Reference a specific commit so updates to the Core does not break examples
|
# External dependencies (sorted)
|
||||||
client = { git = "https://github.com/logos-messaging/libchat", rev = "39bf26756448dd16ddff89a6c0054f79236494aa" }
|
|
||||||
|
|
||||||
ratatui = "0.29"
|
|
||||||
crossterm = "0.29"
|
|
||||||
clap = { version = "4", features = ["derive"] }
|
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
|
||||||
serde_json = "1.0"
|
|
||||||
arboard = "3"
|
arboard = "3"
|
||||||
base64 = "0.22"
|
base64 = "0.22"
|
||||||
|
clap = { version = "4", features = ["derive"] }
|
||||||
|
# Reference a specific commit so updates to the Core does not break examples
|
||||||
|
client = { git = "https://github.com/logos-messaging/libchat", rev = "39bf26756448dd16ddff89a6c0054f79236494aa" }
|
||||||
|
crossterm = "0.29"
|
||||||
|
ratatui = "0.29"
|
||||||
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
serde_json = "1.0"
|
||||||
thiserror = "2"
|
thiserror = "2"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||||
|
|||||||
@ -7,23 +7,27 @@ edition = "2024"
|
|||||||
crate-type = ["rlib","staticlib"]
|
crate-type = ["rlib","staticlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# Workspace dependencies (sorted)
|
||||||
|
blake2 = { workspace = true }
|
||||||
|
|
||||||
|
# External dependencies (sorted)
|
||||||
base64 = "0.22"
|
base64 = "0.22"
|
||||||
sqlite = { package = "chat-sqlite", path = "../sqlite" }
|
|
||||||
blake2.workspace = true
|
|
||||||
chat-proto = { git = "https://github.com/logos-messaging/chat_proto" }
|
chat-proto = { git = "https://github.com/logos-messaging/chat_proto" }
|
||||||
crypto = { path = "../crypto" }
|
crypto = { path = "../crypto" }
|
||||||
double-ratchets = { path = "../double-ratchets" }
|
double-ratchets = { path = "../double-ratchets" }
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
prost = "0.14.1"
|
|
||||||
rand_core = { version = "0.6" }
|
|
||||||
safer-ffi = "0.1.13"
|
|
||||||
thiserror = "2.0.17"
|
|
||||||
x25519-dalek = { version = "2.0.1", features = ["static_secrets", "reusable_secrets", "getrandom"] }
|
|
||||||
storage = { path = "../storage" }
|
|
||||||
openmls = { version = "0.8.1", features = ["libcrux-provider"] }
|
openmls = { version = "0.8.1", features = ["libcrux-provider"] }
|
||||||
openmls_libcrux_crypto = "0.3.1"
|
openmls_libcrux_crypto = "0.3.1"
|
||||||
openmls_traits = "0.5.0"
|
openmls_traits = "0.5.0"
|
||||||
|
prost = "0.14.1"
|
||||||
|
rand_core = { version = "0.6" }
|
||||||
|
safer-ffi = "0.1.13"
|
||||||
|
sqlite = { package = "chat-sqlite", path = "../sqlite" }
|
||||||
|
storage = { path = "../storage" }
|
||||||
|
thiserror = "2.0.17"
|
||||||
|
x25519-dalek = { version = "2.0.1", features = ["static_secrets", "reusable_secrets", "getrandom"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
# External dependencies (sorted)
|
||||||
components = { package = "components", path = "../../extensions/components" }
|
components = { package = "components", path = "../../extensions/components" }
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|||||||
@ -4,12 +4,13 @@ version = "0.1.0"
|
|||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
x25519-dalek = { version = "2.0.1", features = ["static_secrets"] }
|
# External dependencies (sorted)
|
||||||
hkdf = "0.12"
|
|
||||||
sha2 = "0.10"
|
|
||||||
rand_core = { version = "0.6", features = ["getrandom"] }
|
|
||||||
ed25519-dalek = { version = "2.2.0", features = ["rand_core"] }
|
ed25519-dalek = { version = "2.2.0", features = ["rand_core"] }
|
||||||
xeddsa = "1.0.2"
|
|
||||||
zeroize = {version = "1.8.2", features= ["derive"]}
|
|
||||||
generic-array = "1.3.5"
|
generic-array = "1.3.5"
|
||||||
|
hkdf = "0.12"
|
||||||
|
rand_core = { version = "0.6", features = ["getrandom"] }
|
||||||
|
sha2 = "0.10"
|
||||||
thiserror = "2"
|
thiserror = "2"
|
||||||
|
x25519-dalek = { version = "2.0.1", features = ["static_secrets"] }
|
||||||
|
xeddsa = "1.0.2"
|
||||||
|
zeroize = { version = "1.8.2", features = ["derive"] }
|
||||||
|
|||||||
@ -7,17 +7,21 @@ edition = "2024"
|
|||||||
crate-type = ["rlib", "cdylib"]
|
crate-type = ["rlib", "cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
x25519-dalek = { version="2.0.1", features=["static_secrets"] }
|
# Workspace dependencies (sorted)
|
||||||
chacha20poly1305 = "0.10.1"
|
|
||||||
rand_core = "0.6.4"
|
|
||||||
rand = "0.9.3"
|
|
||||||
hkdf = "0.12.4"
|
|
||||||
thiserror = "2"
|
|
||||||
blake2 = "0.10.6"
|
|
||||||
zeroize = "1.8.2"
|
|
||||||
storage = { workspace = true }
|
storage = { workspace = true }
|
||||||
|
|
||||||
|
# External dependencies (sorted)
|
||||||
|
blake2 = "0.10.6"
|
||||||
|
chacha20poly1305 = "0.10.1"
|
||||||
|
hkdf = "0.12.4"
|
||||||
|
rand = "0.9.3"
|
||||||
|
rand_core = "0.6.4"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
|
thiserror = "2"
|
||||||
|
x25519-dalek = { version = "2.0.1", features = ["static_secrets"] }
|
||||||
|
zeroize = "1.8.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
# External dependencies (sorted)
|
||||||
sqlite = { package = "chat-sqlite", path = "../sqlite" }
|
sqlite = { package = "chat-sqlite", path = "../sqlite" }
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|||||||
@ -7,9 +7,11 @@ edition = "2024"
|
|||||||
# name = "integration_tests_core"
|
# name = "integration_tests_core"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
# Workspace dependencies (sorted)
|
||||||
libchat = { workspace = true }
|
libchat = { workspace = true }
|
||||||
storage = { workspace = true }
|
storage = { workspace = true }
|
||||||
sqlite = {package = "chat-sqlite", path ="../sqlite"}
|
|
||||||
|
|
||||||
|
# External dependencies (sorted)
|
||||||
components = { path = "../../extensions/components" }
|
components = { path = "../../extensions/components" }
|
||||||
|
sqlite = { package = "chat-sqlite", path = "../sqlite" }
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|||||||
@ -5,11 +5,13 @@ edition = "2024"
|
|||||||
description = "SQLite storage implementation for libchat"
|
description = "SQLite storage implementation for libchat"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# External dependencies (sorted)
|
||||||
crypto = { path = "../crypto" }
|
crypto = { path = "../crypto" }
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
|
rusqlite = { version = "0.35", features = ["bundled-sqlcipher-vendored-openssl"] }
|
||||||
storage = { path = "../storage" }
|
storage = { path = "../storage" }
|
||||||
zeroize = { version = "1.8.2", features = ["derive"] }
|
zeroize = { version = "1.8.2", features = ["derive"] }
|
||||||
rusqlite = { version = "0.35", features = ["bundled-sqlcipher-vendored-openssl"] }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
# External dependencies (sorted)
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|||||||
@ -5,5 +5,6 @@ edition = "2024"
|
|||||||
description = "Shared storage layer for libchat"
|
description = "Shared storage layer for libchat"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# External dependencies (sorted)
|
||||||
crypto = { path = "../crypto" }
|
crypto = { path = "../crypto" }
|
||||||
thiserror = "2"
|
thiserror = "2"
|
||||||
|
|||||||
@ -11,9 +11,12 @@ name = "generate-headers"
|
|||||||
required-features = ["headers"]
|
required-features = ["headers"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
safer-ffi = "0.1.13"
|
# Workspace dependencies (sorted)
|
||||||
client = { path = "../client" }
|
|
||||||
libchat = { workspace = true }
|
libchat = { workspace = true }
|
||||||
|
|
||||||
|
# External dependencies (sorted)
|
||||||
|
client = { path = "../client" }
|
||||||
|
safer-ffi = "0.1.13"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
headers = ["safer-ffi/headers"]
|
headers = ["safer-ffi/headers"]
|
||||||
|
|||||||
@ -7,10 +7,14 @@ edition = "2024"
|
|||||||
crate-type = ["rlib"]
|
crate-type = ["rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# Workspace dependencies (sorted)
|
||||||
libchat = { workspace = true }
|
libchat = { workspace = true }
|
||||||
logoschat_components = { workspace = true}
|
logoschat_components = { workspace = true}
|
||||||
|
|
||||||
|
# External dependencies (sorted)
|
||||||
chat-sqlite = { path = "../../core/sqlite" }
|
chat-sqlite = { path = "../../core/sqlite" }
|
||||||
thiserror = "2"
|
thiserror = "2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
# External dependencies (sorted)
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|||||||
@ -4,8 +4,10 @@ version = "0.1.0"
|
|||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# Workspace dependencies (sorted)
|
||||||
|
crypto = { workspace = true } # Needed because Storage traits require "Identity" struct
|
||||||
libchat = { workspace = true }
|
libchat = { workspace = true }
|
||||||
storage = { workspace = true }
|
storage = { workspace = true }
|
||||||
crypto = { workspace = true } # Needed because Storage traits require "Identity" struct
|
|
||||||
|
|
||||||
hex = "0.4.3"
|
# External dependencies (sorted)
|
||||||
|
hex = "0.4.3"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user