feat: Import a library ([starknet::component]) inside another library ([starknet::component]) #4574
Open
1 of 2 tasks
Labels
enhancement
New feature or request
Feature Request
Describe the Feature Request
Import a library ([starknet::component]) inside another library ([starknet::component])
Describe Preferred Solution
It would be great if cairo supports importing library in another library. We can easily use other libraries as well.
Describe Alternatives
Related Code
use project::{interfaces::IFees, libraries::LibAsset::LibAsset as LibAssetComponent};
#[starknet::component]
mod LibFees {
use starknet::ContractAddress;
use super::LibAssetComponent;
}
Additional Context
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)
The text was updated successfully, but these errors were encountered: