2025-08-15 06:50:14 +09:00
|
|
|
[package]
|
2025-08-24 12:08:01 +09:00
|
|
|
name = "caretta-sync"
|
2025-08-15 06:50:14 +09:00
|
|
|
edition.workspace = true
|
|
|
|
|
version.workspace = true
|
|
|
|
|
description.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
|
|
|
|
|
[features]
|
2025-08-24 12:26:44 +09:00
|
|
|
default = ["macros"]
|
2025-08-24 16:31:15 +09:00
|
|
|
bevy = ["dep:caretta-sync-bevy"]
|
2025-08-24 12:08:01 +09:00
|
|
|
mobile = ["dep:caretta-sync-mobile"]
|
2025-08-24 12:26:44 +09:00
|
|
|
cli = ["dep:caretta-sync-cli"]
|
2025-08-24 16:31:15 +09:00
|
|
|
desktop = ["cli", "bevy"]
|
2025-08-24 12:26:44 +09:00
|
|
|
macros = ["dep:caretta-sync-macros"]
|
2025-08-24 12:08:01 +09:00
|
|
|
test = ["caretta-sync-core/test"]
|
2025-08-15 06:50:14 +09:00
|
|
|
|
|
|
|
|
[dependencies]
|
2025-08-24 16:31:15 +09:00
|
|
|
caretta-sync-bevy = { path = "bevy", optional = true }
|
2025-08-24 12:08:01 +09:00
|
|
|
caretta-sync-core.workspace = true
|
|
|
|
|
caretta-sync-cli = { path="cli", optional = true }
|
|
|
|
|
caretta-sync-mobile = { path = "mobile", optional = true }
|
|
|
|
|
caretta-sync-macros = { path="macros", optional = true}
|
2025-08-15 06:50:14 +09:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2025-08-24 12:08:01 +09:00
|
|
|
caretta-sync-core = {workspace = true, features = ["test"]}
|
2025-08-15 06:50:14 +09:00
|
|
|
|
2025-05-23 08:50:31 +09:00
|
|
|
[workspace]
|
2025-09-23 22:20:18 +09:00
|
|
|
members = [ ".", "core", "macros", "cli", "mobile", "examples/*" , "bevy", "tripod-id"]
|
2025-06-12 07:16:02 +09:00
|
|
|
resolver = "3"
|
2025-05-23 08:50:31 +09:00
|
|
|
|
|
|
|
|
[workspace.package]
|
|
|
|
|
edition = "2024"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "A local-first application framework for lazy person"
|
|
|
|
|
license = "MIT OR Apache-2.0"
|
2025-06-12 07:16:02 +09:00
|
|
|
repository = "https://forgejo.fireturlte.net/lazy-supplements"
|
2025-05-23 08:50:31 +09:00
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2025-08-27 08:19:28 +09:00
|
|
|
bevy = { git = "https://github.com/bevyengine/bevy.git", rev="16ffdaea0daec11e4347d965f56c9c8e1122a488" }
|
2025-09-23 22:20:18 +09:00
|
|
|
tripod-id = {path="./tripod-id", features=["prost", "rusqlite", "serde"]}
|
2025-06-27 08:42:45 +09:00
|
|
|
chrono = "0.4.41"
|
2025-06-17 07:20:24 +09:00
|
|
|
ciborium = "0.2.2"
|
2025-06-18 08:36:01 +09:00
|
|
|
clap = { version = "4.5.38", features = ["derive"] }
|
2025-08-24 12:08:01 +09:00
|
|
|
caretta-sync-core.path = "core"
|
2025-08-24 16:31:15 +09:00
|
|
|
futures = { version = "0.3.31", features = ["executor"] }
|
2025-09-12 09:27:14 +09:00
|
|
|
rand = "0.8.5"
|
2025-09-15 17:05:30 +09:00
|
|
|
rusqlite = "0.37.0"
|
2025-06-11 08:38:03 +09:00
|
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
|
|
|
thiserror = "2.0.12"
|
2025-06-13 22:32:16 +09:00
|
|
|
tokio = { version = "1.45.0", features = ["macros", "rt", "rt-multi-thread"] }
|
2025-09-05 06:22:36 +09:00
|
|
|
tokio-stream = "0.1.17"
|
2025-08-12 07:29:23 +09:00
|
|
|
tonic = "0.14.0"
|
2025-08-30 10:30:25 +09:00
|
|
|
url = { version = "2.5.7", features = ["serde"] }
|
2025-06-17 07:20:24 +09:00
|
|
|
uuid = { version = "1.17.0", features = ["v7"] }
|
2025-10-03 06:42:36 +09:00
|
|
|
iroh = { version = "0.92.0", features = ["discovery-local-network", "discovery-pkarr-dht"] }
|
2025-09-05 06:22:36 +09:00
|
|
|
prost = "0.14.1"
|
|
|
|
|
prost-types = "0.14.1"
|
|
|
|
|
tonic-prost-build = "0.14.0"
|
|
|
|
|
tonic-prost = "0.14.0"
|
2025-08-15 06:50:14 +09:00
|
|
|
|
2025-09-12 09:27:14 +09:00
|
|
|
|
2025-08-24 16:31:15 +09:00
|
|
|
[profile.dev]
|
|
|
|
|
opt-level = 1
|
|
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
lto = "thin"
|