mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-03-27 06:33:08 +00:00
Update crate name (#59)
This commit is contained in:
parent
eb941387df
commit
960bb195a1
34
Cargo.lock
generated
34
Cargo.lock
generated
@ -488,6 +488,23 @@ version = "0.2.180"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
|
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]]
|
[[package]]
|
||||||
name = "libsqlite3-sys"
|
name = "libsqlite3-sys"
|
||||||
version = "0.33.0"
|
version = "0.33.0"
|
||||||
@ -506,23 +523,6 @@ version = "0.11.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
|
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]]
|
[[package]]
|
||||||
name = "macro_rules_attribute"
|
name = "macro_rules_attribute"
|
||||||
version = "0.1.3"
|
version = "0.1.3"
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "logos-chat"
|
name = "libchat"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
|
|||||||
@ -6,13 +6,13 @@ import std/[os]
|
|||||||
# Can be overridden at compile time with -d:CONVERSATIONS_LIB:"path/to/lib"
|
# Can be overridden at compile time with -d:CONVERSATIONS_LIB:"path/to/lib"
|
||||||
# Or at runtime via LIBCHAT_LIB environment variable
|
# Or at runtime via LIBCHAT_LIB environment variable
|
||||||
when defined(macosx):
|
when defined(macosx):
|
||||||
const DEFAULT_LIB_NAME = "liblogos_chat.dylib"
|
const DEFAULT_LIB_NAME = "liblibchat.dylib"
|
||||||
elif defined(linux):
|
elif defined(linux):
|
||||||
const DEFAULT_LIB_NAME = "liblogos_chat.so"
|
const DEFAULT_LIB_NAME = "liblibchat.so"
|
||||||
elif defined(windows):
|
elif defined(windows):
|
||||||
const DEFAULT_LIB_NAME = "logos_chat.dll"
|
const DEFAULT_LIB_NAME = "libchat.dll"
|
||||||
else:
|
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
|
# Try to find the library relative to the source file location at compile time
|
||||||
const
|
const
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user