| Crates.io | armature-acme |
| lib.rs | armature-acme |
| version | 0.1.1 |
| created_at | 2025-12-26 20:41:37.363093+00 |
| updated_at | 2025-12-28 23:42:49.238263+00 |
| description | ACME protocol support for automatic TLS certificates in Armature |
| homepage | https://pegasusheavy.github.io/armature |
| repository | https://github.com/pegasusheavy/armature |
| max_upload_size | |
| id | 2006223 |
| size | 110,923 |
ACME/Let's Encrypt certificate automation for the Armature framework.
[dependencies]
armature-acme = "0.1"
use armature_acme::AcmeConfig;
let app = Application::new()
.with_acme(AcmeConfig {
domains: vec!["example.com", "www.example.com"],
email: "admin@example.com",
staging: false, // Use production Let's Encrypt
})
.get("/", handler);
app.listen_tls("0.0.0.0:443").await?;
// Use Let's Encrypt staging for testing
let config = AcmeConfig::staging(vec!["example.com"], "admin@example.com");
let config = AcmeConfig::new(domains, email)
.certificate_path("/etc/ssl/certs")
.key_path("/etc/ssl/private");
MIT OR Apache-2.0