Commit fd3c4d6
committed
chore: Restructure the directory layout of the repository
1 parent bd366f4 commit fd3c4d6
File tree
1,651 files changed
+228
-281
lines changed- .cargo
- .config
- .github
- ci_generator
- src
- templates
- job_steps
- workflows
- compiler
- generate_from_path
- src
- template_variables
- pavex_bp_schema
- src
- pavex_cli_client
- src
- commands
- pavex_cli_deps
- src
- pavex_cli_diagnostic
- src
- pavex_cli_flock
- src
- pavex_cli_shell
- src
- pavex_cli
- src
- activation
- pavexc
- tests
- pavex_miette
- src
- pavex_test_runner
- src
- bin
- pavexc_attr_parser
- src
- atoms
- tests
- pavexc_cli_client
- src
- commands
- pavexc_cli
- src
- template
- .cargo
- .config
- .github/workflows
- app
- src
- bin
- routes
- configuration
- server_sdk
- src
- server
- src
- bin
- tests/integration
- workspace_hack
- src
- pavexc
- src
- compiler
- analyses
- application_state
- call_graph
- borrow_checker
- components
- db
- processing_pipeline
- user_components
- annotations
- snapshots
- codegen
- component
- computation
- diagnostic
- miette
- language
- rustdoc
- annotations
- compute
- persist_if_changed
- src
- ui_tests
- .cargo
- .config
- annotations
- annotated_constructor_works
- expectations
- src
- non_existing_dependency
- expectations
- src
- non_existing_module
- expectations
- src
- trait_methods_are_supported
- expectations
- src
- app_builder
- expectations
- src
- blueprint
- common
- async_callable_are_supported
- expectations
- src
- cannot_return_the_unit_type
- expectations
- src
- cannot_take_mutable_references_as_input
- expectations
- src
- cloning_if_necessary_requires_clone
- expectations
- src
- cloning_strategy_is_observed_for_singletons_and_state_inputs
- expectations
- src
- components_can_fail
- expectations
- src
- errors_fallback_on_the_fallback_error_handler
- expectations
- src
- output_type_must_implement_into_response
- expectations
- src
- config
- config_blueprint_overrides
- expectations
- src
- config_conflicts
- expectations
- src
- config_does_not_need_to_be_send_and_sync_if_only_used_at_build_time
- expectations
- src
- config_must_be_clone
- expectations
- src
- config_works
- ephemeral_deps/dep
- src
- expectations
- src
- invalid_config_attribute
- ephemeral_deps/dep
- src
- expectations
- src
- invalid_config_keys
- expectations
- src
- unused_config
- expectations
- src
- constructors
- a_warning_is_emitted_for_unused_constructors
- expectations
- src
- constructors_input_parameters_cannot_be_generic
- expectations
- src
- output_type_of_constructors_can_contain_generic_parameters
- expectations
- src
- output_type_of_constructors_cannot_be_a_naked_generic
- .atomicwritevn0J69
- expectations
- src
- singleton_naming
- ephemeral_deps/dep
- src
- expectations
- src
- static_references_are_valid_singletons
- expectations
- src
- the_latest_registered_constructor_takes_precedence
- ephemeral_deps/dep
- src
- expectations
- src
- the_same_constructor_can_be_registered_multiple_times_using_the_same_lifecycle
- expectations
- src
- trait_constraints_on_runtime_singletons
- expectations
- src
- unused_constructor_warning_can_be_ignored
- expectations
- src
- error_handlers
- cannot_register_an_error_handler_for_a_sync_infallible_constructor
- expectations
- src
- cannot_register_an_error_handler_for_an_async_infallible_constructor
- expectations
- src
- error_handlers_can_take_pavex_error_rather_than_specific_error_type
- expectations
- src
- error_handlers_cannot_be_fallible
- expectations
- src
- generics_in_error_handlers_must_be_tied_to_the_error
- expectations
- src
- error_observers
- error_observers_input_parameters_cannot_be_generic
- expectations
- src
- error_observers_must_return_the_unit_type
- expectations
- src
- error_observers_must_take_pavex_error_as_ref
- expectations
- src
- nesting
- application_state_should_include_runtime_singletons_from_all_scopes
- expectations
- src
- multiple_levels_of_nesting_are_supported
- expectations
- src
- nesting_fails_if_parent_singleton_is_overridden
- expectations
- src
- nesting_fails_if_the_same_singleton_constructor_is_registered_in_different_scopes
- expectations
- src
- nesting_hides_constructors_of_the_nested_bp_to_the_parent_bp
- expectations
- src
- post_processing_middlewares
- cannot_have_multiple_response_inputs
- expectations
- src
- finalizer_pattern
- expectations
- src
- must_take_response_as_input
- expectations
- src
- post_process_without_wrapping
- expectations
- src
- post_processing_can_fail
- expectations
- src
- post_processing_middlewares_input_parameters_cannot_be_generic
- expectations
- src
- pre_processing_middlewares
- pre_process_without_wrapping
- expectations
- src
- pre_processing_can_fail
- expectations
- src
- pre_processing_middlewares_input_parameters_cannot_be_generic
- expectations
- src
- prebuilts
- invalid_prebuilt
- expectations
- src
- prebuilt_does_not_need_to_be_send_and_sync_if_only_used_at_build_time
- expectations
- src
- prebuilt_works
- ephemeral_deps/dep
- src
- expectations
- src
- prebuilts_can_be_cloned
- expectations
- src
- unused_prebuilt
- expectations
- src
- router
- ambiguous_fallback
- expectations
- src
- conflicting_any_and_single_method_guards
- expectations
- src
- different_fallback_for_each_method
- expectations
- src
- domain_conflict
- expectations
- src
- domain_is_validated
- expectations
- src
- domain_routing
- expectations
- integration
- src
- tests
- src
- fallback_priority
- expectations
- integration
- src
- tests
- src
- http_method_routing_variants
- expectations
- src
- invalid_paths
- expectations
- src
- mixed_domain_and_agnostic_is_forbidden
- expectations
- src
- path_prefix_is_validated
- expectations
- src
- request_handlers_can_take_mut_references
- expectations
- src
- route_path_is_validated
- expectations
- src
- wrapping_middlewares
- cannot_have_multiple_next_inputs
- expectations
- src
- must_take_next_as_input
- expectations
- src
- next_must_take_a_naked_generic_parameter
- expectations
- src
- wrapping_can_fail
- expectations
- src
- wrapping_middlewares_input_parameters_cannot_be_generic
- expectations
- src
- borrow_checker
- across_middlewares
- type_is_cloned_if_consumed_by_wrap_but_needed_by_post
- expectations
- src
- type_is_not_cloned_if_consumed_by_wrap_but_needed_by_post
- expectations
- src
- cannot_borrow_cloneable_request_scoped_as_mut
- expectations
- src
- cannot_borrow_singletons_as_mut
- expectations
- src
- cannot_borrow_transients_as_mut
- expectations
- src
- control_flow
- multiple_consumers_pass_takes_control_flow_into_account_for_errors
- expectations
- src
- you_can_consume_a_non_cloneable_type_from_two_different_control_flow_branches
- expectations
- src
- diamond
- diamond_can_be_solved_if_type_is_copy
- expectations
- src
- diamond_can_be_solved_if_we_can_clone
- expectations
- src
- diamond_cannot_be_solved_if_we_cannot_clone
- expectations
- src
- mixed_mutability
- expectations
- src
- multiple_consumers
- a_cloneable_framework_type_can_be_moved_twice
- expectations
- src
- a_cloneable_input_type_can_be_moved_twice
- expectations
- src
- a_cloneable_type_can_be_moved_twice_when_building_app_state
- expectations
- src
- a_cloneable_type_can_be_moved_twice
- expectations
- src
- a_copy_type_can_be_moved_twice
- expectations
- src
- a_non_cloneable_framework_type_cannot_be_moved_twice
- expectations
- src
- a_non_cloneable_input_type_cannot_be_moved_twice
- expectations
- src
- a_non_cloneable_type_cannot_be_moved_twice_across_stages
- expectations
- src
- a_non_cloneable_type_cannot_be_moved_twice
- expectations
- src
- mutability
- expectations
- src
- transitive_borrows
- expectations
- src
- triangle
- triangle_can_be_solved_if_framework_type_is_cloneable
- expectations
- src
- triangle_can_be_solved_if_input_type_is_cloneable
- expectations
- src
- triangle_can_be_solved_if_type_is_cloneable
- expectations
- src
- triangle_can_be_solved_if_type_is_copy
- expectations
- src
- triangle_cannot_be_solved_if_framework_type_is_not_cloneable
- expectations
- src
- triangle_cannot_be_solved_if_input_type_is_not_cloneable
- expectations
- src
- triangle_cannot_be_solved_if_type_is_not_cloneable
- expectations
- src
- triangle_with_middleware_can_be_solved_if_type_is_cloneable
- expectations
- src
- connection_info
- connection_info_fallback_happy_path
- expectations
- integration
- src
- tests
- src
- connection_info_happy_path
- expectations
- integration
- src
- tests
- src
- dependency_injection
- clone_nodes_are_only_added_where_needed
- expectations
- src
- cycles
- cycle_across_a_match_statement
- expectations
- src
- request_scoped_cycles
- expectations
- src
- transient_cycles
- expectations
- src
- downstream_code_needs_both_owned_and_ref_to_same_type
- expectations
- src
- elided_lifetimes_are_handled
- expectations
- src
- fallbacks_can_access_all_primitives
- expectations
- src
- lifecycles
- non_static_references_cannot_be_singletons
- expectations
- src
- singletons_cannot_depend_on_request_scoped
- expectations
- src
- singletons_cannot_have_non_static_lifetime_parameters
- expectations
- src
- missing_handler_dependency
- expectations
- src
- missing_singleton_dependency
- expectations
- src
- next_state_is_populated_correctly
- expectations
- src
- pavex_honors_the_restrictions_on_generics_introduced_by_constructors
- expectations
- src
- references_to_constructible_types_are_allowed
- expectations
- src
- some_types_cannot_be_constructed
- expectations
- src
- error_observers
- error_observer_cannot_depend_directly_on_fallible_constructors
- expectations
- src
- error_observer_cannot_depend_transitively_on_fallible_constructors
- expectations
- src
- error_observer_with_generic_error
- expectations
- src
- error_observers_can_depend_on_fallible_singletons
- expectations
- src
- error_observers_happy_path
- expectations
- src
- middlewares
- middlewares_execution_order
- expectations
- integration
- src
- tests
- src
- next_handles_lifetimes
- expectations
- src
- next_handles_mut_references
- expectations
- src
- path_parameters
- path_parameters_happy_path
- expectations
- integration
- src
- tests
- src
- path_parameters_non_existing_fields
- expectations
- src
- path_parameters_unsupported_types
- expectations
- src
- reflection
- always_use_public_path
- expectations
- src
- ambiguous_dependency_version_is_handled
- expectations
- src
- arc_singletons_are_supported
- expectations
- src
- common_response_types_are_supported
- expectations
- src
- crate_resolution
- dependencies_can_register_local_items
- ephemeral_deps/dep
- src
- expectations
- src
- multiple_versions_for_the_same_crate_are_supported
- expectations
- src
- renamed_dependencies_can_register_local_items
- ephemeral_deps
- dep_1
- src
- dep_2
- src
- src
- transitive_dependencies_can_be_renamed
- ephemeral_deps/dep
- src
- expectations
- src
- generic_parameters_can_come_from_another_crate
- ephemeral_deps/dep_1
- src
- expectations
- src
- ids_can_conflict_across_crates
- ephemeral_deps/dep_1
- src
- expectations
- src
- ids_must_be_unique_within_the_same_crate
- expectations
- src
- lifetime_restrictions_are_handled
- expectations
- src
- local_glob_reexports_are_supported
- expectations
- src
- non_static_methods_are_supported
- expectations
- src
- output_parameter_cannot_be_handled
- expectations
- src
- pattern_bindings_in_input_parameters_are_supported
- expectations
- src
- reexported_type_alias_work
- ephemeral_deps/dep
- src
- expectations
- src
- self_as_generic_parameter_is_supported
- expectations
- src
- static_methods_are_supported
- expectations
- src
- trait_methods_are_supported
- expectations
- src
- tuples_are_supported
- expectations
- src
- type_alias_are_supported
- ephemeral_deps/dep
- src
- expectations
- src
- workspace_hack
- src
- docs
- examples
- attributes/server_sdk
- configuration/server_sdk
- cookies/server_sdk
- dependency_injection
- core_concepts/server_sdk
- prebuilt/server_sdk
- user_middleware/server_sdk
- errors
- error_handlers/server_sdk
- error_observers/server_sdk
- middleware
- order/server_sdk
- post/server_sdk
- pre/server_sdk
- wrapping/server_sdk
- request_data
- buffered_body/server_sdk
- json/server_sdk
- query_params/server_sdk
- route_params/server_sdk
- urlencoded/server_sdk
- wire_data/server_sdk
- routing
- core_concepts/server_sdk
- domain_guards/server_sdk
- path_prefixes/server_sdk
- sessions
- in_memory/server_sdk
- postgres/server_sdk
- tools
- pxh
- tutorial_generator
- tutorials
- .cargo
- quickstart
- patches
- project/server_sdk
- examples
- .cargo
- realworld/server_sdk
- starter
- .cargo
- server_sdk
- libs
- px_workspace_hack
- src
- runtime
- pavex_macros
- src
- constructor
- middlewares
- routes
- utils
- tests
- config/fail
- constructor/fail
- error_handler
- fail
- success
- error_observer/fail
- fallback/fail
- from
- fail
- success
- path_params
- fail
- success
- post_process/fail
- pre_process/fail
- prebuilt/fail
- route
- fail
- success
- wrap/fail
- pavex_tracing
- src
- pavex
- src
- blueprint
- config
- cookie
- error
- request
- body
- path
- query
- response
- body
- router
- server
- telemetry
- tls
- client
- tests
- fixtures/tls_config
- integration
- tls
- rustls_0_23
- sessions
- pavex_session_memory_store
- src
- pavex_session_redis
- .github
- src
- tests
- pavex_session_sqlx
- .github
- src
- tests
- pavex_session
- src
- config
- tests/session
- config
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,651 files changed
+228
-281
lines changedFile renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
File renamed without changes.
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
File renamed without changes.
Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
File renamed without changes.
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | | - | |
| 12 | + | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | | - | |
| 11 | + | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
0 commit comments