[package]
edition = "2021"
rust-version = "1.75"
name = "sea-orm-spanner"
version = "0.1.0"
build = false
exclude = [
"AGENTS.md",
".github/",
".cargo/",
"Makefile",
"sea-orm-spanner-plan.md",
"examples/",
"releases/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Google Cloud Spanner backend for SeaORM"
readme = "README.md"
keywords = [
"spanner",
"sea-orm",
"orm",
"database",
"google-cloud",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jubilee-works/sea-orm-spanner"
[features]
default = [
"with-chrono",
"with-uuid",
"with-json",
"with-array",
"with-rust_decimal",
]
macros = ["sea-orm/macros"]
runtime-async-std-native-tls = ["sea-orm/runtime-async-std-native-tls"]
runtime-async-std-rustls = ["sea-orm/runtime-async-std-rustls"]
runtime-tokio-native-tls = ["sea-orm/runtime-tokio-native-tls"]
runtime-tokio-rustls = ["sea-orm/runtime-tokio-rustls"]
with-array = [
"sea-query-spanner/with-array",
"sea-orm/postgres-array",
]
with-chrono = [
"sea-query-spanner/with-chrono",
"sea-orm/with-chrono",
"chrono",
"time",
]
with-json = [
"sea-query-spanner/with-json",
"sea-orm/with-json",
"serde_json",
]
with-rust_decimal = [
"sea-query-spanner/with-rust_decimal",
"sea-orm/with-rust_decimal",
"rust_decimal",
]
with-uuid = [
"sea-query-spanner/with-uuid",
"sea-orm/with-uuid",
"uuid",
]
[lib]
name = "sea_orm_spanner"
path = "src/lib.rs"
[[test]]
name = "activerecord_tests"
path = "tests/activerecord_tests.rs"
[[test]]
name = "array_tests"
path = "tests/array_tests.rs"
[[test]]
name = "numeric_tests"
path = "tests/numeric_tests.rs"
[[test]]
name = "type_tests"
path = "tests/type_tests.rs"
[[test]]
name = "uuid_tests"
path = "tests/uuid_tests.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.13"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.gcloud-gax]
version = "1.3.2"
default-features = false
[dependencies.gcloud-googleapis]
version = "1.3.0"
features = ["spanner"]
[dependencies.gcloud-spanner]
version = "1.7.0"
[dependencies.prost-types]
version = "0.14"
[dependencies.rust_decimal]
version = "1"
features = ["serde"]
optional = true
[dependencies.rustls]
version = "0.23"
features = ["aws_lc_rs"]
[dependencies.sea-orm]
version = "2.0.0-rc.37"
features = ["proxy"]
default-features = false
[dependencies.sea-query]
version = "1.0.0-rc.31"
default-features = false
[dependencies.sea-query-spanner]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
optional = true
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tonic]
version = "0.14"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
optional = true
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.gcloud-googleapis]
version = "1.3.0"
features = ["spanner"]
[dev-dependencies.gcloud-spanner]
version = "1.7.0"
[dev-dependencies.rust_decimal]
version = "1"
features = ["serde"]
[dev-dependencies.rust_decimal_macros]
version = "1"
[dev-dependencies.sea-orm]
version = "2.0.0-rc.37"
features = [
"proxy",
"macros",
"with-chrono",
"with-uuid",
"with-json",
"with-rust_decimal",
"postgres-array",
"runtime-tokio-native-tls",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.serial_test]
version = "3.3.1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]