cedar-policy / cedar-java

Java bindings for the Cedar language
https://www.cedarpolicy.com
Apache License 2.0
42 stars 19 forks source link

Mechanism to enable experimental features in Java API #234

Open cdisselkoen opened 2 weeks ago

cdisselkoen commented 2 weeks ago

Category

User level API changes

Describe the feature you'd like to request

Currently, there is no direct way to enable Cedar experimental features (Rust Cargo feature flags) in the Java releases. Users would have to recompile CedarJavaFFI themselves with the appropriate feature flags. Ideally we should have some way to do this without manually recompiling, ie, even for folks consuming from Maven. This probably means that all experimental features need to be built in to the Maven released binaries, and they must be simply gated somehow. We do want users to still have to explicitly opt-in to experimental features.

Describe alternatives you've considered

N/A

Additional context

No response

Is this something that you'd be interested in working on?