2025-05-23 08:50:31 +09:00
|
|
|
[package]
|
2025-08-05 08:17:35 +09:00
|
|
|
name = "caretta-core"
|
2025-05-23 08:50:31 +09:00
|
|
|
edition.workspace = true
|
|
|
|
version.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
|
2025-06-11 08:38:03 +09:00
|
|
|
[features]
|
|
|
|
default = []
|
2025-06-27 08:42:45 +09:00
|
|
|
desktop = ["dep:clap", "macros"]
|
|
|
|
mobile = ["macros"]
|
2025-08-05 08:17:35 +09:00
|
|
|
macros = ["dep:caretta-macros"]
|
2025-06-27 08:42:45 +09:00
|
|
|
test = ["dep:tempfile", "macros"]
|
2025-06-11 08:38:03 +09:00
|
|
|
|
2025-05-23 08:50:31 +09:00
|
|
|
[dependencies]
|
2025-06-11 08:38:03 +09:00
|
|
|
base64 = "0.22.1"
|
2025-08-16 11:47:04 +09:00
|
|
|
caretta-macros = { path = "macros", optional = true }
|
2025-06-27 08:42:45 +09:00
|
|
|
chrono.workspace = true
|
2025-06-11 08:38:03 +09:00
|
|
|
chrono-tz = "0.10.3"
|
2025-06-18 08:36:01 +09:00
|
|
|
ciborium.workspace = true
|
|
|
|
clap = {workspace = true, optional = true}
|
2025-08-16 11:47:04 +09:00
|
|
|
dirs = "6.0.0"
|
2025-06-11 08:38:03 +09:00
|
|
|
futures = "0.3.31"
|
|
|
|
libp2p.workspace = true
|
2025-06-26 08:14:27 +09:00
|
|
|
libp2p-core = { version = "0.43.0", features = ["serde"] }
|
|
|
|
libp2p-identity = { version = "0.2.11", features = ["ed25519", "peerid", "rand", "serde"] }
|
2025-08-12 07:29:23 +09:00
|
|
|
prost = "0.14.1"
|
2025-06-27 08:42:45 +09:00
|
|
|
sea-orm.workspace = true
|
2025-06-11 08:38:03 +09:00
|
|
|
sea-orm-migration.workspace = true
|
|
|
|
serde.workspace = true
|
|
|
|
tempfile = { version = "3.20.0", optional = true }
|
|
|
|
thiserror.workspace = true
|
|
|
|
tokio.workspace = true
|
|
|
|
toml = "0.8.22"
|
2025-08-12 07:29:23 +09:00
|
|
|
tonic.workspace = true
|
|
|
|
tonic-prost = "0.14.0"
|
2025-06-11 08:38:03 +09:00
|
|
|
tracing = "0.1.41"
|
|
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
2025-06-17 07:20:24 +09:00
|
|
|
uuid.workspace = true
|
2025-08-12 07:29:23 +09:00
|
|
|
prost-types = "0.14.1"
|
2025-06-11 08:38:03 +09:00
|
|
|
|
2025-08-20 12:39:29 +09:00
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
|
|
|
jni = "0.21.1"
|
|
|
|
ndk = "0.9.0"
|
|
|
|
|
|
|
|
[target.'cfg(target_os="ios")'.dependencies]
|
|
|
|
objc = "0.2.7"
|
|
|
|
objc-foundation = "0.1.1"
|
|
|
|
objc_id = "0.1.1"
|
|
|
|
|
2025-06-11 08:38:03 +09:00
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3.20.0"
|
2025-08-12 07:29:23 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
tonic-prost-build = "0.14.0"
|