Cargo.toml raw

[package]
name = "struct-patch"
version = "0.1.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["with-serde", "with-sqlx"]
with-serde = ["struct-patch-derive/with-serde", "serde"]
with-sqlx = ["struct-patch-derive/with-sqlx", "sqlx"]

[dependencies]
struct-patch-derive = { path = "struct-patch-derive", version = "0.1.0" }
serde = { version = "1.0.127", features = ["derive"], optional = true }
sqlx = {version = "0.5.5", features = ["macros"], optional = true }
thiserror = "1.0.26"

[workspace]