{"id":28562645,"url":"https://github.com/rustls/futures-rustls","last_synced_at":"2025-12-12T16:46:38.632Z","repository":{"id":53341110,"uuid":"322773964","full_name":"rustls/futures-rustls","owner":"rustls","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-15T02:25:18.000Z","size":102,"stargazers_count":16,"open_issues_count":2,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-08T00:08:38.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-19T05:26:36.000Z","updated_at":"2025-03-15T02:25:22.000Z","dependencies_parsed_at":"2024-01-15T03:44:09.831Z","dependency_job_id":"e31bddef-2e53-4401-a3fb-cebbc45844a6","html_url":"https://github.com/rustls/futures-rustls","commit_stats":null,"previous_names":["quininer/futures-rustls"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustls%2Ffutures-rustls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustls%2Ffutures-rustls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustls%2Ffutures-rustls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustls%2Ffutures-rustls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustls","download_url":"https://codeload.github.com/rustls/futures-rustls/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustls%2Ffutures-rustls/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259072991,"owners_count":22801090,"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":"2025-06-10T12:10:45.245Z","updated_at":"2025-12-12T16:46:33.600Z","avatar_url":"https://github.com/rustls.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# futures-rustls\n[![crates](https://img.shields.io/crates/v/futures-rustls.svg)](https://crates.io/crates/futures-rustls)\n[![docs.rs](https://docs.rs/futures-rustls/badge.svg)](https://docs.rs/futures-rustls/)\n\nAsynchronous TLS/SSL streams for futures using\n[Rustls](https://github.com/rustls/rustls).\n\n### Basic Structure of a Client\n\n```rust\nuse webpki::DNSNameRef;\nuse futures_rustls::{ TlsConnector, rustls::ClientConfig };\n\n// ...\n\nlet mut config = ClientConfig::new();\nconfig.root_store.add_server_trust_anchors(\u0026webpki_roots::TLS_SERVER_ROOTS);\nlet config = TlsConnector::from(Arc::new(config));\nlet dnsname = DNSNameRef::try_from_ascii_str(\"www.rust-lang.org\").unwrap();\n\nlet stream = TcpStream::connect(\u0026addr).await?;\nlet mut stream = config.connect(dnsname, stream).await?;\n\n// ...\n```\n\n### License \u0026 Origin\n\nThis project is licensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or\n   http://opensource.org/licenses/MIT)\n\nat your option.\n\nThis started as a fork of [tokio-rustls](https://github.com/rustls/tokio-rustls).\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in futures-rustls by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustls%2Ffutures-rustls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustls%2Ffutures-rustls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustls%2Ffutures-rustls/lists"}