[package]
edition = "2024"
rust-version = "1.93"
name = "omnia-orm"
version = "0.30.0"
authors = ["Augentic"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Object-relational mapping helper, suitable for use with omnia-wasi-sql"
homepage = "https://augentic.io"
readme = "README.md"
keywords = [
"runtime",
"wasi",
"wasm",
"wasmtime",
"component-model",
]
categories = [
"wasm",
"web-programming",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/augentic/omnia"
[lib]
name = "omnia_orm"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "entity"
path = "tests/entity.rs"
[[test]]
name = "filter"
path = "tests/filter.rs"
[[test]]
name = "orm"
path = "tests/orm.rs"
[target.'cfg(target_arch = "wasm32")'.dependencies.anyhow]
version = "1.0.102"
[target.'cfg(target_arch = "wasm32")'.dependencies.chrono]
version = "0.4.44"
[target.'cfg(target_arch = "wasm32")'.dependencies.omnia-wasi-sql]
version = "0.30.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.sea-query]
version = "0.32.7"
features = [
"thread-safe",
"with-chrono",
]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.serde_json]
version = "1.0.149"
[target.'cfg(target_arch = "wasm32")'.dependencies.tracing]
version = "0.1.44"
[lints.clippy]
all = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
cargo = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
map_err_ignore = "warn"
nursery = "warn"
pedantic = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"
[lints.rust]
missing_docs = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"