No. This should not be done like that. Module attributes are compile-time only.
The only way I can see you can do it is using hot code reloading. But it probably is too much hassle to do so in your case.
No. This should not be done like that. Module attributes are compile-time only.
The only way I can see you can do it is using hot code reloading. But it probably is too much hassle to do so in your case.