crates/nornir-identity-directory/Cargo.toml
[package]
name = "nornir-identity-directory"
version = "0.1.3" # RA5-34 the SCIM flood guard keys by ClientKey; 0.1.2 RA5-6 Scope::parse fails closed: Result, only "read" / "read-write" (no consumer called the old one)
edition = "2021"
authors = ["Ignalina ApS"]
description = "The directory for the nordisk servers, one copy for every product (A34 M-6): how a directory user name (NFKC, no mixed scripts) and an e-mail domain are compared, the principal ids a new employee may take, the CSV import planned whole and applied in one write, and SCIM 2.0 Users/Groups with bearer expiry, scope and a refusal flood guard. Storage stays the product's; every feature is off by default."
license = "MIT OR Apache-2.0"
repository = "https://git.gunnar.rs/nordisk/edda"
keywords = ["directory", "scim", "csv", "identity"]
categories = ["authentication"]
[lib]
name = "nornir_identity_directory"
[features]
default = []
# `names` — user-name (NFKC, no mixed Latin/Greek/Cyrillic) and domain
# normalisation, and the principal ids a new employee may take.
names = ["dep:unicode-normalization"]
# `csv` — the CSV import parser (moved from gunnar-grpc sso/directory.rs), its
# one size limit, the export quoting, and the import plan applied in one write.
csv = ["names"]
# `scim` — SCIM 2.0 Users/Groups over the product's DirectoryStore (moved from
# gunnar-grpc sso/scim.rs), and the bearer's expiry, scope and flood guard.
scim = ["names", "dep:serde_json", "dep:nornir-auth-webauthn"]
[dependencies]
unicode-normalization = { version = "0.1.25", optional = true }
serde_json = { version = "1", optional = true }
# `scim`: the one client partition rule (`client-key`, no dependencies of its own; RA5-34).
nornir-auth-webauthn = { version = "0.2.3", path = "../nornir-auth-webauthn", default-features = false, features = ["client-key"], optional = true }