[package]
edition = "2024"
rust-version = "1.91"
name = "blindplane-access"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Signed enterprise access grants, capability policies, revocation and encrypted audit events for Blindplane"
homepage = "https://github.com/sergii-ziborov/blindplane"
readme = "README.md"
keywords = [
"cryptography",
"access-control",
"authorization",
"audit",
"zero-knowledge",
]
categories = [
"cryptography",
"authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sergii-ziborov/blindplane"
[features]
client = [
"dep:blindplane-core",
"dep:blindplane-wire",
]
default = ["client"]
[lib]
name = "blindplane_access"
path = "src/lib.rs"
[[example]]
name = "enterprise_access"
path = "examples/enterprise_access.rs"
[[test]]
name = "access_flow"
path = "tests/access_flow.rs"
[[test]]
name = "grant_revocation"
path = "tests/grant_revocation.rs"
[[test]]
name = "policy"
path = "tests/policy.rs"
[[test]]
name = "principal_codec"
path = "tests/principal_codec.rs"
[dependencies.blindplane-core]
version = "0.1.0"
optional = true
[dependencies.blindplane-crypto]
version = "0.1.0"
[dependencies.blindplane-wire]
version = "0.1.0"
optional = true
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
decimal_literal_representation = "allow"
doc_markdown = "allow"
format_collect = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
unreadable_literal = "allow"
verbose_bit_mask = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"