-
Notifications
You must be signed in to change notification settings - Fork 22
refactor(crate): split library exports into lib.rs #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| pub mod aws_ec2; | ||
| pub mod aws_ecs; | ||
| pub mod aws_eks; | ||
| pub mod aws_paas; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1 @@ | ||
| pub mod aws_dynamodb; | ||
| pub mod aws_nosqlindexed; | ||
| pub mod aws_rbmds; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| pub mod gcp_apis; | ||
| // pub m | ||
| pub mod types; | ||
| pub mod types; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| pub mod aws; | ||
| pub mod azure; | ||
| pub mod digiocean; | ||
| pub mod errors; | ||
| pub mod gcp; | ||
| pub mod traits; | ||
| pub mod types; | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| #[cfg(test)] | ||
| mod tests; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tests use |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,97 +1,3 @@ | ||
| mod tests; | ||
| pub mod errors; | ||
| pub mod types { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All sub-module declarations removed but the |
||
| pub mod llm; | ||
| } | ||
| pub mod traits { | ||
| pub mod llm_provider; | ||
| pub mod token_provider; | ||
| } | ||
| pub mod azure{ | ||
| pub mod azure_apis{ | ||
| pub mod auth{ | ||
| pub mod azure_auth; | ||
| } | ||
| pub mod storage{ | ||
| pub mod azure_blob; | ||
| } | ||
| } | ||
| } | ||
| pub mod aws { | ||
| pub mod aws_apis { | ||
| pub mod compute { | ||
| pub mod aws_ec2; | ||
| pub mod aws_ecs; | ||
| pub mod aws_eks; | ||
| } | ||
| pub mod database { | ||
| pub mod aws_dynamodb; | ||
| } | ||
| pub mod management { | ||
| pub mod aws_monitoring; | ||
| } | ||
| pub mod network { | ||
| pub mod aws_dns; | ||
| pub mod aws_loadbalancer; | ||
| } | ||
| pub mod security { | ||
| pub mod aws_iam; | ||
| pub mod aws_keymanagement; | ||
| } | ||
| pub mod storage { | ||
| pub mod aws_archival_storage; | ||
| pub mod aws_block_storage; | ||
| pub mod aws_storage_bucket; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| pub mod gcp { | ||
| pub mod gcp_apis { | ||
| pub mod app_services { | ||
| pub mod gcp_notification_service; | ||
| } | ||
| pub mod artificial_intelligence { | ||
| pub mod gcp_automl; | ||
| } | ||
| pub mod compute { | ||
| pub mod gcp_compute_engine; | ||
| pub mod gcp_kubernetes; | ||
| } | ||
| pub mod database { | ||
| pub mod gcp_bigtable; | ||
| pub mod gcp_bigquery; | ||
| } | ||
| pub mod network { | ||
| pub mod gcp_dns; | ||
| pub mod gcp_loadbalancer; | ||
| } | ||
| pub mod storage { | ||
| pub mod gcp_storage; | ||
| } | ||
| pub mod auth { | ||
| pub mod gcp_auth; | ||
| } | ||
| } | ||
| pub mod types; | ||
| } | ||
|
|
||
| pub mod digiocean { | ||
| pub mod digiocean_apis { | ||
| pub mod compute { | ||
| pub mod digiocean_droplet; | ||
| } | ||
| pub mod dns { | ||
| pub mod digiocean_dns; | ||
| } | ||
| pub mod network { | ||
| pub mod digiocean_loadbalancer; | ||
| } | ||
| pub mod storage { | ||
| pub mod digiocean_storage; | ||
| } | ||
| } | ||
| } | ||
| fn main() { | ||
| println!("Hello, world!"); | ||
| println!("RustCloud library crate"); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| pub mod llm_provider; | ||
| pub mod token_provider; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pub mod awsalone won't resolve nested paths likeaws::aws_apis::compute::aws_ec2. Needsrc/aws/mod.rsandsrc/aws/aws_apis/mod.rsdeclaring all sub-modules, otherwise this won't compile.