docs.rs failed to build scuffle-cedar-policy-codegen-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
scuffle-cedar-policy-codegen
[!WARNING] This crate is under active development and may not be stable.
Cedar is a policy language used to express permisisons using a relationship model.
This crate extends the cedar-policy
crate by adding code generator for cedar schemas.
You can then use this in combo with cedar to have type-safe schema evaluation.
Example
let schema = read_to_string.expect;
let config = default
.generate_from_schema
.expect;
let output = from.join;
write.expect;
License
This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.
SPDX-License-Identifier: MIT OR Apache-2.0