mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 04:36:24 +00:00
This is a follow up to #7945. The current behaviour reads the locale and infers from that which type of time format should be used (12 hour/24 hour). However, in macOS you can override this behaviour, e.g. you can use en_US locale but still use the 24 hour clock format (Can be customized under Settings > General > Date & Format > 24-hour time). You can even customize the date format. This PR uses the macOS specific `CFDateFormatter` API, which outputs time format strings, that respect those settings. Partially fixes #7956 (as its not implemented for linux) Release Notes: - Added localization support for all macOS specific date and time configurations in chat
80 lines
1.8 KiB
TOML
80 lines
1.8 KiB
TOML
[package]
|
|
name = "live_kit_client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Bindings to LiveKit Swift client SDK"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
path = "src/live_kit_client.rs"
|
|
doctest = false
|
|
|
|
[[example]]
|
|
name = "test_app"
|
|
|
|
[features]
|
|
test-support = [
|
|
"async-trait",
|
|
"collections/test-support",
|
|
"gpui/test-support",
|
|
"live_kit_server",
|
|
"nanoid",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-broadcast = "0.4"
|
|
async-trait = { workspace = true, optional = true }
|
|
collections = { workspace = true, optional = true }
|
|
futures.workspace = true
|
|
gpui = { workspace = true, optional = true }
|
|
live_kit_server = { workspace = true, optional = true }
|
|
log.workspace = true
|
|
media.workspace = true
|
|
nanoid = { version ="0.4", optional = true}
|
|
parking_lot.workspace = true
|
|
postage.workspace = true
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation.workspace = true
|
|
|
|
[target.'cfg(all(not(target_os = "macos")))'.dependencies]
|
|
async-trait = { workspace = true }
|
|
collections = { workspace = true }
|
|
gpui = { workspace = true }
|
|
live_kit_server.workspace = true
|
|
nanoid = "0.4"
|
|
|
|
[dev-dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
block = "0.1"
|
|
byteorder = "1.4"
|
|
bytes = "1.2"
|
|
collections = { workspace = true, features = ["test-support"] }
|
|
foreign-types = "0.3"
|
|
futures.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
hmac = "0.12"
|
|
jwt = "0.16"
|
|
live_kit_server.workspace = true
|
|
media.workspace = true
|
|
nanoid = "0.4"
|
|
parking_lot.workspace = true
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
sha2 = "0.10"
|
|
simplelog = "0.9"
|
|
|
|
[target.'cfg(target_os = "macos")'.dev-dependencies]
|
|
cocoa = "0.25"
|
|
core-foundation.workspace = true
|
|
core-graphics = "0.22.3"
|
|
foreign-types = "0.3"
|
|
objc = "0.2"
|
|
|
|
[build-dependencies]
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
serde_json.workspace = true
|