[package]
edition = "2024"
name = "oxgraph-hyper-bcsr"
version = "0.3.2"
authors = ["oxgraph contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Borrowed bipartite CSR hypergraph views implementing oxgraph-hyper 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_hyper_bcsr"
path = "src/lib.rs"
[[example]]
name = "bcsr_directed"
path = "examples/bcsr_directed.rs"
[[example]]
name = "open_bcsr_snapshot"
path = "examples/open_bcsr_snapshot.rs"
[[example]]
name = "yaml_to_hypergraph"
path = "examples/yaml_to_hypergraph.rs"
required-features = [
"build",
"build-property-arrow",
]
[[test]]
name = "bcsr"
path = "tests/bcsr.rs"
[[test]]
name = "build_proptest"
path = "tests/build_proptest.rs"
required-features = ["build-property-arrow"]
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "snapshot_section"
path = "tests/snapshot_section.rs"
[[test]]
name = "static_dispatch"
path = "tests/static_dispatch.rs"
[[bench]]
name = "bcsr"
path = "benches/bcsr.rs"
harness = false
[[bench]]
name = "builder"
path = "benches/builder.rs"
harness = false
required-features = ["build"]
[[bench]]
name = "snapshot"
path = "benches/snapshot.rs"
harness = false
[dependencies.oxgraph-hyper]
version = "0.3.2"
[dependencies.oxgraph-layout-util]
version = "0.3.2"
[dependencies.oxgraph-property]
version = "0.3.2"
optional = true
[dependencies.oxgraph-snapshot]
version = "0.3.2"
[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-property]
version = "0.3.2"
[dev-dependencies.oxgraph-snapshot]
version = "0.3.2"
features = ["alloc"]
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.saphyr-parser]
version = "0.0.6"
[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)"]