[package] name = "shared-entity" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1.0.79" serde = "1.0.195" serde_json.workspace = true serde_repr = "0.1.18" thiserror = "1.0.56" reqwest.workspace = true uuid = { version = "1.6.1", features = ["v4"] } gotrue-entity = { path = "../gotrue-entity" } database-entity.workspace = true collab-entity = { workspace = true } app-error = { workspace = true } chrono = "0.4.31" appflowy-ai-client = { workspace = true, features = ["dto"] } actix-web = { version = "4.4.1", default-features = false, features = ["http2"], optional = true } validator = { version = "0.16", features = ["validator_derive", "derive"], optional = true } rust-s3 = { version = "0.34.0-rc4", optional = true } [features] cloud = ["actix-web", "validator", "rust-s3"]