oxgraph-postgres 0.3.0

Postgres-backed OxGraph engine: catalog, build, artifact I/O, query, sync.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "oxgraph-postgres"
version = "0.3.0"
authors = ["oxgraph contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres-backed OxGraph engine: catalog, build, artifact I/O, query, sync."
readme = "README.md"
keywords = [
    "graph",
    "topology",
    "zero-copy",
]
categories = ["data-structures"]
license = "MIT"
repository = "https://github.com/oxgraph/oxgraph"

[features]
bench-fixture = ["std"]
default = ["std"]
serde = ["dep:serde"]
std = [
    "oxgraph-algo/alloc",
    "oxgraph-csr/build",
    "oxgraph-snapshot/alloc",
    "serde",
]

[lib]
name = "oxgraph_postgres"
path = "src/lib.rs"

[[test]]
name = "artifact_proptest"
path = "tests/artifact_proptest.rs"
required-features = ["std"]

[[test]]
name = "bench_profile"
path = "tests/bench_profile.rs"
required-features = [
    "std",
    "bench-fixture",
]

[[test]]
name = "boundary"
path = "tests/boundary.rs"

[[test]]
name = "catalog_proptest"
path = "tests/catalog_proptest.rs"
required-features = ["std"]

[[test]]
name = "e2e"
path = "tests/e2e.rs"
required-features = [
    "std",
    "bench-fixture",
]

[[test]]
name = "guc_behavior"
path = "tests/guc_behavior.rs"

[[test]]
name = "helpers"
path = "tests/helpers.rs"

[[test]]
name = "pin_contract"
path = "tests/pin_contract.rs"
required-features = ["std"]

[[test]]
name = "query"
path = "tests/query.rs"
required-features = ["std"]

[[test]]
name = "query_proptest"
path = "tests/query_proptest.rs"
required-features = ["std"]

[[test]]
name = "sync_proptest"
path = "tests/sync_proptest.rs"
required-features = ["std"]

[[test]]
name = "traverse"
path = "tests/traverse.rs"
required-features = ["std"]

[[test]]
name = "traverse_proptest"
path = "tests/traverse_proptest.rs"
required-features = ["std"]

[[bench]]
name = "compare_pggraph"
path = "benches/compare_pggraph/main.rs"
harness = false
required-features = ["bench-fixture"]

[[bench]]
name = "engine"
path = "benches/engine.rs"
harness = false

[dependencies.oxgraph-algo]
version = "0.3.0"
features = ["alloc"]
default-features = false

[dependencies.oxgraph-csc]
version = "0.3.0"

[dependencies.oxgraph-csr]
version = "0.3.0"
features = ["build"]

[dependencies.oxgraph-graph]
version = "0.3.0"

[dependencies.oxgraph-snapshot]
version = "0.3.0"
features = ["alloc"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.yoke]
version = "0.8.2"
features = ["derive"]

[dependencies.zerocopy]
version = "0.8.48"
features = ["derive"]
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"
features = [
    "cargo_bench_support",
    "html_reports",
    "plotters",
]
default-features = false

[dev-dependencies.oxgraph-csc]
version = "0.3.0"

[dev-dependencies.oxgraph-csr]
version = "0.3.0"
features = ["build"]

[dev-dependencies.proptest]
version = "1.11.0"

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
cognitive_complexity = "deny"
excessive_nesting = "deny"
expect_used = "deny"
missing_docs_in_private_items = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
type_complexity = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"

[lints.rust.rust_2024_compatibility]
level = "deny"
priority = -1

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(kani)"]