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
↓ 181 callers
Method
to_string
(&self)
crates/qsync/src/hook.rs:259
↓ 59 callers
Method
eq
(&self, other: &Self)
crates/create-rust-app/src/auth/permissions/mod.rs:134
↓ 48 callers
Function
replace
(file_path: &str, from: &str, to: &str)
crates/create-rust-app_cli/src/utils/fs.rs:141
↓ 44 callers
Function
message
(msg: &str)
crates/create-rust-app_cli/src/utils/logger.rs:4
↓ 43 callers
Method
send
send an email with the specifified content and subject to the specified user will only send an email if the `SEND_MAIL` environment variable was set
crates/create-rust-app/src/mailer.rs:181
↓ 24 callers
Function
add_dependency
( project_dir: &std::path::PathBuf, log_name: &str, dependency_entry: &str, )
crates/create-rust-app_cli/src/content/cargo_toml.rs:3
↓ 21 callers
Function
create
(resource_name: &str)
crates/create-rust-app_cli/src/content/model.rs:19
↓ 21 callers
Method
json
(self)
crates/create-rust-app/src/dev/mod.rs:121
↓ 20 callers
Function
error
(msg: &str)
crates/create-rust-app_cli/src/utils/logger.rs:43
↓ 16 callers
Function
command_msg
(command: &str)
crates/create-rust-app_cli/src/utils/logger.rs:8
↓ 16 callers
Method
get_connection
get a [`Connection`] to a database # Errors if the pool is unable to get a connection
crates/create-rust-app/src/database/mod.rs:48
↓ 11 callers
Function
error_response
(status_code: u16, message: &'static str)
crates/create-rust-app/src/auth/endpoints/service_poem.rs:19
↓ 11 callers
Method
error_string
( &self, message: &'static str, key: impl std::fmt::Display, error: impl std::
crates/create-rust-app/src/storage/mod.rs:252
↓ 10 callers
Function
add_file_msg
(file: &str)
crates/create-rust-app_cli/src/utils/logger.rs:12
↓ 10 callers
Method
default
()
crates/create-rust-app/src/mailer.rs:63
↓ 9 callers
Function
read
(file_path: &str)
crates/create-rust-app_cli/src/utils/fs.rs:91
↓ 9 callers
Function
register_service_msg
(service_name: &str)
crates/create-rust-app_cli/src/utils/logger.rs:16
↓ 9 callers
Function
useAuth
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/hooks/useAuth.tsx:81
↓ 8 callers
Function
install
we allow pass_by_value because most of these are zero-sized types, and therefore smaller than references
crates/create-rust-app_cli/src/plugins/mod.rs:126
↓ 6 callers
Method
client_or_error
(&self)
crates/create-rust-app/src/storage/mod.rs:262
↓ 6 callers
Function
send
(mailer: &Mailer, to_email: &str, link: &str)
crates/create-rust-app/src/auth/mail/auth_register.rs:4
↓ 5 callers
Function
append
(file_path: &str, content: &str)
crates/create-rust-app_cli/src/utils/fs.rs:126
↓ 5 callers
Function
register_actix
use `fs::replace` instead and also `fs::append` for the services/mod.rs entry #[deprecated]
crates/create-rust-app_cli/src/content/service.rs:349
↓ 4 callers
Function
check_config
(project_dir: &PathBuf, config_item: &str)
crates/create-rust-app_cli/src/utils/git.rs:4
↓ 4 callers
Function
ensure_file
(file: &PathBuf, contents: Option<&str>)
crates/create-rust-app_cli/src/utils/fs.rs:29
↓ 4 callers
Function
generate_salt
()
crates/create-rust-app/src/auth/controller.rs:824
↓ 4 callers
Function
load_env_vars
()
crates/create-rust-app/src/lib.rs:93
↓ 4 callers
Method
name
(&self)
crates/create-rust-app_cli/src/plugins/dev.rs:18
↓ 4 callers
Function
remove_file_msg
(file: &str)
crates/create-rust-app_cli/src/utils/logger.rs:27
↓ 4 callers
Function
rename_file_msg
(src: &str, dest: &str)
crates/create-rust-app_cli/src/utils/logger.rs:31
↓ 3 callers
Function
cargo_locate_project
`OnceLock` wrapper around output of `cargo locate-project --message-format=plain` if the command fails (e.g. if we're in a container or otherwise don
crates/create-rust-app/src/util/workspace_utils.rs:32
↓ 3 callers
Function
cargo_locate_project_workspace
`OnceLock` wrapper around output of `cargo locate-project --workspace --message-format=plain` if the command fails (e.g. if we're in a container or o
crates/create-rust-app/src/util/workspace_utils.rs:7
↓ 3 callers
Function
check_exit
(state: &DevState)
crates/create-rust-app/src/dev/mod.rs:310
↓ 3 callers
Function
ensure_directory
(directory: &PathBuf, prompt_before_create: bool)
crates/create-rust-app_cli/src/utils/fs.rs:44
↓ 3 callers
Function
exit_error
(msg: &str, err: &std::io::Error)
crates/create-rust-app_cli/src/utils/logger.rs:52
↓ 3 callers
Function
fallback
isolate logic for determining fallback values for the public functions below we isolate the logic to here so we can ensure consistency and test it #
crates/create-rust-app/src/util/workspace_utils.rs:61
↓ 3 callers
Function
fetchSessions
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/AccountPage.tsx:61
↓ 3 callers
Function
file_response
(path: &String)
crates/create-rust-app/src/util/poem_utils.rs:174
↓ 3 callers
Function
get_ipts
(page)
crates/create-rust-app_cli/template-plugin-auth/frontend/tests/authentication.spec.ts:8
↓ 3 callers
Function
modify_file_msg
(file: &str)
crates/create-rust-app_cli/src/utils/logger.rs:23
↓ 3 callers
Function
prepend
(file_path: &str, content: &str)
crates/create-rust-app_cli/src/utils/fs.rs:98
↓ 3 callers
Function
register_poem
use `fs::replace` instead and also `fs::append` for the services/mod.rs entry #[deprecated]
crates/create-rust-app_cli/src/content/service.rs:325
↓ 3 callers
Function
start
( project_dir: &'static str, dev_port: u16, dev_server_events_r: Receiver<DevServerEvent>, dev
crates/create-rust-app/src/dev/dev_server.rs:42
↓ 3 callers
Function
useQueryParam
(key: string)
crates/create-rust-app_cli/template/frontend/src/hooks/useQueryParam.ts:4
↓ 2 callers
Function
add_rust_file
(file_directory: &str, file_name: &str, file_contents: &str)
crates/create-rust-app_cli/src/utils/fs.rs:152
↓ 2 callers
Function
config
(service_name: &str)
crates/create-rust-app_cli/src/content/service.rs:53
↓ 2 callers
Function
configure_project
( query_sync: bool, qsync_input_files: Option<Vec<PathBuf>>, qsync_output_file: Option<PathBuf>,
crates/create-rust-app_cli/src/main.rs:496
↓ 2 callers
Method
create
Create an entry in [`db`](`Connection`)'s `users` table using the data in [`item`](`UserChangeset`) # Errors [`diesel::result::Error`](`diesel::resul
crates/create-rust-app/src/auth/user.rs:53
↓ 2 callers
Function
createTodo
(todo: string)
crates/create-rust-app_cli/template/frontend/src/containers/Todo.tsx:38
↓ 2 callers
Function
create_async_queue
Creates a new async queue with the specified max pool size. You should not need to use this function directly. Instead, use `async_queue()` to get a r
crates/create-rust-app/src/tasks/mod.rs:51
↓ 2 callers
Function
create_oidc_client
(provider: &OIDCProvider, app_url: String)
crates/create-rust-app/src/auth/oidc/controller.rs:24
↓ 2 callers
Function
create_project
TODO: refactor to reduce complexity
crates/create-rust-app_cli/src/main.rs:223
↓ 2 callers
Function
create_user_session
TODO: Wrap this in a database transaction create a user session for the user with [`user_id`](`i32`) # Errors - 400: 'device' cannot be longer than 2
crates/create-rust-app/src/auth/controller.rs:292
↓ 2 callers
Method
delete
Delete the entry in [`db`](`Connection`)'s `users` table who's primary key matches [`item_id`](`ID`) # Errors [`diesel::result::Error`](`diesel::resu
crates/create-rust-app/src/auth/user.rs:120
↓ 2 callers
Method
delete
(db: &mut Connection, item_id: ID)
crates/create-rust-app/src/storage/attachment.rs:416
↓ 2 callers
Function
file_path_to_vec_string
Converts a `/home/user/path/to/file.rs` to `["home", "user", "path", "to", "file"]` Note: this trims the `.rs` extension from the filename (the last e
crates/qsync/src/utils.rs:5
↓ 2 callers
Function
get_migrations
(db: &Database)
crates/create-rust-app/src/dev/controller.rs:60
↓ 2 callers
Function
get_sessions
/sessions queries [`db`](`Database`) for all sessions owned by the User associated with [`auth`](`Auth`) breaks up the results of that query as defi
crates/create-rust-app/src/auth/controller.rs:129
↓ 2 callers
Method
has_permission
(&self, permission: String)
crates/create-rust-app/src/auth/extractors/auth.rs:19
↓ 2 callers
Method
has_role
(&self, role: impl AsRef<str>)
crates/create-rust-app/src/auth/extractors/auth.rs:46
↓ 2 callers
Function
is_primitive_type
(ty: &str)
crates/qsync/src/params.rs:1
↓ 2 callers
Function
parseJwt
(token: string)
crates/create-rust-app_cli/template-plugin-auth/frontend/src/hooks/useAuth.tsx:207
↓ 2 callers
Function
process_service_file
( endpoint_prefix: &str, base_input_path: &Path, input_path: PathBuf, state: &mut BuildState,
crates/qsync/src/processor.rs:316
↓ 2 callers
Function
remove_non_framework_files
( project_dir: &PathBuf, framework: BackendFramework, )
crates/create-rust-app_cli/src/content/project.rs:187
↓ 2 callers
Function
send
(mailer: &Mailer, to_email: &str)
crates/create-rust-app_cli/template/backend/mail/example.rs:4
↓ 2 callers
Function
set_config
(project_dir: &PathBuf, config_item: &str, config_value: &str)
crates/create-rust-app_cli/src/utils/git.rs:15
↓ 2 callers
Function
shell
(command: &str)
crates/create-rust-app_cli/template/build.rs:20
↓ 2 callers
Method
task_type
This will be useful if you want to filter tasks. the default value is `common`
crates/create-rust-app_cli/template-plugin-tasks/backend/tasks/daily_todo.rs:37
↓ 2 callers
Function
template_response
(_uri: &Uri, content: String)
crates/create-rust-app/src/util/poem_utils.rs:139
↓ 2 callers
Function
template_response
(req: &HttpRequest, content: String)
crates/create-rust-app/src/util/actix_web_utils.rs:151
↓ 2 callers
Function
test_bind
binds a [`TcpListener`] to the given [`addr`](`ToSocketAddrs`)
crates/create-rust-app/src/util/net.rs:7
↓ 2 callers
Function
to_template_name
(request_path: &str)
crates/create-rust-app/src/util/template_utils.rs:34
↓ 2 callers
Method
upload
upload an object to the bucket # Arguments `key` - the key of the object to upload `bytes` - the bytes of the object to upload `content_type` - the c
crates/create-rust-app/src/storage/mod.rs:142
↓ 2 callers
Function
vitejs_ping_down
()
crates/create-rust-app/src/dev/mod.rs:29
↓ 2 callers
Function
vitejs_ping_up
()
crates/create-rust-app/src/dev/mod.rs:45
↓ 1 callers
Function
add_bins_to_cargo_toml
( project_dir: &std::path::PathBuf, creations_options: &CreationOptions, )
crates/create-rust-app_cli/src/content/project.rs:60
↓ 1 callers
Function
add_dependency_msg
(name: &str)
crates/create-rust-app_cli/src/utils/logger.rs:57
↓ 1 callers
Method
after_install
(&self, install_config: InstallConfig)
crates/create-rust-app_cli/src/plugins/mod.rs:58
↓ 1 callers
Method
before_install
(&self)
crates/create-rust-app_cli/src/plugins/mod.rs:36
↓ 1 callers
Function
buildRollupInput
(isDevelopment)
crates/create-rust-app_cli/template/frontend/vite.config.ts:6
↓ 1 callers
Method
build_args_string
(&self)
crates/qsync/src/hook.rs:56
↓ 1 callers
Function
check_cli_version
()
crates/create-rust-app_cli/src/content/project.rs:719
↓ 1 callers
Function
compile
(project_dir: &'static str, ws_s: Sender<DevServerEvent>)
crates/create-rust-app/src/dev/backend_compiling_server.rs:214
↓ 1 callers
Function
config
(resource_name: &str)
crates/create-rust-app_cli/src/content/model.rs:32
↓ 1 callers
Function
connect
()
crates/create-rust-app_cli/template-plugin-dev/frontend/src/setupDevelopment.tsx:36
↓ 1 callers
Function
create
(project_name: &str, creation_options: CreationOptions)
crates/create-rust-app_cli/src/content/project.rs:283
↓ 1 callers
Function
createFile
(form: FormData)
crates/create-rust-app_cli/template-plugin-storage/frontend/src/containers/Files.tsx:19
↓ 1 callers
Function
create_inject
(bundle_name: &str)
crates/create-rust-app/src/util/template_utils.rs:64
↓ 1 callers
Function
create_resource
( backend: BackendFramework, resource_name: &str, include_qsync_attr: bool, )
crates/create-rust-app_cli/src/content/project.rs:699
↓ 1 callers
Method
delete
(db: &mut Connection, param_id: i32)
crates/create-rust-app/src/auth/oidc/model.rs:126
↓ 1 callers
Method
delete
delete an object from the bucket # Arguments `key` - the key of the object to delete # Errors could not delete the object
crates/create-rust-app/src/storage/mod.rs:205
↓ 1 callers
Function
deleteAllSessions
()
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/AccountPage.tsx:43
↓ 1 callers
Function
deleteFile
(file: FileInfo)
crates/create-rust-app_cli/template-plugin-storage/frontend/src/containers/Files.tsx:28
↓ 1 callers
Function
deleteSession
(id: number)
crates/create-rust-app_cli/template-plugin-auth/frontend/src/containers/AccountPage.tsx:23
↓ 1 callers
Function
deleteTodo
(todo: Todo)
crates/create-rust-app_cli/template/frontend/src/containers/Todo.tsx:57
↓ 1 callers
Method
delete_many
delete many objects from the bucket # Arguments `keys` - a vector of keys to delete # Errors could not delete the objects
crates/create-rust-app/src/storage/mod.rs:226
↓ 1 callers
Function
exit_code
(msg: &str, code: i32)
crates/create-rust-app_cli/src/utils/logger.rs:47
↓ 1 callers
Function
extract_endpoint_information
( endpoint_prefix: &str, base_input_path: &Path, input_path: &Path, attributes: &Vec<syn::Attr
crates/qsync/src/processor.rs:238
↓ 1 callers
Function
extract_path_params_from_hook_endpoint_url
(hook: &mut Hook)
crates/qsync/src/processor.rs:218
↓ 1 callers
Function
find_free_port
(mut range: Range<u16>)
crates/create-rust-app/src/util/net.rs:24
next →
1–100 of 384, ranked by callers