As discussed in #220, this PR adds an optional export_keys boolean param to the native_db macro which allows for table keys to be made public and thus externally accessible from the crate.
I have left a TODO in tests/macro_def/export_keys_attribute.rs:5 to note that this functionality can't be fully tested without somehow testing from an external crate. I could just remove that TODO if you're happy with how it is, not sure what your thoughts on the matter are.
As discussed in #220, this PR adds an optional
export_keys
boolean param to thenative_db
macro which allows for table keys to be made public and thus externally accessible from the crate.I have left a TODO in
tests/macro_def/export_keys_attribute.rs:5
to note that this functionality can't be fully tested without somehow testing from an external crate. I could just remove that TODO if you're happy with how it is, not sure what your thoughts on the matter are.