diff --git a/Cargo.lock b/Cargo.lock index 23e3f38..bcdb99d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -488,6 +488,23 @@ version = "0.2.180" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" +[[package]] +name = "libchat" +version = "0.1.0" +dependencies = [ + "base64", + "blake2", + "chat-proto", + "crypto", + "double-ratchets", + "hex", + "prost", + "rand_core", + "safer-ffi", + "thiserror", + "x25519-dalek", +] + [[package]] name = "libsqlite3-sys" version = "0.33.0" @@ -506,23 +523,6 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" -[[package]] -name = "logos-chat" -version = "0.1.0" -dependencies = [ - "base64", - "blake2", - "chat-proto", - "crypto", - "double-ratchets", - "hex", - "prost", - "rand_core", - "safer-ffi", - "thiserror", - "x25519-dalek", -] - [[package]] name = "macro_rules_attribute" version = "0.1.3" diff --git a/conversations/Cargo.toml b/conversations/Cargo.toml index d78e6bb..6503920 100644 --- a/conversations/Cargo.toml +++ b/conversations/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "logos-chat" +name = "libchat" version = "0.1.0" edition = "2024" diff --git a/nim-bindings/src/bindings.nim b/nim-bindings/src/bindings.nim index cb64247..0946689 100644 --- a/nim-bindings/src/bindings.nim +++ b/nim-bindings/src/bindings.nim @@ -6,13 +6,13 @@ import std/[os] # Can be overridden at compile time with -d:CONVERSATIONS_LIB:"path/to/lib" # Or at runtime via LIBCHAT_LIB environment variable when defined(macosx): - const DEFAULT_LIB_NAME = "liblogos_chat.dylib" + const DEFAULT_LIB_NAME = "liblibchat.dylib" elif defined(linux): - const DEFAULT_LIB_NAME = "liblogos_chat.so" + const DEFAULT_LIB_NAME = "liblibchat.so" elif defined(windows): - const DEFAULT_LIB_NAME = "logos_chat.dll" + const DEFAULT_LIB_NAME = "libchat.dll" else: - const DEFAULT_LIB_NAME = "logos_chat" + const DEFAULT_LIB_NAME = "libchat" # Try to find the library relative to the source file location at compile time const