Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Wulf/create-rust-app
/ functions
Functions
384 in github.com/Wulf/create-rust-app
⨍
Functions
384
◇
Types & classes
143
↓ 1 callers
Function
generate
(resource_name: &str)
crates/create-rust-app_cli/src/content/model.rs:45
↓ 1 callers
Function
generate_actix
(service_name: &str, include_qsync_attr: bool)
crates/create-rust-app_cli/src/content/service.rs:155
↓ 1 callers
Function
generate_hook_name
(base_input_path: &Path, input_path: &Path, fn_name: &str)
crates/qsync/src/processor.rs:305
↓ 1 callers
Function
generate_poem
(service_name: &str)
crates/create-rust-app_cli/src/content/service.rs:63
↓ 1 callers
Function
generic_to_typsecript_type
TODO: leverage TSYNC
crates/qsync/src/params.rs:27
↓ 1 callers
Function
get_api_fn_input_param_type
( query_input: &QsyncInput, pat_type: PatType, type_path: TypePath, )
crates/qsync/src/processor.rs:151
↓ 1 callers
Function
get_current_working_directory
()
crates/create-rust-app_cli/src/utils/fs.rs:25
↓ 1 callers
Function
get_features
(project_dir: &'static str)
crates/create-rust-app/src/dev/mod.rs:194
↓ 1 callers
Function
get_migration_number
()
crates/create-rust-app_cli/src/content/migration.rs:7
↓ 1 callers
Function
handle_socket
(stream: WebSocket, state: Arc<AppState>)
crates/create-rust-app/src/dev/dev_server.rs:129
↓ 1 callers
Function
has_qsync_attribute
( is_debug: bool, attributes: &[syn::Attribute], )
crates/qsync/src/processor.rs:34
↓ 1 callers
Method
install
(&self, install_config: InstallConfig)
crates/create-rust-app_cli/src/plugins/dev.rs:22
↓ 1 callers
Function
isExpiringSoon
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/hooks/useAuth.tsx:148
↓ 1 callers
Function
is_port_free
(port: u16)
crates/create-rust-app/src/util/net.rs:15
↓ 1 callers
Function
is_restricted_project_name
(project_name: &str, project_binaries: &[ProjectBinary])
crates/create-rust-app_cli/src/content/project.rs:53
↓ 1 callers
Function
is_rust_project
(directory: &PathBuf)
crates/create-rust-app_cli/src/utils/fs.rs:6
↓ 1 callers
Function
listen_for_signals
(signal_tx: tokio::sync::broadcast::Sender<DevServerEvent>)
crates/create-rust-app/src/dev/mod.rs:317
↓ 1 callers
Function
manifest_path
fn for the path to the project's manifest.json file
crates/create-rust-app/src/util/workspace_utils.rs:102
↓ 1 callers
Function
migrate_db
/db/migrate performs any pending migrations # Panics cannot connect to the database cannot find the migrations directory cannot run the migrations T
crates/create-rust-app/src/dev/controller.rs:140
↓ 1 callers
Function
needs_migration
(db: &Database)
crates/create-rust-app/src/dev/controller.rs:124
↓ 1 callers
Function
oauth_login
( db: &Database, app_config: &AppConfig, auth_config: &AuthConfig, provider_name: String,
crates/create-rust-app/src/auth/oidc/controller.rs:107
↓ 1 callers
Function
oidc_login_url
# Errors could not create the OIDC client
crates/create-rust-app/src/auth/oidc/controller.rs:41
↓ 1 callers
Function
plugin_msg
(name: &str)
crates/create-rust-app_cli/src/utils/logger.rs:39
↓ 1 callers
Function
process
# Panics - if it can't create the output file
crates/qsync/src/processor.rs:549
↓ 1 callers
Function
project_created_msg
(install_config: crate::plugins::InstallConfig)
crates/create-rust-app_cli/src/utils/logger.rs:61
↓ 1 callers
Function
query_db
(db: Data<Database>, body: Json<MySqlQuery>)
crates/create-rust-app/src/dev/endpoints/service_actixweb.rs:9
↓ 1 callers
Function
queue
Returns a reference to the synchronous queue. Tasks scheduled in this queue will be executed by the synchronous queue process. A sync queue process c
crates/create-rust-app/src/tasks/mod.rs:12
↓ 1 callers
Method
redirect_uri
(&self, api_url: impl AsRef<str>)
crates/create-rust-app/src/auth/oidc/mod.rs:42
↓ 1 callers
Function
remove_non_database_files
(project_dir: &PathBuf, database: BackendDatabase)
crates/create-rust-app_cli/src/content/project.rs:234
↓ 1 callers
Function
reportWebVitals
(onPerfEntry)
crates/create-rust-app_cli/template/frontend/src/reportWebVitals.js:1
↓ 1 callers
Method
send_activated
(&self, mailer: &Mailer, to_email: &str)
crates/create-rust-app/src/mailer.rs:253
↓ 1 callers
Method
send_password_changed
(&self, mailer: &Mailer, to_email: &str)
crates/create-rust-app/src/mailer.rs:256
↓ 1 callers
Method
send_password_reset
(&self, mailer: &Mailer, to_email: &str)
crates/create-rust-app/src/mailer.rs:259
↓ 1 callers
Method
send_recover_existent_account
(&self, mailer: &Mailer, to_email: &str, url_path: &str)
crates/create-rust-app/src/mailer.rs:262
↓ 1 callers
Method
send_recover_nonexistent_account
(&self, mailer: &Mailer, to_email: &str, url_path: &str)
crates/create-rust-app/src/mailer.rs:269
↓ 1 callers
Method
send_register
(&self, mailer: &Mailer, to_email: &str, url_path: &str)
crates/create-rust-app/src/mailer.rs:276
↓ 1 callers
Method
status_code
return the [`StatusCode`] associated with an [`AuthError`]
crates/create-rust-app/src/auth/extractors/auth_actixweb.rs:50
↓ 1 callers
Function
to_typescript_type
TODO: leverage TSYNC
crates/qsync/src/params.rs:35
↓ 1 callers
Method
update
Update the entry in [`db`](`Connection`)'s `users` table who's primary key matches [`item_id`](`ID`), with the data in [`item`](`UserChangeset`) # Er
crates/create-rust-app/src/auth/user.rs:107
↓ 1 callers
Function
updateTodo
(todo: Todo)
crates/create-rust-app_cli/template/frontend/src/containers/Todo.tsx:48
↓ 1 callers
Function
usePing
()
crates/create-rust-app_cli/template-plugin-graphql/frontend/src/containers/GraphQLPage.tsx:11
↓ 1 callers
Function
useWebsocketConnection
()
crates/create-rust-app_cli/template-plugin-dev/frontend/src/setupDevelopment.tsx:18
Function
AccountPage
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/AccountPage.tsx:5
Function
ActivationPage
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/ActivationPage.tsx:6
Function
App
()
crates/create-rust-app_cli/template/frontend/src/App.tsx:7
Function
AuthProvider
(props: AuthWrapperProps)
crates/create-rust-app_cli/template-plugin-auth/frontend/src/hooks/useAuth.tsx:61
Function
CompilerMessage
({ m, onOpenFile }: CompilerMessageProps)
crates/create-rust-app_cli/template-plugin-dev/frontend/src/setupDevelopment.tsx:285
Function
DevBox
()
crates/create-rust-app_cli/template-plugin-dev/frontend/src/setupDevelopment.tsx:135
Function
Feature
({ title, description }: FeatureItem)
docs/src/components/HomepageFeatures.tsx:46
Function
Files
()
crates/create-rust-app_cli/template-plugin-storage/frontend/src/containers/Files.tsx:15
Function
GraphQLPage
()
crates/create-rust-app_cli/template-plugin-graphql/frontend/src/containers/GraphQLPage.tsx:14
Function
Home
()
docs/src/pages/index.tsx:32
Function
Home
()
crates/create-rust-app_cli/template/frontend/src/containers/Home.tsx:6
Function
HomepageFeatures
()
docs/src/components/HomepageFeatures.tsx:57
Function
HomepageHeader
()
docs/src/pages/index.tsx:11
Function
LoginPage
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/LoginPage.tsx:5
Function
OauthLoginResultPage
()
crates/create-rust-app_cli/template-plugin-auth-oidc/frontend/src/containers/OauthLoginResultPage.tsx:6
Function
RecoveryPage
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/RecoveryPage.tsx:5
Function
RegistrationPage
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/RegistrationPage.tsx:5
Function
ResetPage
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/ResetPage.tsx:6
Function
Todos
()
crates/create-rust-app_cli/template/frontend/src/containers/Todo.tsx:28
Function
activate
/activate activates the account associated with the token in [`item`](`ActivationInput`) # Errors - 401: Invalid token - 401: Invalid token - 400: I
crates/create-rust-app/src/auth/controller.rs:576
Function
activate
( db: Data<Database>, Query(item): Query<ActivationInput>, mailer: Data<Mailer>, )
crates/create-rust-app/src/auth/endpoints/service_actixweb.rs:432
Function
activate
handler for GET requests to the .../activate endpoint see [`controller:: activate`] # Responses | StatusCode | content | |:------------|---------| |
crates/create-rust-app/src/auth/endpoints/service_poem.rs:259
Function
activate
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/ActivationPage.tsx:13
Function
api
returns endpoints for the Auth service
crates/create-rust-app/src/auth/endpoints/service_poem.rs:386
Function
api
()
crates/create-rust-app/src/dev/endpoints/service_poem.rs:19
Method
assign
assign `role` to the User whose id is [`user_id`](`ID`) Returns true if successful # Errors infallible TODO: don't return a result if we never fail
crates/create-rust-app/src/auth/permissions/mod.rs:38
Method
assign_many
assigns every role in `roles` to the User whose id is [`user_id`](`ID`) returns true if successful # Errors infallible TODO: don't return a result
crates/create-rust-app/src/auth/permissions/mod.rs:58
Function
async_queue
Returns a reference to the async queue. Tasks scheduled in this queue will be executed by the async queue process. An async queue process can be star
crates/create-rust-app/src/tasks/mod.rs:36
Method
attach
( db: &mut Connection, storage: &Storage, name: String, record_type: String,
crates/create-rust-app/src/storage/attachment.rs:57
Function
backend_up_handler
(State(state): State<Arc<AppState>>)
crates/create-rust-app/src/dev/dev_server.rs:101
Method
backoff
backoff mode for retries
crates/create-rust-app_cli/template-plugin-tasks/backend/tasks/daily_todo_async.rs:62
Method
build_query_key
(&self)
crates/qsync/src/hook.rs:186
Method
build_vars_string
(&self)
crates/qsync/src/hook.rs:95
Method
call
Logs requests recieved by the server, as well as the associated responses
crates/create-rust-app/src/logger.rs:26
Method
call
(&self, args: &HashMap<String, serde_json::Value>)
crates/create-rust-app/src/util/template_utils.rs:47
Function
changePassword
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/AccountPage.tsx:87
Function
change_password
/change change the password of the User associated with [`auth`](`Auth`) from [`item.old_password`](`ChangeInput`) to [`item.new_password`](`ChangeIn
crates/create-rust-app/src/auth/controller.rs:699
Function
change_password
( db: Data<Database>, Json(item): Json<ChangeInput>, auth: Auth, mailer: Data<Mailer>, )
crates/create-rust-app/src/auth/endpoints/service_actixweb.rs:505
Function
change_password
handler for POST requests to the .../change endpoint requires auth request must have the `Content-Type: application/json` header, and a Json payload
crates/create-rust-app/src/auth/endpoints/service_poem.rs:322
Function
check
/check just a lifeline function, clients can post to this endpoint to check if the auth service is running
crates/create-rust-app/src/auth/controller.rs:757
Function
check
(auth: Auth)
crates/create-rust-app/src/auth/endpoints/service_actixweb.rs:535
Function
check
handler for POST requests to the .../check endpoint requires auth, but doesn't match it to a user see [`controller::check`] # Responses | StatusCod
crates/create-rust-app/src/auth/endpoints/service_poem.rs:380
Method
check_environment_variables
checks that the required environment variables are set prints messages denoting which, if any, of the required environment variables were not set #
crates/create-rust-app/src/mailer.rs:136
Method
check_environment_variables
()
crates/create-rust-app/src/storage/mod.rs:268
Method
connection_url
()
crates/create-rust-app/src/database/mod.rs:70
Method
constructor
(roles: string[], perms: Permission[])
crates/create-rust-app_cli/template-plugin-auth/frontend/src/hooks/useAuth.tsx:13
Method
count_all
Query [`db`](`Connection`) for all entries in the `user_sessions` table who's `user_id` matches the given [`item_user_id`] # Errors [`diesel::result:
crates/create-rust-app/src/auth/user_session.rs:128
Function
create
(name: &str, up: &str, down: &str)
crates/create-rust-app_cli/src/content/migration.rs:18
Function
create
( backend: BackendFramework, resource_name: &str, service_api_fn: &str, base_endpoint_path: &s
crates/create-rust-app_cli/src/content/service.rs:18
Method
create
Create an entry in [`db`](`Connection`)'s `user_sessions` table using the data in [`item`](`UserSessionChangeset`) # Errors [`diesel::result::Error`]
crates/create-rust-app/src/auth/user_session.rs:62
Method
create
Create an entry in [`db`](`Connection`)'s `role_permissions` table that has the data stored in [`item`](`RolePermissionChangeset`) # Errors [`diesel:
crates/create-rust-app/src/auth/permissions/role_permission.rs:44
Method
create
Create an entry in [`db`](`Connection`)'s `user_roles` table that has the data stored in [`item`](`UserRoleChangeset`) # Errors [`diesel::result::Err
crates/create-rust-app/src/auth/permissions/user_role.rs:49
Method
create
Create an entry in [`db`](`Connection`)'s `user_permissions` table that has the data stored in [`item`](`UserPermissionChangeset`) # Errors [`diesel:
crates/create-rust-app/src/auth/permissions/user_permission.rs:50
Method
create
(db: &mut Connection, item: &CreateUserOauth2Link)
crates/create-rust-app/src/auth/oidc/model.rs:77
Method
create
Create an entry in [`db`](`Connection`)'s `attachment_blobs` table using the data in [`item`](`AttachmentBlobChangeset`) # Errors Diesel error
crates/create-rust-app/src/storage/attachment_blob.rs:45
Method
create
(db: &mut Connection, item: &AttachmentChangeset)
crates/create-rust-app/src/storage/attachment.rs:345
Method
create_many
Create an entry in [`db`](`Connection`)'s role_permissions table for each [element](`RolePermissionChangeset`) in `items` # Errors [`diesel::result::
crates/create-rust-app/src/auth/permissions/role_permission.rs:57
Method
create_many
Create an entry in [`db`](`Connection`)'s user_roles table for each [element](`UserRoleChangeset`) in `items` # Errors [`diesel::result::Error`](`die
crates/create-rust-app/src/auth/permissions/user_role.rs:60
← previous
next →
101–200 of 384, ranked by callers