Skip to content

Commit

Permalink
Remove protobuf commands from CLI (#1431)
Browse files Browse the repository at this point in the history
Signed-off-by: John Kastner <[email protected]>
  • Loading branch information
john-h-kastner-aws authored Jan 17, 2025
1 parent ab8aef0 commit cfb0cb7
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 890 deletions.
4 changes: 0 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions cedar-policy-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,20 @@ repository.workspace = true
[dependencies]
cedar-policy = { version = "=4.3.0", path = "../cedar-policy" }
cedar-policy-formatter = { version = "=4.3.0", path = "../cedar-policy-formatter" }
cedar-policy-core = { version = "=4.3.0", path = "../cedar-policy-core" }
cedar-policy-validator = { version = "=4.3.0", path = "../cedar-policy-validator" }
clap = { version = "4", features = ["derive", "env"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
miette = { version = "7.4.0", features = ["fancy"] }
thiserror = "2.0"
semver = "1.0.24"
prost = {version = "0.13", optional = true}

[build-dependencies]
prost-build = {version = "0.13", optional = true}

[features]
default = []
experimental = ["permissive-validate", "partial-validate", "partial-eval", "protobufs", "datetime"]
experimental = ["permissive-validate", "partial-validate", "partial-eval", "datetime"]
permissive-validate = ["cedar-policy/permissive-validate"]
partial-validate = ["cedar-policy/partial-validate"]
partial-eval = ["cedar-policy/partial-eval"]
datetime = ["cedar-policy/datetime"]
protobufs = ["dep:prost", "dep:prost-build", "cedar-policy/protobufs", "cedar-policy-core/protobufs", "cedar-policy-validator/protobufs"]

[dev-dependencies]
assert_cmd = "2.0"
Expand Down
20 changes: 0 additions & 20 deletions cedar-policy-cli/build.rs

This file was deleted.

322 changes: 0 additions & 322 deletions cedar-policy-cli/protobuf_schema/AST.proto

This file was deleted.

Loading

0 comments on commit cfb0cb7

Please sign in to comment.