caretta-sync/Cargo.toml

64 lines
2 KiB
TOML
Raw Normal View History

2025-08-15 06:50:14 +09:00
[package]
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"]
bevy = ["dep:caretta-sync-bevy"]
mobile = ["dep:caretta-sync-mobile"]
2025-08-24 12:26:44 +09:00
cli = ["dep:caretta-sync-cli"]
desktop = ["cli", "bevy"]
2025-08-24 12:26:44 +09:00
macros = ["dep:caretta-sync-macros"]
test = ["caretta-sync-core/test"]
2025-08-15 06:50:14 +09:00
[dependencies]
caretta-sync-bevy = { path = "bevy", optional = true }
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]
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-08-26 07:56:42 +09:00
members = [ ".", "core", "macros", "cli", "mobile", "examples/*" , "bevy"]
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" }
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"] }
caretta-sync-core.path = "core"
futures = { version = "0.3.31", features = ["executor"] }
2025-06-04 07:13:37 +09:00
libp2p = { version = "0.55.0", features = ["macros", "mdns", "noise", "ping", "tcp", "tokio", "yamux" ] }
sea-orm = { version = "1.1.11", features = ["sqlx-sqlite", "runtime-tokio-native-tls", "macros", "with-chrono", "with-uuid"] }
2025-06-12 07:16:02 +09:00
sea-orm-migration = { version = "1.1.0", features = ["runtime-tokio-rustls", "sqlx-postgres"] }
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-08-12 07:29:23 +09:00
tonic = "0.14.0"
2025-06-17 07:20:24 +09:00
uuid = { version = "1.17.0", features = ["v7"] }
2025-08-15 06:50:14 +09:00
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
lto = "thin"