├── .cspell.yml ├── .envrc ├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── ci-nightly.yml │ ├── ci.yml │ └── clippy-fmt.yml ├── .gitignore ├── .prettierrc.yml ├── .rustfmt.toml ├── .sqlx ├── query-2f4086eab47b13298a107ed8c0feaadab903468b8e4fbd39e465f581c7189272.json ├── query-37443376215969e31bc6bc1ee00f01044647d95caf8efc61df7bf333b6a2149d.json ├── query-3a5b2a81088aa91ade3106165f926c337a88f4e29ae3bb170c4b687208aba20d.json └── query-ab058898a8a1b13174d03c9972af33214619f8aa3080bc27f88bd5b9212b8c0f.json ├── .taplo.toml ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── auth ├── casbin │ ├── Cargo.toml │ ├── README.md │ ├── rbac │ │ ├── rbac_model.conf │ │ └── rbac_policy.csv │ └── src │ │ └── main.rs ├── cookie-auth │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── cookie-session │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── oauth-github │ └── README.md ├── redis-session │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs └── simple-auth-server │ ├── Cargo.toml │ ├── README.md │ ├── diesel.toml │ ├── migrations │ ├── .gitkeep │ ├── 00000000000000_diesel_initial_setup │ │ ├── down.sql │ │ └── up.sql │ ├── 2018-10-09-101948_users │ │ ├── down.sql │ │ └── up.sql │ └── 2018-10-16-095633_invitations │ │ ├── down.sql │ │ └── up.sql │ ├── src │ ├── auth_handler.rs │ ├── email_service.rs │ ├── errors.rs │ ├── invitation_handler.rs │ ├── main.rs │ ├── models.rs │ ├── register_handler.rs │ ├── schema.rs │ └── utils.rs │ └── static │ ├── index.html │ ├── main.css │ ├── main.js │ └── register.html ├── background-jobs ├── Cargo.toml ├── README.md └── src │ ├── ephemeral_jobs.rs │ ├── main.rs │ ├── persistent_jobs.rs │ └── routes.rs ├── basics ├── basics │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── static │ │ ├── 404.html │ │ ├── actixLogo.png │ │ ├── favicon.ico │ │ └── welcome.html ├── error-handling │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── hello-world │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── nested-routing │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── app_config.rs │ │ ├── common.rs │ │ ├── handlers │ │ ├── mod.rs │ │ ├── parts.rs │ │ └── products.rs │ │ ├── lib.rs │ │ └── main.rs ├── state │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── static-files │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── static │ │ ├── images │ │ └── logo.png │ │ └── root │ │ ├── css │ │ └── example.css │ │ ├── favicon.ico │ │ ├── index.html │ │ └── js │ │ └── example.js └── todo │ ├── .env │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── migrations │ ├── 20220205163207_create_tasks_table.down.sql │ └── 20220205163207_create_tasks_table.up.sql │ ├── src │ ├── api.rs │ ├── db.rs │ ├── main.rs │ ├── model.rs │ └── session.rs │ ├── static │ ├── css │ │ ├── normalize.css │ │ ├── skeleton.css │ │ └── style.css │ └── errors │ │ ├── 400.html │ │ ├── 404.html │ │ └── 500.html │ └── templates │ └── index.html.tera ├── codecov.yml ├── cors ├── README.md ├── backend │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── main.rs │ │ └── user.rs └── frontend │ ├── .gitignore │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── app.vue │ └── main.js │ └── vite.config.js ├── data-factory ├── Cargo.toml ├── README.md └── src │ └── main.rs ├── databases ├── diesel-async │ ├── Cargo.toml │ ├── README.md │ ├── diesel.toml │ ├── migrations │ │ ├── .keep │ │ ├── 00000000000000_diesel_initial_setup │ │ │ ├── down.sql │ │ │ └── up.sql │ │ └── 2025-01-18-144029_create_items │ │ │ ├── down.sql │ │ │ └── up.sql │ └── src │ │ ├── actions.rs │ │ ├── main.rs │ │ ├── models.rs │ │ └── schema.rs ├── diesel │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── migrations │ │ └── 20170124012402_create_users │ │ │ ├── down.sql │ │ │ └── up.sql │ └── src │ │ ├── actions.rs │ │ ├── main.rs │ │ ├── models.rs │ │ └── schema.rs ├── mongodb │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── main.rs │ │ ├── model.rs │ │ └── test.rs ├── mysql │ ├── Cargo.toml │ ├── README.md │ ├── apis │ │ ├── bank.md │ │ ├── branch.md │ │ ├── customer.md │ │ └── teller.md │ ├── sql │ │ ├── 0_create_database.sql │ │ ├── 1_bank_details.sql │ │ ├── 2_branch_details.sql │ │ ├── 3_customer_details.sql │ │ └── 4_teller_details.sql │ └── src │ │ ├── main.rs │ │ ├── models.rs │ │ ├── persistence.rs │ │ └── routes.rs ├── postgres │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── sql │ │ ├── add_user.sql │ │ ├── get_users.sql │ │ └── schema.sql │ └── src │ │ ├── config.rs │ │ ├── db.rs │ │ ├── errors.rs │ │ ├── main.rs │ │ └── models.rs ├── rbatis │ └── README.md ├── redis │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── sea-orm │ └── README.md └── sqlite │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── db │ ├── GHCND_documentation.pdf │ ├── README.md │ ├── db.sql │ ├── nyc_centralpark_weather.csv │ └── setup_db.sh │ └── src │ ├── db.rs │ └── main.rs ├── docker ├── .dockerignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── examples-common ├── Cargo.toml └── src │ └── lib.rs ├── flake.lock ├── flake.nix ├── forms ├── form │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── static │ │ └── form.html ├── multipart-s3 │ ├── .env.example │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── client.rs │ │ ├── index.html │ │ ├── main.rs │ │ └── upload_file.rs └── multipart │ ├── .gitignore │ ├── Cargo.toml │ ├── LICENSE │ ├── README.md │ └── src │ └── main.rs ├── graphql ├── async-graphql │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── main.rs │ │ └── star_wars │ │ ├── mod.rs │ │ └── model.rs ├── juniper-advanced │ ├── .env.example │ ├── Cargo.toml │ ├── README.md │ ├── mysql-schema.sql │ └── src │ │ ├── db.rs │ │ ├── handlers.rs │ │ ├── main.rs │ │ └── schemas │ │ ├── mod.rs │ │ ├── product.rs │ │ ├── root.rs │ │ └── user.rs └── juniper │ ├── Cargo.toml │ ├── README.md │ └── src │ ├── main.rs │ └── schema.rs ├── guards ├── Cargo.toml ├── README.md └── src │ └── main.rs ├── http-proxy ├── Cargo.toml ├── README.md └── src │ └── main.rs ├── https-tls ├── acme-letsencrypt │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── awc-https │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── cert-watch │ ├── Cargo.toml │ ├── README.md │ ├── cert.pem │ ├── key.pem │ └── src │ │ └── main.rs ├── hot-reload │ ├── Cargo.toml │ ├── README.md │ ├── cert.pem │ ├── key.pem │ └── src │ │ └── main.rs ├── openssl │ ├── Cargo.toml │ ├── README.md │ ├── cert.pem │ ├── key.pem │ └── src │ │ └── main.rs ├── rustls-client-cert │ ├── Cargo.toml │ ├── README.md │ ├── certs │ │ ├── client-cert.pem │ │ ├── client-key.pem │ │ ├── rootCA-key.pem │ │ ├── rootCA.pem │ │ ├── server-cert.pem │ │ └── server-key.pem │ └── src │ │ └── main.rs └── rustls │ ├── Cargo.toml │ ├── README.md │ ├── cert.pem │ ├── key.pem │ └── src │ └── main.rs ├── json ├── json-decode-error │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── json-error │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── json-validation │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── json │ ├── Cargo.toml │ ├── README.md │ ├── client.py │ └── src │ │ └── main.rs └── jsonrpc │ ├── Cargo.toml │ ├── README.md │ ├── src │ ├── convention.rs │ └── main.rs │ └── tests │ └── test_client.py ├── justfile ├── middleware ├── encrypted-payloads │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs ├── http-to-https │ ├── Cargo.toml │ ├── README.md │ ├── cert.pem │ ├── key.pem │ └── src │ │ └── main.rs ├── rate-limit │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── main.rs │ │ └── rate_limit.rs ├── request-extensions │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── add_msg.rs │ │ └── main.rs └── various │ ├── Cargo.toml │ ├── README.md │ └── src │ ├── main.rs │ ├── read_request_body.rs │ ├── read_response_body.rs │ ├── redirect.rs │ └── simple.rs ├── protobuf ├── .gitignore ├── Cargo.toml ├── README.md ├── client.py ├── src │ └── main.rs ├── test.proto └── test_pb2.py ├── run-in-thread ├── Cargo.toml └── src │ └── main.rs ├── server-sent-events ├── Cargo.toml ├── README.md ├── benchmark.js ├── drain.js └── src │ ├── broadcast.rs │ ├── index.html │ └── main.rs ├── shutdown-server ├── Cargo.toml ├── README.md └── src │ └── main.rs ├── templating ├── askama │ ├── Cargo.toml │ ├── src │ │ └── main.rs │ └── templates │ │ ├── index.html │ │ └── user.html ├── fluent │ ├── Cargo.toml │ ├── README.md │ ├── locales │ │ ├── en │ │ │ └── main.ftl │ │ └── fr │ │ │ └── main.ftl │ ├── src │ │ ├── lang_choice.rs │ │ └── main.rs │ └── templates │ │ ├── error.html │ │ ├── index.html │ │ └── user.html ├── handlebars │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── templates │ │ ├── error.html │ │ ├── index.html │ │ └── user.html ├── minijinja │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── templates │ │ ├── error.html │ │ ├── index.html │ │ └── user.html ├── sailfish │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── templates │ │ ├── actix.stpl │ │ └── page.stpl ├── tera │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── templates │ │ ├── error.html │ │ ├── index.html │ │ └── user.html ├── tinytemplate │ ├── Cargo.toml │ ├── README.md │ ├── src │ │ └── main.rs │ └── templates │ │ ├── error.html │ │ ├── index.html │ │ └── user.html └── yarte │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── src │ └── main.rs │ ├── templates │ ├── base.hbs │ ├── deep │ │ └── more │ │ │ ├── card │ │ │ ├── form.hbs │ │ │ └── hi.hbs │ │ │ ├── deep │ │ │ └── welcome.hbs │ │ │ └── doc │ │ │ ├── head.hbs │ │ │ └── t.hbs │ └── index.hbs │ └── yarte.toml ├── tracing └── mainmatter-workshop │ ├── .env.example │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ └── src │ ├── logging.rs │ ├── main.rs │ ├── metric_names.rs │ ├── middleware.rs │ ├── prometheus.rs │ └── routes.rs ├── unix-socket ├── Cargo.toml ├── README.md └── src │ └── main.rs ├── weather.db └── websockets ├── autobahn ├── Cargo.toml ├── README.md ├── config │ └── fuzzingclient.json ├── reports │ └── .gitignore └── src │ └── main.rs ├── chat-actorless ├── Cargo.toml ├── README.md ├── src │ ├── handler.rs │ ├── main.rs │ └── server.rs └── static │ └── index.html ├── chat-broker ├── Cargo.toml ├── README.md ├── client.py ├── src │ ├── main.rs │ ├── message.rs │ ├── server.rs │ └── session.rs └── static │ └── index.html ├── chat-tcp ├── Cargo.toml ├── README.md ├── client.py ├── src │ ├── client.rs │ ├── codec.rs │ ├── main.rs │ ├── server.rs │ └── session.rs └── static │ └── index.html ├── chat ├── Cargo.toml ├── README.md ├── client.py ├── requirements.txt ├── src │ ├── main.rs │ ├── server.rs │ └── session.rs └── static │ └── index.html ├── echo-actorless ├── Cargo.toml ├── README.md ├── src │ ├── client.rs │ ├── handler.rs │ └── main.rs └── static │ └── index.html └── echo ├── Cargo.toml ├── README.md ├── src ├── client.rs ├── main.rs └── server.rs ├── static └── index.html └── websocket-client.py /.cspell.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.cspell.yml -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [robjtede] 4 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci-nightly.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.github/workflows/ci-nightly.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/clippy-fmt.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.github/workflows/clippy-fmt.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /.sqlx/query-2f4086eab47b13298a107ed8c0feaadab903468b8e4fbd39e465f581c7189272.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.sqlx/query-2f4086eab47b13298a107ed8c0feaadab903468b8e4fbd39e465f581c7189272.json -------------------------------------------------------------------------------- /.sqlx/query-37443376215969e31bc6bc1ee00f01044647d95caf8efc61df7bf333b6a2149d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.sqlx/query-37443376215969e31bc6bc1ee00f01044647d95caf8efc61df7bf333b6a2149d.json -------------------------------------------------------------------------------- /.sqlx/query-3a5b2a81088aa91ade3106165f926c337a88f4e29ae3bb170c4b687208aba20d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.sqlx/query-3a5b2a81088aa91ade3106165f926c337a88f4e29ae3bb170c4b687208aba20d.json -------------------------------------------------------------------------------- /.sqlx/query-ab058898a8a1b13174d03c9972af33214619f8aa3080bc27f88bd5b9212b8c0f.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.sqlx/query-ab058898a8a1b13174d03c9972af33214619f8aa3080bc27f88bd5b9212b8c0f.json -------------------------------------------------------------------------------- /.taplo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/.taplo.toml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/README.md -------------------------------------------------------------------------------- /auth/casbin/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/casbin/Cargo.toml -------------------------------------------------------------------------------- /auth/casbin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/casbin/README.md -------------------------------------------------------------------------------- /auth/casbin/rbac/rbac_model.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/casbin/rbac/rbac_model.conf -------------------------------------------------------------------------------- /auth/casbin/rbac/rbac_policy.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/casbin/rbac/rbac_policy.csv -------------------------------------------------------------------------------- /auth/casbin/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/casbin/src/main.rs -------------------------------------------------------------------------------- /auth/cookie-auth/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/cookie-auth/Cargo.toml -------------------------------------------------------------------------------- /auth/cookie-auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/cookie-auth/README.md -------------------------------------------------------------------------------- /auth/cookie-auth/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/cookie-auth/src/main.rs -------------------------------------------------------------------------------- /auth/cookie-session/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/cookie-session/Cargo.toml -------------------------------------------------------------------------------- /auth/cookie-session/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/cookie-session/README.md -------------------------------------------------------------------------------- /auth/cookie-session/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/cookie-session/src/main.rs -------------------------------------------------------------------------------- /auth/oauth-github/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/oauth-github/README.md -------------------------------------------------------------------------------- /auth/redis-session/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/redis-session/Cargo.toml -------------------------------------------------------------------------------- /auth/redis-session/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/redis-session/README.md -------------------------------------------------------------------------------- /auth/redis-session/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/redis-session/src/main.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/Cargo.toml -------------------------------------------------------------------------------- /auth/simple-auth-server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/README.md -------------------------------------------------------------------------------- /auth/simple-auth-server/diesel.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/diesel.toml -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/00000000000000_diesel_initial_setup/down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/migrations/00000000000000_diesel_initial_setup/down.sql -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/00000000000000_diesel_initial_setup/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/migrations/00000000000000_diesel_initial_setup/up.sql -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/2018-10-09-101948_users/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE users; 3 | -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/2018-10-09-101948_users/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/migrations/2018-10-09-101948_users/up.sql -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/2018-10-16-095633_invitations/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE invitations; 3 | -------------------------------------------------------------------------------- /auth/simple-auth-server/migrations/2018-10-16-095633_invitations/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/migrations/2018-10-16-095633_invitations/up.sql -------------------------------------------------------------------------------- /auth/simple-auth-server/src/auth_handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/auth_handler.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/email_service.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/email_service.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/errors.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/invitation_handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/invitation_handler.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/main.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/models.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/register_handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/register_handler.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/schema.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/src/utils.rs -------------------------------------------------------------------------------- /auth/simple-auth-server/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/static/index.html -------------------------------------------------------------------------------- /auth/simple-auth-server/static/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/static/main.css -------------------------------------------------------------------------------- /auth/simple-auth-server/static/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/static/main.js -------------------------------------------------------------------------------- /auth/simple-auth-server/static/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/auth/simple-auth-server/static/register.html -------------------------------------------------------------------------------- /background-jobs/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/background-jobs/Cargo.toml -------------------------------------------------------------------------------- /background-jobs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/background-jobs/README.md -------------------------------------------------------------------------------- /background-jobs/src/ephemeral_jobs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/background-jobs/src/ephemeral_jobs.rs -------------------------------------------------------------------------------- /background-jobs/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/background-jobs/src/main.rs -------------------------------------------------------------------------------- /background-jobs/src/persistent_jobs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/background-jobs/src/persistent_jobs.rs -------------------------------------------------------------------------------- /background-jobs/src/routes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/background-jobs/src/routes.rs -------------------------------------------------------------------------------- /basics/basics/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/Cargo.toml -------------------------------------------------------------------------------- /basics/basics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/README.md -------------------------------------------------------------------------------- /basics/basics/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/src/main.rs -------------------------------------------------------------------------------- /basics/basics/static/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/static/404.html -------------------------------------------------------------------------------- /basics/basics/static/actixLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/static/actixLogo.png -------------------------------------------------------------------------------- /basics/basics/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/static/favicon.ico -------------------------------------------------------------------------------- /basics/basics/static/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/basics/static/welcome.html -------------------------------------------------------------------------------- /basics/error-handling/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/error-handling/Cargo.toml -------------------------------------------------------------------------------- /basics/error-handling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/error-handling/README.md -------------------------------------------------------------------------------- /basics/error-handling/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/error-handling/src/main.rs -------------------------------------------------------------------------------- /basics/hello-world/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/hello-world/Cargo.toml -------------------------------------------------------------------------------- /basics/hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/hello-world/README.md -------------------------------------------------------------------------------- /basics/hello-world/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/hello-world/src/main.rs -------------------------------------------------------------------------------- /basics/nested-routing/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/Cargo.toml -------------------------------------------------------------------------------- /basics/nested-routing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/README.md -------------------------------------------------------------------------------- /basics/nested-routing/src/app_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/app_config.rs -------------------------------------------------------------------------------- /basics/nested-routing/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/common.rs -------------------------------------------------------------------------------- /basics/nested-routing/src/handlers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/handlers/mod.rs -------------------------------------------------------------------------------- /basics/nested-routing/src/handlers/parts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/handlers/parts.rs -------------------------------------------------------------------------------- /basics/nested-routing/src/handlers/products.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/handlers/products.rs -------------------------------------------------------------------------------- /basics/nested-routing/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/lib.rs -------------------------------------------------------------------------------- /basics/nested-routing/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/nested-routing/src/main.rs -------------------------------------------------------------------------------- /basics/state/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/state/Cargo.toml -------------------------------------------------------------------------------- /basics/state/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/state/README.md -------------------------------------------------------------------------------- /basics/state/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/state/src/main.rs -------------------------------------------------------------------------------- /basics/static-files/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/Cargo.toml -------------------------------------------------------------------------------- /basics/static-files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/README.md -------------------------------------------------------------------------------- /basics/static-files/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/src/main.rs -------------------------------------------------------------------------------- /basics/static-files/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/static/images/logo.png -------------------------------------------------------------------------------- /basics/static-files/static/root/css/example.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/static/root/css/example.css -------------------------------------------------------------------------------- /basics/static-files/static/root/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/static/root/favicon.ico -------------------------------------------------------------------------------- /basics/static-files/static/root/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/static/root/index.html -------------------------------------------------------------------------------- /basics/static-files/static/root/js/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/static-files/static/root/js/example.js -------------------------------------------------------------------------------- /basics/todo/.env: -------------------------------------------------------------------------------- 1 | DATABASE_URL=sqlite://${CARGO_MANIFEST_DIR}/todo.db 2 | SQLX_OFFLINE=true 3 | RUST_LOG=info 4 | -------------------------------------------------------------------------------- /basics/todo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/.gitignore -------------------------------------------------------------------------------- /basics/todo/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/Cargo.toml -------------------------------------------------------------------------------- /basics/todo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/README.md -------------------------------------------------------------------------------- /basics/todo/migrations/20220205163207_create_tasks_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE tasks; 2 | -------------------------------------------------------------------------------- /basics/todo/migrations/20220205163207_create_tasks_table.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/migrations/20220205163207_create_tasks_table.up.sql -------------------------------------------------------------------------------- /basics/todo/src/api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/src/api.rs -------------------------------------------------------------------------------- /basics/todo/src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/src/db.rs -------------------------------------------------------------------------------- /basics/todo/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/src/main.rs -------------------------------------------------------------------------------- /basics/todo/src/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/src/model.rs -------------------------------------------------------------------------------- /basics/todo/src/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/src/session.rs -------------------------------------------------------------------------------- /basics/todo/static/css/normalize.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/static/css/normalize.css -------------------------------------------------------------------------------- /basics/todo/static/css/skeleton.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/static/css/skeleton.css -------------------------------------------------------------------------------- /basics/todo/static/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/static/css/style.css -------------------------------------------------------------------------------- /basics/todo/static/errors/400.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/static/errors/400.html -------------------------------------------------------------------------------- /basics/todo/static/errors/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/static/errors/404.html -------------------------------------------------------------------------------- /basics/todo/static/errors/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/static/errors/500.html -------------------------------------------------------------------------------- /basics/todo/templates/index.html.tera: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/basics/todo/templates/index.html.tera -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/codecov.yml -------------------------------------------------------------------------------- /cors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/README.md -------------------------------------------------------------------------------- /cors/backend/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/backend/Cargo.toml -------------------------------------------------------------------------------- /cors/backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/backend/README.md -------------------------------------------------------------------------------- /cors/backend/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/backend/src/main.rs -------------------------------------------------------------------------------- /cors/backend/src/user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/backend/src/user.rs -------------------------------------------------------------------------------- /cors/frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/.gitignore -------------------------------------------------------------------------------- /cors/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/index.html -------------------------------------------------------------------------------- /cors/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/package-lock.json -------------------------------------------------------------------------------- /cors/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/package.json -------------------------------------------------------------------------------- /cors/frontend/src/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/src/app.vue -------------------------------------------------------------------------------- /cors/frontend/src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/src/main.js -------------------------------------------------------------------------------- /cors/frontend/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/cors/frontend/vite.config.js -------------------------------------------------------------------------------- /data-factory/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/data-factory/Cargo.toml -------------------------------------------------------------------------------- /data-factory/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/data-factory/README.md -------------------------------------------------------------------------------- /data-factory/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/data-factory/src/main.rs -------------------------------------------------------------------------------- /databases/diesel-async/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/Cargo.toml -------------------------------------------------------------------------------- /databases/diesel-async/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/README.md -------------------------------------------------------------------------------- /databases/diesel-async/diesel.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/diesel.toml -------------------------------------------------------------------------------- /databases/diesel-async/migrations/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /databases/diesel-async/migrations/00000000000000_diesel_initial_setup/down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/migrations/00000000000000_diesel_initial_setup/down.sql -------------------------------------------------------------------------------- /databases/diesel-async/migrations/00000000000000_diesel_initial_setup/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/migrations/00000000000000_diesel_initial_setup/up.sql -------------------------------------------------------------------------------- /databases/diesel-async/migrations/2025-01-18-144029_create_items/down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS items; 2 | -------------------------------------------------------------------------------- /databases/diesel-async/migrations/2025-01-18-144029_create_items/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/migrations/2025-01-18-144029_create_items/up.sql -------------------------------------------------------------------------------- /databases/diesel-async/src/actions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/src/actions.rs -------------------------------------------------------------------------------- /databases/diesel-async/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/src/main.rs -------------------------------------------------------------------------------- /databases/diesel-async/src/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/src/models.rs -------------------------------------------------------------------------------- /databases/diesel-async/src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel-async/src/schema.rs -------------------------------------------------------------------------------- /databases/diesel/.gitignore: -------------------------------------------------------------------------------- 1 | test.db 2 | -------------------------------------------------------------------------------- /databases/diesel/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/Cargo.toml -------------------------------------------------------------------------------- /databases/diesel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/README.md -------------------------------------------------------------------------------- /databases/diesel/migrations/20170124012402_create_users/down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE users 2 | -------------------------------------------------------------------------------- /databases/diesel/migrations/20170124012402_create_users/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/migrations/20170124012402_create_users/up.sql -------------------------------------------------------------------------------- /databases/diesel/src/actions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/src/actions.rs -------------------------------------------------------------------------------- /databases/diesel/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/src/main.rs -------------------------------------------------------------------------------- /databases/diesel/src/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/src/models.rs -------------------------------------------------------------------------------- /databases/diesel/src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/diesel/src/schema.rs -------------------------------------------------------------------------------- /databases/mongodb/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mongodb/Cargo.toml -------------------------------------------------------------------------------- /databases/mongodb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mongodb/README.md -------------------------------------------------------------------------------- /databases/mongodb/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mongodb/src/main.rs -------------------------------------------------------------------------------- /databases/mongodb/src/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mongodb/src/model.rs -------------------------------------------------------------------------------- /databases/mongodb/src/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mongodb/src/test.rs -------------------------------------------------------------------------------- /databases/mysql/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/Cargo.toml -------------------------------------------------------------------------------- /databases/mysql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/README.md -------------------------------------------------------------------------------- /databases/mysql/apis/bank.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/apis/bank.md -------------------------------------------------------------------------------- /databases/mysql/apis/branch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/apis/branch.md -------------------------------------------------------------------------------- /databases/mysql/apis/customer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/apis/customer.md -------------------------------------------------------------------------------- /databases/mysql/apis/teller.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/apis/teller.md -------------------------------------------------------------------------------- /databases/mysql/sql/0_create_database.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/sql/0_create_database.sql -------------------------------------------------------------------------------- /databases/mysql/sql/1_bank_details.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/sql/1_bank_details.sql -------------------------------------------------------------------------------- /databases/mysql/sql/2_branch_details.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/sql/2_branch_details.sql -------------------------------------------------------------------------------- /databases/mysql/sql/3_customer_details.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/sql/3_customer_details.sql -------------------------------------------------------------------------------- /databases/mysql/sql/4_teller_details.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/sql/4_teller_details.sql -------------------------------------------------------------------------------- /databases/mysql/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/src/main.rs -------------------------------------------------------------------------------- /databases/mysql/src/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/src/models.rs -------------------------------------------------------------------------------- /databases/mysql/src/persistence.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/src/persistence.rs -------------------------------------------------------------------------------- /databases/mysql/src/routes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/mysql/src/routes.rs -------------------------------------------------------------------------------- /databases/postgres/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | .env 4 | -------------------------------------------------------------------------------- /databases/postgres/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/Cargo.toml -------------------------------------------------------------------------------- /databases/postgres/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/README.md -------------------------------------------------------------------------------- /databases/postgres/sql/add_user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/sql/add_user.sql -------------------------------------------------------------------------------- /databases/postgres/sql/get_users.sql: -------------------------------------------------------------------------------- 1 | SELECT $table_fields FROM testing.users; 2 | -------------------------------------------------------------------------------- /databases/postgres/sql/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/sql/schema.sql -------------------------------------------------------------------------------- /databases/postgres/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/src/config.rs -------------------------------------------------------------------------------- /databases/postgres/src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/src/db.rs -------------------------------------------------------------------------------- /databases/postgres/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/src/errors.rs -------------------------------------------------------------------------------- /databases/postgres/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/src/main.rs -------------------------------------------------------------------------------- /databases/postgres/src/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/postgres/src/models.rs -------------------------------------------------------------------------------- /databases/rbatis/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/rbatis/README.md -------------------------------------------------------------------------------- /databases/redis/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/redis/Cargo.toml -------------------------------------------------------------------------------- /databases/redis/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/redis/README.md -------------------------------------------------------------------------------- /databases/redis/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/redis/src/main.rs -------------------------------------------------------------------------------- /databases/sea-orm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sea-orm/README.md -------------------------------------------------------------------------------- /databases/sqlite/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/.gitignore -------------------------------------------------------------------------------- /databases/sqlite/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/Cargo.toml -------------------------------------------------------------------------------- /databases/sqlite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/README.md -------------------------------------------------------------------------------- /databases/sqlite/db/GHCND_documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/db/GHCND_documentation.pdf -------------------------------------------------------------------------------- /databases/sqlite/db/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/db/README.md -------------------------------------------------------------------------------- /databases/sqlite/db/db.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/db/db.sql -------------------------------------------------------------------------------- /databases/sqlite/db/nyc_centralpark_weather.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/db/nyc_centralpark_weather.csv -------------------------------------------------------------------------------- /databases/sqlite/db/setup_db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/db/setup_db.sh -------------------------------------------------------------------------------- /databases/sqlite/src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/src/db.rs -------------------------------------------------------------------------------- /databases/sqlite/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/databases/sqlite/src/main.rs -------------------------------------------------------------------------------- /docker/.dockerignore: -------------------------------------------------------------------------------- 1 | Dockerfile 2 | -------------------------------------------------------------------------------- /docker/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/docker/Cargo.toml -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/docker/README.md -------------------------------------------------------------------------------- /docker/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/docker/src/main.rs -------------------------------------------------------------------------------- /examples-common/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/examples-common/Cargo.toml -------------------------------------------------------------------------------- /examples-common/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/examples-common/src/lib.rs -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/flake.nix -------------------------------------------------------------------------------- /forms/form/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/form/Cargo.toml -------------------------------------------------------------------------------- /forms/form/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/form/README.md -------------------------------------------------------------------------------- /forms/form/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/form/src/main.rs -------------------------------------------------------------------------------- /forms/form/static/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/form/static/form.html -------------------------------------------------------------------------------- /forms/multipart-s3/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/.env.example -------------------------------------------------------------------------------- /forms/multipart-s3/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | .env 3 | /tmp -------------------------------------------------------------------------------- /forms/multipart-s3/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/Cargo.toml -------------------------------------------------------------------------------- /forms/multipart-s3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/README.md -------------------------------------------------------------------------------- /forms/multipart-s3/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/src/client.rs -------------------------------------------------------------------------------- /forms/multipart-s3/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/src/index.html -------------------------------------------------------------------------------- /forms/multipart-s3/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/src/main.rs -------------------------------------------------------------------------------- /forms/multipart-s3/src/upload_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart-s3/src/upload_file.rs -------------------------------------------------------------------------------- /forms/multipart/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | /tmp 4 | -------------------------------------------------------------------------------- /forms/multipart/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart/Cargo.toml -------------------------------------------------------------------------------- /forms/multipart/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart/LICENSE -------------------------------------------------------------------------------- /forms/multipart/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart/README.md -------------------------------------------------------------------------------- /forms/multipart/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/forms/multipart/src/main.rs -------------------------------------------------------------------------------- /graphql/async-graphql/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/async-graphql/Cargo.toml -------------------------------------------------------------------------------- /graphql/async-graphql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/async-graphql/README.md -------------------------------------------------------------------------------- /graphql/async-graphql/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/async-graphql/src/main.rs -------------------------------------------------------------------------------- /graphql/async-graphql/src/star_wars/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/async-graphql/src/star_wars/mod.rs -------------------------------------------------------------------------------- /graphql/async-graphql/src/star_wars/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/async-graphql/src/star_wars/model.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/.env.example: -------------------------------------------------------------------------------- 1 | DATABASE_URL=mysql://user:password@127.0.0.1/graphql_testing 2 | -------------------------------------------------------------------------------- /graphql/juniper-advanced/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/Cargo.toml -------------------------------------------------------------------------------- /graphql/juniper-advanced/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/README.md -------------------------------------------------------------------------------- /graphql/juniper-advanced/mysql-schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/mysql-schema.sql -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/db.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/handlers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/handlers.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/main.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/schemas/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/schemas/mod.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/schemas/product.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/schemas/product.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/schemas/root.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/schemas/root.rs -------------------------------------------------------------------------------- /graphql/juniper-advanced/src/schemas/user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper-advanced/src/schemas/user.rs -------------------------------------------------------------------------------- /graphql/juniper/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper/Cargo.toml -------------------------------------------------------------------------------- /graphql/juniper/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper/README.md -------------------------------------------------------------------------------- /graphql/juniper/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper/src/main.rs -------------------------------------------------------------------------------- /graphql/juniper/src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/graphql/juniper/src/schema.rs -------------------------------------------------------------------------------- /guards/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/guards/Cargo.toml -------------------------------------------------------------------------------- /guards/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/guards/README.md -------------------------------------------------------------------------------- /guards/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/guards/src/main.rs -------------------------------------------------------------------------------- /http-proxy/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/http-proxy/Cargo.toml -------------------------------------------------------------------------------- /http-proxy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/http-proxy/README.md -------------------------------------------------------------------------------- /http-proxy/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/http-proxy/src/main.rs -------------------------------------------------------------------------------- /https-tls/acme-letsencrypt/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/acme-letsencrypt/Cargo.toml -------------------------------------------------------------------------------- /https-tls/acme-letsencrypt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/acme-letsencrypt/README.md -------------------------------------------------------------------------------- /https-tls/acme-letsencrypt/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/acme-letsencrypt/src/main.rs -------------------------------------------------------------------------------- /https-tls/awc-https/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/awc-https/Cargo.toml -------------------------------------------------------------------------------- /https-tls/awc-https/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/awc-https/README.md -------------------------------------------------------------------------------- /https-tls/awc-https/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/awc-https/src/main.rs -------------------------------------------------------------------------------- /https-tls/cert-watch/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/cert-watch/Cargo.toml -------------------------------------------------------------------------------- /https-tls/cert-watch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/cert-watch/README.md -------------------------------------------------------------------------------- /https-tls/cert-watch/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/cert-watch/cert.pem -------------------------------------------------------------------------------- /https-tls/cert-watch/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/cert-watch/key.pem -------------------------------------------------------------------------------- /https-tls/cert-watch/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/cert-watch/src/main.rs -------------------------------------------------------------------------------- /https-tls/hot-reload/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/hot-reload/Cargo.toml -------------------------------------------------------------------------------- /https-tls/hot-reload/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/hot-reload/README.md -------------------------------------------------------------------------------- /https-tls/hot-reload/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/hot-reload/cert.pem -------------------------------------------------------------------------------- /https-tls/hot-reload/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/hot-reload/key.pem -------------------------------------------------------------------------------- /https-tls/hot-reload/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/hot-reload/src/main.rs -------------------------------------------------------------------------------- /https-tls/openssl/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/openssl/Cargo.toml -------------------------------------------------------------------------------- /https-tls/openssl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/openssl/README.md -------------------------------------------------------------------------------- /https-tls/openssl/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/openssl/cert.pem -------------------------------------------------------------------------------- /https-tls/openssl/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/openssl/key.pem -------------------------------------------------------------------------------- /https-tls/openssl/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/openssl/src/main.rs -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/Cargo.toml -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/README.md -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/certs/client-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/certs/client-cert.pem -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/certs/client-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/certs/client-key.pem -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/certs/rootCA-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/certs/rootCA-key.pem -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/certs/rootCA.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/certs/rootCA.pem -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/certs/server-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/certs/server-cert.pem -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/certs/server-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/certs/server-key.pem -------------------------------------------------------------------------------- /https-tls/rustls-client-cert/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls-client-cert/src/main.rs -------------------------------------------------------------------------------- /https-tls/rustls/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls/Cargo.toml -------------------------------------------------------------------------------- /https-tls/rustls/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls/README.md -------------------------------------------------------------------------------- /https-tls/rustls/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls/cert.pem -------------------------------------------------------------------------------- /https-tls/rustls/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls/key.pem -------------------------------------------------------------------------------- /https-tls/rustls/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/https-tls/rustls/src/main.rs -------------------------------------------------------------------------------- /json/json-decode-error/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-decode-error/Cargo.toml -------------------------------------------------------------------------------- /json/json-decode-error/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-decode-error/README.md -------------------------------------------------------------------------------- /json/json-decode-error/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-decode-error/src/main.rs -------------------------------------------------------------------------------- /json/json-error/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-error/Cargo.toml -------------------------------------------------------------------------------- /json/json-error/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-error/src/main.rs -------------------------------------------------------------------------------- /json/json-validation/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-validation/Cargo.toml -------------------------------------------------------------------------------- /json/json-validation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-validation/README.md -------------------------------------------------------------------------------- /json/json-validation/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json-validation/src/main.rs -------------------------------------------------------------------------------- /json/json/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json/Cargo.toml -------------------------------------------------------------------------------- /json/json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json/README.md -------------------------------------------------------------------------------- /json/json/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json/client.py -------------------------------------------------------------------------------- /json/json/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/json/src/main.rs -------------------------------------------------------------------------------- /json/jsonrpc/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/jsonrpc/Cargo.toml -------------------------------------------------------------------------------- /json/jsonrpc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/jsonrpc/README.md -------------------------------------------------------------------------------- /json/jsonrpc/src/convention.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/jsonrpc/src/convention.rs -------------------------------------------------------------------------------- /json/jsonrpc/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/jsonrpc/src/main.rs -------------------------------------------------------------------------------- /json/jsonrpc/tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/json/jsonrpc/tests/test_client.py -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/justfile -------------------------------------------------------------------------------- /middleware/encrypted-payloads/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/encrypted-payloads/Cargo.toml -------------------------------------------------------------------------------- /middleware/encrypted-payloads/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/encrypted-payloads/README.md -------------------------------------------------------------------------------- /middleware/encrypted-payloads/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/encrypted-payloads/src/main.rs -------------------------------------------------------------------------------- /middleware/http-to-https/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/http-to-https/Cargo.toml -------------------------------------------------------------------------------- /middleware/http-to-https/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/http-to-https/README.md -------------------------------------------------------------------------------- /middleware/http-to-https/cert.pem: -------------------------------------------------------------------------------- 1 | ../../https-tls/rustls/cert.pem -------------------------------------------------------------------------------- /middleware/http-to-https/key.pem: -------------------------------------------------------------------------------- 1 | ../../https-tls/rustls/key.pem -------------------------------------------------------------------------------- /middleware/http-to-https/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/http-to-https/src/main.rs -------------------------------------------------------------------------------- /middleware/rate-limit/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/rate-limit/Cargo.toml -------------------------------------------------------------------------------- /middleware/rate-limit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/rate-limit/README.md -------------------------------------------------------------------------------- /middleware/rate-limit/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/rate-limit/src/main.rs -------------------------------------------------------------------------------- /middleware/rate-limit/src/rate_limit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/rate-limit/src/rate_limit.rs -------------------------------------------------------------------------------- /middleware/request-extensions/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/request-extensions/Cargo.toml -------------------------------------------------------------------------------- /middleware/request-extensions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/request-extensions/README.md -------------------------------------------------------------------------------- /middleware/request-extensions/src/add_msg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/request-extensions/src/add_msg.rs -------------------------------------------------------------------------------- /middleware/request-extensions/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/request-extensions/src/main.rs -------------------------------------------------------------------------------- /middleware/various/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/Cargo.toml -------------------------------------------------------------------------------- /middleware/various/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/README.md -------------------------------------------------------------------------------- /middleware/various/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/src/main.rs -------------------------------------------------------------------------------- /middleware/various/src/read_request_body.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/src/read_request_body.rs -------------------------------------------------------------------------------- /middleware/various/src/read_response_body.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/src/read_response_body.rs -------------------------------------------------------------------------------- /middleware/various/src/redirect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/src/redirect.rs -------------------------------------------------------------------------------- /middleware/various/src/simple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/middleware/various/src/simple.rs -------------------------------------------------------------------------------- /protobuf/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/.gitignore -------------------------------------------------------------------------------- /protobuf/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/Cargo.toml -------------------------------------------------------------------------------- /protobuf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/README.md -------------------------------------------------------------------------------- /protobuf/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/client.py -------------------------------------------------------------------------------- /protobuf/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/src/main.rs -------------------------------------------------------------------------------- /protobuf/test.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/test.proto -------------------------------------------------------------------------------- /protobuf/test_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/protobuf/test_pb2.py -------------------------------------------------------------------------------- /run-in-thread/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/run-in-thread/Cargo.toml -------------------------------------------------------------------------------- /run-in-thread/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/run-in-thread/src/main.rs -------------------------------------------------------------------------------- /server-sent-events/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/Cargo.toml -------------------------------------------------------------------------------- /server-sent-events/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/README.md -------------------------------------------------------------------------------- /server-sent-events/benchmark.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/benchmark.js -------------------------------------------------------------------------------- /server-sent-events/drain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/drain.js -------------------------------------------------------------------------------- /server-sent-events/src/broadcast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/src/broadcast.rs -------------------------------------------------------------------------------- /server-sent-events/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/src/index.html -------------------------------------------------------------------------------- /server-sent-events/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/server-sent-events/src/main.rs -------------------------------------------------------------------------------- /shutdown-server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/shutdown-server/Cargo.toml -------------------------------------------------------------------------------- /shutdown-server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/shutdown-server/README.md -------------------------------------------------------------------------------- /shutdown-server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/shutdown-server/src/main.rs -------------------------------------------------------------------------------- /templating/askama/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/askama/Cargo.toml -------------------------------------------------------------------------------- /templating/askama/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/askama/src/main.rs -------------------------------------------------------------------------------- /templating/askama/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/askama/templates/index.html -------------------------------------------------------------------------------- /templating/askama/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/askama/templates/user.html -------------------------------------------------------------------------------- /templating/fluent/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/Cargo.toml -------------------------------------------------------------------------------- /templating/fluent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/README.md -------------------------------------------------------------------------------- /templating/fluent/locales/en/main.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/locales/en/main.ftl -------------------------------------------------------------------------------- /templating/fluent/locales/fr/main.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/locales/fr/main.ftl -------------------------------------------------------------------------------- /templating/fluent/src/lang_choice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/src/lang_choice.rs -------------------------------------------------------------------------------- /templating/fluent/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/src/main.rs -------------------------------------------------------------------------------- /templating/fluent/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/templates/error.html -------------------------------------------------------------------------------- /templating/fluent/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/templates/index.html -------------------------------------------------------------------------------- /templating/fluent/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/fluent/templates/user.html -------------------------------------------------------------------------------- /templating/handlebars/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/handlebars/Cargo.toml -------------------------------------------------------------------------------- /templating/handlebars/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/handlebars/README.md -------------------------------------------------------------------------------- /templating/handlebars/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/handlebars/src/main.rs -------------------------------------------------------------------------------- /templating/handlebars/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/handlebars/templates/error.html -------------------------------------------------------------------------------- /templating/handlebars/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/handlebars/templates/index.html -------------------------------------------------------------------------------- /templating/handlebars/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/handlebars/templates/user.html -------------------------------------------------------------------------------- /templating/minijinja/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/minijinja/Cargo.toml -------------------------------------------------------------------------------- /templating/minijinja/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/minijinja/README.md -------------------------------------------------------------------------------- /templating/minijinja/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/minijinja/src/main.rs -------------------------------------------------------------------------------- /templating/minijinja/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/minijinja/templates/error.html -------------------------------------------------------------------------------- /templating/minijinja/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/minijinja/templates/index.html -------------------------------------------------------------------------------- /templating/minijinja/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/minijinja/templates/user.html -------------------------------------------------------------------------------- /templating/sailfish/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/sailfish/Cargo.toml -------------------------------------------------------------------------------- /templating/sailfish/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/sailfish/README.md -------------------------------------------------------------------------------- /templating/sailfish/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/sailfish/src/main.rs -------------------------------------------------------------------------------- /templating/sailfish/templates/actix.stpl: -------------------------------------------------------------------------------- 1 | Hello user, <%= name %>!!! 2 | -------------------------------------------------------------------------------- /templating/sailfish/templates/page.stpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/sailfish/templates/page.stpl -------------------------------------------------------------------------------- /templating/tera/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tera/Cargo.toml -------------------------------------------------------------------------------- /templating/tera/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tera/README.md -------------------------------------------------------------------------------- /templating/tera/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tera/src/main.rs -------------------------------------------------------------------------------- /templating/tera/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tera/templates/error.html -------------------------------------------------------------------------------- /templating/tera/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tera/templates/index.html -------------------------------------------------------------------------------- /templating/tera/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tera/templates/user.html -------------------------------------------------------------------------------- /templating/tinytemplate/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tinytemplate/Cargo.toml -------------------------------------------------------------------------------- /templating/tinytemplate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tinytemplate/README.md -------------------------------------------------------------------------------- /templating/tinytemplate/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tinytemplate/src/main.rs -------------------------------------------------------------------------------- /templating/tinytemplate/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tinytemplate/templates/error.html -------------------------------------------------------------------------------- /templating/tinytemplate/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tinytemplate/templates/index.html -------------------------------------------------------------------------------- /templating/tinytemplate/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/tinytemplate/templates/user.html -------------------------------------------------------------------------------- /templating/yarte/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/Cargo.toml -------------------------------------------------------------------------------- /templating/yarte/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/README.md -------------------------------------------------------------------------------- /templating/yarte/build.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | yarte_helpers::recompile::when_changed(); 3 | } 4 | -------------------------------------------------------------------------------- /templating/yarte/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/src/main.rs -------------------------------------------------------------------------------- /templating/yarte/templates/base.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/templates/base.hbs -------------------------------------------------------------------------------- /templating/yarte/templates/deep/more/card/form.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/templates/deep/more/card/form.hbs -------------------------------------------------------------------------------- /templating/yarte/templates/deep/more/card/hi.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/templates/deep/more/card/hi.hbs -------------------------------------------------------------------------------- /templating/yarte/templates/deep/more/deep/welcome.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/templates/deep/more/deep/welcome.hbs -------------------------------------------------------------------------------- /templating/yarte/templates/deep/more/doc/head.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/templates/deep/more/doc/head.hbs -------------------------------------------------------------------------------- /templating/yarte/templates/deep/more/doc/t.hbs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /templating/yarte/templates/index.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/templates/index.hbs -------------------------------------------------------------------------------- /templating/yarte/yarte.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/templating/yarte/yarte.toml -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/.env.example: -------------------------------------------------------------------------------- 1 | RUST_LOG="info,mainmatter_workshop=trace" 2 | HONEYCOMB_API_KEY="..." 3 | -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/Cargo.toml -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/README.md -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/src/logging.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/src/logging.rs -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/src/main.rs -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/src/metric_names.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/src/metric_names.rs -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/src/middleware.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/src/middleware.rs -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/src/prometheus.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/src/prometheus.rs -------------------------------------------------------------------------------- /tracing/mainmatter-workshop/src/routes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/tracing/mainmatter-workshop/src/routes.rs -------------------------------------------------------------------------------- /unix-socket/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/unix-socket/Cargo.toml -------------------------------------------------------------------------------- /unix-socket/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/unix-socket/README.md -------------------------------------------------------------------------------- /unix-socket/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/unix-socket/src/main.rs -------------------------------------------------------------------------------- /weather.db: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /websockets/autobahn/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/autobahn/Cargo.toml -------------------------------------------------------------------------------- /websockets/autobahn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/autobahn/README.md -------------------------------------------------------------------------------- /websockets/autobahn/config/fuzzingclient.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/autobahn/config/fuzzingclient.json -------------------------------------------------------------------------------- /websockets/autobahn/reports/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /websockets/autobahn/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/autobahn/src/main.rs -------------------------------------------------------------------------------- /websockets/chat-actorless/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-actorless/Cargo.toml -------------------------------------------------------------------------------- /websockets/chat-actorless/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-actorless/README.md -------------------------------------------------------------------------------- /websockets/chat-actorless/src/handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-actorless/src/handler.rs -------------------------------------------------------------------------------- /websockets/chat-actorless/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-actorless/src/main.rs -------------------------------------------------------------------------------- /websockets/chat-actorless/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-actorless/src/server.rs -------------------------------------------------------------------------------- /websockets/chat-actorless/static/index.html: -------------------------------------------------------------------------------- 1 | ../../chat/static/index.html -------------------------------------------------------------------------------- /websockets/chat-broker/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/Cargo.toml -------------------------------------------------------------------------------- /websockets/chat-broker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/README.md -------------------------------------------------------------------------------- /websockets/chat-broker/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/client.py -------------------------------------------------------------------------------- /websockets/chat-broker/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/src/main.rs -------------------------------------------------------------------------------- /websockets/chat-broker/src/message.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/src/message.rs -------------------------------------------------------------------------------- /websockets/chat-broker/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/src/server.rs -------------------------------------------------------------------------------- /websockets/chat-broker/src/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/src/session.rs -------------------------------------------------------------------------------- /websockets/chat-broker/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-broker/static/index.html -------------------------------------------------------------------------------- /websockets/chat-tcp/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/Cargo.toml -------------------------------------------------------------------------------- /websockets/chat-tcp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/README.md -------------------------------------------------------------------------------- /websockets/chat-tcp/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/client.py -------------------------------------------------------------------------------- /websockets/chat-tcp/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/src/client.rs -------------------------------------------------------------------------------- /websockets/chat-tcp/src/codec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/src/codec.rs -------------------------------------------------------------------------------- /websockets/chat-tcp/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/src/main.rs -------------------------------------------------------------------------------- /websockets/chat-tcp/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/src/server.rs -------------------------------------------------------------------------------- /websockets/chat-tcp/src/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/src/session.rs -------------------------------------------------------------------------------- /websockets/chat-tcp/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat-tcp/static/index.html -------------------------------------------------------------------------------- /websockets/chat/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/Cargo.toml -------------------------------------------------------------------------------- /websockets/chat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/README.md -------------------------------------------------------------------------------- /websockets/chat/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/client.py -------------------------------------------------------------------------------- /websockets/chat/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp 2 | -------------------------------------------------------------------------------- /websockets/chat/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/src/main.rs -------------------------------------------------------------------------------- /websockets/chat/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/src/server.rs -------------------------------------------------------------------------------- /websockets/chat/src/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/src/session.rs -------------------------------------------------------------------------------- /websockets/chat/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/chat/static/index.html -------------------------------------------------------------------------------- /websockets/echo-actorless/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo-actorless/Cargo.toml -------------------------------------------------------------------------------- /websockets/echo-actorless/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo-actorless/README.md -------------------------------------------------------------------------------- /websockets/echo-actorless/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo-actorless/src/client.rs -------------------------------------------------------------------------------- /websockets/echo-actorless/src/handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo-actorless/src/handler.rs -------------------------------------------------------------------------------- /websockets/echo-actorless/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo-actorless/src/main.rs -------------------------------------------------------------------------------- /websockets/echo-actorless/static/index.html: -------------------------------------------------------------------------------- 1 | ../../echo/static/index.html -------------------------------------------------------------------------------- /websockets/echo/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo/Cargo.toml -------------------------------------------------------------------------------- /websockets/echo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo/README.md -------------------------------------------------------------------------------- /websockets/echo/src/client.rs: -------------------------------------------------------------------------------- 1 | ../../echo-actorless/src/client.rs -------------------------------------------------------------------------------- /websockets/echo/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo/src/main.rs -------------------------------------------------------------------------------- /websockets/echo/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo/src/server.rs -------------------------------------------------------------------------------- /websockets/echo/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo/static/index.html -------------------------------------------------------------------------------- /websockets/echo/websocket-client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actix/examples/HEAD/websockets/echo/websocket-client.py --------------------------------------------------------------------------------