Go to file
Lukas Wagner 69d2eb953d notify: add wrapper for get_referenced_entities
The function returns all other entities referenced by a filter/target.
This is useful for permission checks, where the user must have the
appropriate permissions for all entities.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-07-24 11:17:45 +02:00
common log: set default log level to 'info', add product specific logging env var 2023-06-05 09:25:05 +02:00
pmg-rs buildsys: both: check crate vs debian version 2023-07-05 13:50:17 +02:00
pve-rs notify: add wrapper for get_referenced_entities 2023-07-24 11:17:45 +02:00
.gitignore fixup .gitignore 2022-03-01 11:46:49 +01:00
Makefile undo rust workspace change in preparation for .dsc builds 2023-05-17 11:02:00 +02:00
README.md Add some dev tips to a README 2021-11-09 12:02:53 +01:00
rustfmt.toml import basic skeleton 2021-11-09 08:54:06 +01:00

Hints for development:

With the current perlmod, the .pm files don't actually change anymore, since the exported method setup is now handled by the bootstrap rust-function generated by perlmod, so for quicker debugging, you can just keep the installed .pm files from the package and simply link the library to the debug one like so:

NOTE: You may need to adapt the perl version number in this path:

# ln -sf $PWD/target/debug/libpve_rs.so /usr/lib/x86_64-linux-gnu/perl5/5.32/auto/libpve_rs.so

Then just restart pvedaemon/pveproxy after running make pve.