oxgraph-csr 0.3.0

Borrowed CSR graph views implementing oxgraph-graph traits.
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-csr"
version = "0.3.0"
authors = ["oxgraph contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Borrowed CSR graph views implementing oxgraph-graph traits."
readme = "README.md"
keywords = [
    "graph",
    "topology",
    "zero-copy",
]
categories = ["data-structures"]
license = "MIT"
repository = "https://github.com/oxgraph/oxgraph"

[features]
build = ["oxgraph-snapshot/alloc"]
build-property-arrow = [
    "build",
    "dep:oxgraph-property",
]
default = []

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

[[example]]
name = "csr_directed"
path = "examples/csr_directed.rs"

[[example]]
name = "open_snapshot"
path = "examples/open_snapshot.rs"

[[test]]
name = "build_proptest"
path = "tests/build_proptest.rs"
required-features = ["build-property-arrow"]

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

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

[[bench]]
name = "builder"
path = "benches/builder.rs"
harness = false
required-features = ["build"]

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

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

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

[dependencies.oxgraph-layout-util]
version = "0.3.0"

[dependencies.oxgraph-property]
version = "0.3.0"
optional = true

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

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

[dev-dependencies.arrow-array]
version = "58.3.0"

[dev-dependencies.arrow-schema]
version = "58.2.0"

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

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

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

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

[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)"]