Update crate name (#59)

This commit is contained in:
Jazz Turner-Baggs 2026-02-21 22:24:10 -08:00 committed by GitHub
parent eb941387df
commit 960bb195a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 22 additions and 22 deletions

34
Cargo.lock generated
View File

@ -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"

View File

@ -1,5 +1,5 @@
[package]
name = "logos-chat"
name = "libchat"
version = "0.1.0"
edition = "2024"

View File

@ -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