[package]
edition = "2024"
rust-version = "1.85"
name = "amaters-sdk-rust"
version = "0.2.0"
authors = ["COOLJAPAN OU (Team KitaSan) <contact@cooljapan.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for AmateRS"
readme = "README.md"
keywords = [
"sdk",
"client",
"database",
]
categories = [
"api-bindings",
"database",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/amaters"
resolver = "2"
[features]
default = []
fhe = ["tfhe"]
serialization = [
"serde",
"oxicode",
]
[lib]
name = "amaters_sdk_rust"
path = "src/lib.rs"
[[example]]
name = "batch"
path = "examples/batch.rs"
[[example]]
name = "fhe_operations"
path = "examples/fhe_operations.rs"
[[example]]
name = "filter_query"
path = "examples/filter_query.rs"
[[example]]
name = "persistence"
path = "examples/persistence.rs"
[[example]]
name = "queries"
path = "examples/queries.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"
[dependencies.amaters-core]
version = "0.2.0"
[dependencies.amaters-net]
version = "0.2.0"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.blake3]
version = "1.8"
[dependencies.dashmap]
version = "6.1"
[dependencies.futures]
version = "0.3"
[dependencies.oxicode]
version = "0.2"
features = [
"alloc",
"serde",
]
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.prost]
version = "0.14"
[dependencies.rustls]
version = "0.23"
features = ["ring"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.tfhe]
version = "1.5"
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.50"
features = [
"full",
"full",
]
[dependencies.tokio-rustls]
version = "0.26"
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
features = [
"rt",
"time",
]
[dependencies.tonic]
version = "0.14"
features = [
"gzip",
"transport",
"tls-ring",
"tls-webpki-roots",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.23"
features = [
"v4",
"serde",
]
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio]
version = "1.50"
features = [
"full",
"full",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[lints.clippy]
expect_used = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
dead_code = "allow"
unsafe_op_in_unsafe_fn = "warn"
unused_imports = "allow"
unused_mut = "allow"
unused_variables = "allow"