mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-06-28 03:59:27 +00:00
closes: #77 The C consumer story lives downstream now: logos-chat-module wraps the client crate and exposes its own C API. The in-tree client-ffi crate has no consumers left, and the nim bindings still target the removed Context-based C API. - delete crates/client-ffi (including the message-exchange C example) and nim-bindings - drop core/conversations' unused safer-ffi dependency plus the leftover C artifact crate-types: staticlib on core/conversations, cdylib on double-ratchets (neither crate has extern "C" exports) - flake.nix: drop the default package (it built libclient_ffi.a plus its header); keep the logos-delivery package and the dev shell - ci.yml: drop the C FFI smoketest steps (valgrind included), the rustup install the smoketest no longer needs, and the nix-build job that built the removed default package - ADR 0001: point the FFI-compatibility driver at the downstream C API boundary instead of crates/client-ffi
37 lines
1003 B
TOML
37 lines
1003 B
TOML
[package]
|
|
name = "libchat"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
crate-type = ["rlib"]
|
|
|
|
[dependencies]
|
|
# Workspace dependencies (sorted)
|
|
blake2 = { workspace = true }
|
|
chat-sqlite = { workspace = true }
|
|
crypto = { workspace = true }
|
|
shared-traits = { workspace = true }
|
|
storage = { workspace = true }
|
|
|
|
# External dependencies (sorted)
|
|
base64 = "0.22"
|
|
chat-proto = { git = "https://github.com/logos-messaging/chat_proto", rev = "37ec98a151f6d50aab2905802ac0a896477e62ea" }
|
|
double-ratchets = { path = "../double-ratchets" }
|
|
hex = "0.4.3"
|
|
openmls = { version = "0.8.1", features = ["libcrux-provider"] }
|
|
openmls_libcrux_crypto = "0.3.1"
|
|
openmls_memory_storage = "0.5.0"
|
|
openmls_traits = "0.5.0"
|
|
prost = "0.14.1"
|
|
rand_core = { version = "0.6" }
|
|
thiserror = "2.0.17"
|
|
x25519-dalek = { version = "2.0.1", features = ["static_secrets", "reusable_secrets", "getrandom"] }
|
|
|
|
[dev-dependencies]
|
|
# Workspace dependencies (sorted)
|
|
components = { workspace = true }
|
|
|
|
# External dependencies (sorted)
|
|
tempfile = "3"
|