{"id":20029516,"url":"https://github.com/http-rs/tide-rustls","last_synced_at":"2025-05-05T03:32:26.419Z","repository":{"id":51076050,"uuid":"274735167","full_name":"http-rs/tide-rustls","owner":"http-rs","description":"TLS listener for tide based on rustls","archived":false,"fork":false,"pushed_at":"2022-09-13T13:51:03.000Z","size":124,"stargazers_count":31,"open_issues_count":3,"forks_count":11,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-08T16:11:12.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/http-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-24T17:57:24.000Z","updated_at":"2024-10-28T13:23:32.000Z","dependencies_parsed_at":"2023-01-18T06:15:21.486Z","dependency_job_id":null,"html_url":"https://github.com/http-rs/tide-rustls","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-rustls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-rustls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-rustls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-rustls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http-rs","download_url":"https://codeload.github.com/http-rs/tide-rustls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252435274,"owners_count":21747383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:20:43.142Z","updated_at":"2025-05-05T03:32:25.958Z","avatar_url":"https://github.com/http-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tide rustls listener\n\n## tls listener for [tide](https://github.com/http-rs/tide) based on [async-rustls](https://github.com/smol-rs/async-rustls)\n\n* [CI ![CI][ci-badge]][ci]\n* [API Docs][docs] [![docs.rs docs][docs-badge]][docs]\n* [Releases][releases] [![crates.io version][version-badge]][lib-rs]\n\n[ci]: https://github.com/http-rs/tide-rustls/actions?query=workflow%3ACI\n[ci-badge]: https://github.com/http-rs/tide-rustls/workflows/CI/badge.svg\n[releases]: https://github.com/http-rs/tide-rustls/releases\n[docs]: https://docs.rs/tide-rustls\n[lib-rs]: https://lib.rs/tide-rustls\n[docs-badge]: https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square\n[version-badge]: https://img.shields.io/crates/v/tide-rustls.svg?style=flat-square\n\n## Installation\n```sh\n$ cargo add tide-rustls\n```\n\n## Using with tide\n```rust\n#[async_std::main]\nasync fn main() -\u003e tide::Result\u003c()\u003e {\n    let mut app = tide::new();\n    app.at(\"/\").get(|_| async { Ok(\"Hello TLS\") });\n    app.listen(\n        TlsListener::build()\n            .addrs(\"localhost:4433\")\n            .cert(std::env::var(\"TIDE_CERT_PATH\").unwrap())\n            .key(std::env::var(\"TIDE_KEY_PATH\").unwrap()),\n        )\n        .await?;\n    Ok(())\n}\n```\n\n## Safety\nThis crate uses ``#![deny(unsafe_code)]`` to ensure everything is implemented in\n100% Safe Rust.\n\n## License\n\n\u003csup\u003e\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\n\u003c/sup\u003e\n\n\u003cbr/\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-rs%2Ftide-rustls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp-rs%2Ftide-rustls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-rs%2Ftide-rustls/lists"}