├── requirements.in ├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── .vscode └── settings.json ├── .gitignore ├── tf ├── .terraformrc └── main.tf ├── .gitmodules ├── .pre-commit-config.yaml ├── tests └── run_tf_test.rs ├── terraform ├── Cargo.toml ├── make-release.py ├── README.md ├── requirements.txt ├── src ├── main.rs └── server.rs ├── LICENSE └── Cargo.lock /requirements.in: -------------------------------------------------------------------------------- 1 | pip-tools 2 | pre-commit -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | --- 2 | github: palfrey 3 | ko_fi: palfrey 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "rust-analyzer.cargo.loadOutDirsFromCheck": true 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .terraform 2 | /target 3 | .terraform.tfstate.lock.info 4 | terraform.tfstate 5 | *.log -------------------------------------------------------------------------------- /tf/.terraformrc: -------------------------------------------------------------------------------- 1 | provider_installation { 2 | dev_overrides { 3 | "examplecorp/helloworld" = "../target/debug" 4 | } 5 | 6 | direct {} 7 | } -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "external/terraform"] 2 | path = external/terraform 3 | url = https://github.com/hashicorp/terraform 4 | [submodule "external/go-plugin"] 5 | path = external/go-plugin 6 | url = git@github.com:hashicorp/go-plugin.git 7 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | repos: 3 | - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt 4 | rev: 0.1.0 5 | hooks: 6 | - id: yamlfmt 7 | - repo: https://github.com/doublify/pre-commit-rust 8 | rev: v1.0 9 | hooks: 10 | - id: fmt 11 | -------------------------------------------------------------------------------- /tf/main.tf: -------------------------------------------------------------------------------- 1 | terraform { 2 | required_providers { 3 | helloworld = { 4 | source = "examplecorp/helloworld" 5 | version = ">= 1.0" 6 | } 7 | } 8 | } 9 | 10 | provider "helloworld" { 11 | foo = "bar" 12 | } 13 | 14 | resource "helloworld_thing" "test" { 15 | bar = "baz" 16 | } -------------------------------------------------------------------------------- /tests/run_tf_test.rs: -------------------------------------------------------------------------------- 1 | use std::{env, process::Command}; 2 | 3 | #[test] 4 | fn run_tf() { 5 | let path = env::current_dir().unwrap(); 6 | let test_path = path.join("tf"); 7 | env::set_var("TF_LOG", "trace"); 8 | env::set_current_dir(test_path).unwrap(); 9 | let status = Command::new("../terraform").arg("plan").status().unwrap(); 10 | assert!(status.success()); 11 | } 12 | -------------------------------------------------------------------------------- /terraform: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -eu -o pipefail 3 | 4 | TF_ROOT=$(dirname $(realpath $0)) 5 | ROOT=$(dirname ${TF_ROOT}) 6 | TF_FOLDER=${TF_ROOT}/.terraform 7 | 8 | if [ ! -f ${TF_FOLDER}/terraform ]; then 9 | mkdir -p ${TF_FOLDER} 10 | (cd ${TF_FOLDER} && wget https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip) 11 | unzip -d ${TF_FOLDER} ${TF_FOLDER}/terraform_0.14.7_linux_amd64.zip 12 | fi 13 | 14 | export TF_CLI_CONFIG_FILE=.terraformrc 15 | 16 | ${TF_FOLDER}/terraform $* 17 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "terraform-provider-helloworld" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | tonic = {version = "0.6", features = ["tls"] } 8 | prost = "0.9" 9 | tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] } 10 | async-trait = "0.1" 11 | futures = "0.3" 12 | futures-core = "0.3" 13 | anyhow = "1" 14 | tracing = "0.1" 15 | tracing-subscriber = { version = "0.3", features = ["json", "fmt", "std"] } 16 | rcgen = "0.8" 17 | base64 = "0.13" 18 | tower-http = {version = "0.1", features=["trace"] } 19 | rustls = {version = "0.19", features=["dangerous_configuration"]} 20 | webpki = "0.21" 21 | x509-parser = "0.12" 22 | async-stream = "0.3" 23 | 24 | [build-dependencies] 25 | tonic-build = "0.6" 26 | -------------------------------------------------------------------------------- /make-release.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import shutil 3 | import subprocess 4 | 5 | if len(sys.argv) != 2: 6 | raise Exception("Expected version") 7 | 8 | version = sys.argv[1] 9 | 10 | subprocess.check_call(["strip", "target/debug/terraform-provider-helloworld"]) 11 | shutil.copy("target/debug/terraform-provider-helloworld", f"target/terraform-provider-helloworld_v{version}") 12 | subprocess.check_call(["zip", f"terraform-provider-helloworld_{version}_linux_amd64.zip", f"terraform-provider-helloworld_v{version}"], cwd="target") 13 | shas = subprocess.check_output(["shasum", "-a", "256", f"terraform-provider-helloworld_{version}_linux_amd64.zip"], cwd="target").decode('utf-8') 14 | open(f"target/terraform-provider-helloworld_{version}_SHA256SUMS", "w").write(shas) 15 | subprocess.check_output(["gpg", "--detach-sign", f"terraform-provider-helloworld_{version}_SHA256SUMS"], cwd="target") -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | terraform-provider-helloworld 2 | ============================= 3 | 4 | [![Continuous integration](https://github.com/palfrey/terraform-provider-helloworld/actions/workflows/ci.yml/badge.svg)](https://github.com/palfrey/terraform-provider-helloworld/actions/workflows/ci.yml) 5 | [![badge](https://img.shields.io/badge/terraform-palfrey%2Fhelloworld-blueviolet)](https://registry.terraform.io/providers/palfrey/helloworld) 6 | 7 | Welcome to a large pile of hacks masquerading as a PoC. This repository proves that it's possible to write a Terraform Provider in Rust, but does not say it's a good idea. The official docs basically say ["write all providers in Go"](https://www.terraform.io/docs/extend/best-practices/other-languages.html) and that's definitely the easiest and most supported path. This merely proves other options do in fact work. 8 | 9 | https://tevps.net/blog/2021/11/7/poc-terraform-provider-rust/ has more information about this. -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This file is autogenerated by pip-compile with python 3.9 3 | # To update, run: 4 | # 5 | # pip-compile 6 | # 7 | backports.entry-points-selectable==1.1.0 8 | # via virtualenv 9 | cfgv==3.3.1 10 | # via pre-commit 11 | click==8.0.3 12 | # via pip-tools 13 | distlib==0.3.3 14 | # via virtualenv 15 | filelock==3.3.2 16 | # via virtualenv 17 | identify==2.3.2 18 | # via pre-commit 19 | nodeenv==1.6.0 20 | # via pre-commit 21 | pep517==0.12.0 22 | # via pip-tools 23 | pip-tools==6.4.0 24 | # via -r requirements.in 25 | platformdirs==2.4.0 26 | # via virtualenv 27 | pre-commit==2.15.0 28 | # via -r requirements.in 29 | pyyaml==6.0 30 | # via pre-commit 31 | six==1.16.0 32 | # via virtualenv 33 | toml==0.10.2 34 | # via pre-commit 35 | tomli==1.2.2 36 | # via pep517 37 | virtualenv==20.9.0 38 | # via pre-commit 39 | wheel==0.37.0 40 | # via pip-tools 41 | 42 | # The following packages are considered to be unsafe in a requirements file: 43 | # pip 44 | # setuptools 45 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: 7 | 8 | name: Continuous integration 9 | 10 | jobs: 11 | test: 12 | name: Test suite 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@v2.4.0 16 | with: 17 | submodules: true 18 | - uses: actions-rs/toolchain@v1.0.7 19 | with: 20 | profile: minimal 21 | toolchain: stable 22 | override: true 23 | components: clippy, rustfmt 24 | - uses: Swatinem/rust-cache@v1 25 | - name: Check formatting 26 | uses: actions-rs/cargo@v1.0.3 27 | with: 28 | command: fmt 29 | args: -- --check 30 | - name: Clippy 31 | uses: actions-rs/cargo@v1.0.3 32 | env: 33 | RUSTFLAGS: -Dwarnings 34 | with: 35 | command: clippy 36 | - name: Build and test 37 | uses: actions-rs/cargo@v1.0.3 38 | with: 39 | command: test 40 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | mod server; 2 | use std::{env, fs::File, io::SeekFrom, sync::Mutex}; 3 | 4 | use anyhow::{anyhow, Result}; 5 | use futures::{try_join, TryFutureExt}; 6 | use rcgen::{BasicConstraints, IsCa}; 7 | use rustls::{ 8 | internal::pemfile, ClientCertVerified, HandshakeSignatureValid, ProtocolVersion, TLSError, 9 | }; 10 | use server::tf::provider_server::ProviderServer; 11 | use tokio::io::AsyncSeekExt; 12 | use tonic::transport::{Server, ServerTlsConfig}; 13 | use tower_http::trace::TraceLayer; 14 | 15 | use rustls::internal::msgs::handshake::DigitallySignedStruct; 16 | use server::stdio::grpc_broker_server::GrpcBrokerServer; 17 | use server::stdio::grpc_stdio_server::GrpcStdioServer; 18 | 19 | const CORE_PROTOCOL_VERSION: u8 = 1; 20 | 21 | struct CertVerifier { 22 | pub cert: Vec, 23 | pub root_store: rustls::RootCertStore, 24 | } 25 | 26 | impl rustls::ClientCertVerifier for CertVerifier { 27 | fn client_auth_root_subjects( 28 | &self, 29 | _sni: Option<&webpki::DNSName>, 30 | ) -> Option { 31 | Some(self.root_store.get_subjects()) 32 | } 33 | 34 | fn verify_client_cert( 35 | &self, 36 | presented_certs: &[rustls::Certificate], 37 | _sni: Option<&webpki::DNSName>, 38 | ) -> Result { 39 | if presented_certs.len() != 1 { 40 | return Err(TLSError::General(format!( 41 | "server sent {} certificates, expected one", 42 | presented_certs.len() 43 | ))); 44 | } 45 | if presented_certs[0].0 != self.cert { 46 | return Err(TLSError::General( 47 | "server certificates doesn't match ours".to_string(), 48 | )); 49 | } 50 | Ok(ClientCertVerified::assertion()) 51 | } 52 | 53 | fn verify_tls12_signature( 54 | &self, 55 | _message: &[u8], 56 | _cert: &rustls::Certificate, 57 | _dss: &DigitallySignedStruct, 58 | ) -> Result { 59 | // It's a SHA-512 ECDSA, which webpki doesn't support. We assume by default that if the client cert 60 | // someone handed us equals the one in the environment variables that this is probably ok. 61 | // 62 | // FIXME: Blocked by upstream https://github.com/briansmith/ring/issues/824 63 | 64 | Ok(HandshakeSignatureValid::assertion()) 65 | } 66 | } 67 | 68 | #[tokio::main] 69 | async fn main() -> Result<(), Box> { 70 | let log_file = File::create("helloworld-trace.log")?; 71 | tracing_subscriber::fmt() 72 | .with_max_level(tracing::Level::DEBUG) 73 | .with_ansi(false) 74 | .with_writer(Mutex::new(log_file)) 75 | .init(); 76 | 77 | let addr = "0.0.0.0:10000".parse()?; 78 | let hello_world = server::HelloWorldProvider::default(); 79 | let stdio = server::StdioProvider::default(); 80 | let broker = server::BrokerProvider::default(); 81 | 82 | let mut client_root_cert_store = rustls::RootCertStore::empty(); 83 | 84 | let env_cert = env::var("PLUGIN_CLIENT_CERT").unwrap(); 85 | let mut pem_buffer = std::io::Cursor::new(env_cert.clone()); 86 | client_root_cert_store 87 | .add_pem_file(&mut pem_buffer) 88 | .unwrap(); 89 | let mut cp = rcgen::CertificateParams::new(vec!["localhost".to_string()]); 90 | cp.is_ca = IsCa::Ca(BasicConstraints::Unconstrained); 91 | let server_cert = rcgen::Certificate::from_params(cp)?; 92 | 93 | let mut cert_buffer = std::io::Cursor::new(server_cert.serialize_pem()?); 94 | let tls_cert = pemfile::certs(&mut cert_buffer).unwrap(); 95 | 96 | let mut key_buffer = std::io::Cursor::new(server_cert.serialize_private_key_pem()); 97 | let mut key = pemfile::pkcs8_private_keys(&mut key_buffer).unwrap(); 98 | 99 | cert_buffer.seek(SeekFrom::Start(0)).await?; 100 | 101 | let raw_cert = env_cert.as_bytes(); 102 | let x509_cert = x509_parser::pem::parse_x509_pem(raw_cert) 103 | .unwrap() 104 | .1 105 | .clone(); 106 | let mut server_config = rustls::ServerConfig::new(std::sync::Arc::new(CertVerifier { 107 | cert: x509_cert.contents, 108 | root_store: client_root_cert_store, 109 | })); 110 | server_config.set_single_cert(tls_cert, key.pop().unwrap())?; 111 | server_config.versions = vec![ProtocolVersion::TLSv1_2]; 112 | let mut tls_config = ServerTlsConfig::new(); 113 | tls_config.rustls_server_config(server_config); 114 | 115 | let serve = Server::builder() 116 | .tls_config(tls_config) 117 | .unwrap() 118 | .layer(TraceLayer::new_for_grpc()) 119 | .add_service(ProviderServer::new(hello_world)) 120 | .add_service(GrpcStdioServer::new(stdio)) 121 | .add_service(GrpcBrokerServer::new(broker)) 122 | .serve(addr); 123 | 124 | async fn info(server_cert: rcgen::Certificate) -> Result<()> { 125 | println!( 126 | "{}|5|tcp|localhost:10000|grpc|{}", 127 | CORE_PROTOCOL_VERSION, 128 | base64::encode_config( 129 | server_cert.serialize_der().unwrap(), 130 | base64::STANDARD_NO_PAD 131 | ) 132 | ); 133 | Ok(()) 134 | } 135 | 136 | try_join!(serve.map_err(|e| anyhow!(e)), info(server_cert))?; 137 | 138 | Ok(()) 139 | } 140 | -------------------------------------------------------------------------------- /src/server.rs: -------------------------------------------------------------------------------- 1 | #![allow(unused_variables)] 2 | use std::collections::HashMap; 3 | 4 | use async_stream::try_stream; 5 | use async_trait::async_trait; 6 | use futures_core::stream::BoxStream; 7 | use stdio::ConnInfo; 8 | use stdio::StdioData; 9 | use tf::provider_server::Provider; 10 | use tf::StringKind; 11 | use tokio::time::{sleep, Duration}; 12 | 13 | pub mod tf { 14 | use tonic::include_proto; 15 | include_proto!("tfplugin5"); 16 | } 17 | 18 | #[derive(Debug, Default)] 19 | pub struct HelloWorldProvider {} 20 | 21 | #[async_trait] 22 | impl Provider for HelloWorldProvider { 23 | async fn upgrade_resource_state( 24 | &self, 25 | request: tonic::Request, 26 | ) -> Result, tonic::Status> { 27 | unimplemented!(); 28 | } 29 | 30 | async fn read_resource( 31 | &self, 32 | request: tonic::Request, 33 | ) -> Result, tonic::Status> { 34 | unimplemented!(); 35 | } 36 | async fn plan_resource_change( 37 | &self, 38 | request: tonic::Request, 39 | ) -> Result, tonic::Status> { 40 | Ok(tonic::Response::new(tf::plan_resource_change::Response { 41 | planned_state: request.get_ref().proposed_new_state.clone(), 42 | requires_replace: vec![], 43 | planned_private: vec![], 44 | diagnostics: vec![], 45 | legacy_type_system: false, 46 | })) 47 | } 48 | async fn apply_resource_change( 49 | &self, 50 | request: tonic::Request, 51 | ) -> Result, tonic::Status> { 52 | unimplemented!(); 53 | } 54 | async fn import_resource_state( 55 | &self, 56 | request: tonic::Request, 57 | ) -> Result, tonic::Status> { 58 | unimplemented!(); 59 | } 60 | async fn read_data_source( 61 | &self, 62 | request: tonic::Request, 63 | ) -> Result, tonic::Status> { 64 | unimplemented!(); 65 | } 66 | async fn get_schema( 67 | &self, 68 | request: tonic::Request, 69 | ) -> Result, tonic::Status> { 70 | Ok(tonic::Response::new(tf::get_provider_schema::Response { 71 | provider: Some(tf::Schema { 72 | version: 1, 73 | block: Some(tf::schema::Block { 74 | version: 1, 75 | attributes: vec![tf::schema::Attribute { 76 | name: "foo".to_string(), 77 | r#type: String::into_bytes("\"string\"".to_string()), 78 | description: "Test attribute".to_string(), 79 | required: false, 80 | optional: true, 81 | computed: false, 82 | sensitive: false, 83 | description_kind: StringKind::Plain as i32, 84 | deprecated: false, 85 | }], 86 | block_types: vec![], 87 | description: "helloworld".to_string(), 88 | description_kind: StringKind::Plain as i32, 89 | deprecated: false, 90 | }), 91 | }), 92 | resource_schemas: [( 93 | "helloworld_thing".to_string(), 94 | tf::Schema { 95 | version: 1, 96 | block: Some(tf::schema::Block { 97 | version: 1, 98 | attributes: vec![tf::schema::Attribute { 99 | name: "bar".to_string(), 100 | r#type: String::into_bytes("\"string\"".to_string()), 101 | description: "Test attribute".to_string(), 102 | required: false, 103 | optional: true, 104 | computed: false, 105 | sensitive: false, 106 | description_kind: StringKind::Plain as i32, 107 | deprecated: false, 108 | }], 109 | block_types: vec![], 110 | description: "helloworld_thing".to_string(), 111 | description_kind: StringKind::Plain as i32, 112 | deprecated: false, 113 | }), 114 | }, 115 | )] 116 | .iter() 117 | .cloned() 118 | .collect(), 119 | data_source_schemas: HashMap::new(), 120 | diagnostics: vec![], 121 | provider_meta: Some(tf::Schema { 122 | version: 1, 123 | block: Some(tf::schema::Block { 124 | version: 1, 125 | attributes: vec![], 126 | block_types: vec![], 127 | description: "helloworld".to_string(), 128 | description_kind: 1, 129 | deprecated: false, 130 | }), 131 | }), 132 | })) 133 | } 134 | async fn prepare_provider_config( 135 | &self, 136 | request: tonic::Request, 137 | ) -> Result, tonic::Status> { 138 | Ok(tonic::Response::new( 139 | tf::prepare_provider_config::Response { 140 | prepared_config: request.get_ref().config.clone(), 141 | diagnostics: vec![], 142 | }, 143 | )) 144 | } 145 | async fn validate_resource_type_config( 146 | &self, 147 | request: tonic::Request, 148 | ) -> Result, tonic::Status> { 149 | Ok(tonic::Response::new( 150 | tf::validate_resource_type_config::Response { 151 | diagnostics: vec![], 152 | }, 153 | )) 154 | } 155 | async fn validate_data_source_config( 156 | &self, 157 | request: tonic::Request, 158 | ) -> Result, tonic::Status> { 159 | unimplemented!(); 160 | } 161 | async fn configure( 162 | &self, 163 | request: tonic::Request, 164 | ) -> Result, tonic::Status> { 165 | Ok(tonic::Response::new(tf::configure::Response { 166 | diagnostics: vec![], 167 | })) 168 | } 169 | async fn stop( 170 | &self, 171 | request: tonic::Request, 172 | ) -> Result, tonic::Status> { 173 | unimplemented!(); 174 | } 175 | } 176 | 177 | pub mod stdio { 178 | use tonic::include_proto; 179 | include_proto!("plugin"); 180 | } 181 | 182 | #[derive(Debug, Default)] 183 | pub struct StdioProvider {} 184 | 185 | #[async_trait] 186 | impl stdio::grpc_stdio_server::GrpcStdio for StdioProvider { 187 | type StreamStdioStream = BoxStream<'static, Result>; 188 | 189 | async fn stream_stdio( 190 | &self, 191 | request: tonic::Request<()>, 192 | ) -> Result, tonic::Status> { 193 | return Ok(tonic::Response::new(Box::pin(try_stream! { 194 | loop { 195 | yield StdioData{channel: 1, data: vec![]}; 196 | sleep(Duration::from_secs(30)).await; 197 | } 198 | }))); 199 | } 200 | } 201 | 202 | #[derive(Debug, Default)] 203 | pub struct BrokerProvider {} 204 | 205 | #[async_trait] 206 | impl stdio::grpc_broker_server::GrpcBroker for BrokerProvider { 207 | type StartStreamStream = BoxStream<'static, Result>; 208 | 209 | async fn start_stream( 210 | &self, 211 | request: tonic::Request>, 212 | ) -> Result, tonic::Status> { 213 | return Ok(tonic::Response::new(Box::pin(try_stream! { 214 | loop { 215 | yield ConnInfo{service_id: 1, network: String::from("network"), address: String::from("address")}; 216 | sleep(Duration::from_secs(30)).await; 217 | } 218 | }))); 219 | } 220 | } 221 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published by 637 | the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "aho-corasick" 7 | version = "0.7.18" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 10 | dependencies = [ 11 | "memchr", 12 | ] 13 | 14 | [[package]] 15 | name = "ansi_term" 16 | version = "0.12.1" 17 | source = "registry+https://github.com/rust-lang/crates.io-index" 18 | checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 19 | dependencies = [ 20 | "winapi", 21 | ] 22 | 23 | [[package]] 24 | name = "anyhow" 25 | version = "1.0.44" 26 | source = "registry+https://github.com/rust-lang/crates.io-index" 27 | checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1" 28 | 29 | [[package]] 30 | name = "async-stream" 31 | version = "0.3.2" 32 | source = "registry+https://github.com/rust-lang/crates.io-index" 33 | checksum = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625" 34 | dependencies = [ 35 | "async-stream-impl", 36 | "futures-core", 37 | ] 38 | 39 | [[package]] 40 | name = "async-stream-impl" 41 | version = "0.3.2" 42 | source = "registry+https://github.com/rust-lang/crates.io-index" 43 | checksum = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308" 44 | dependencies = [ 45 | "proc-macro2", 46 | "quote", 47 | "syn", 48 | ] 49 | 50 | [[package]] 51 | name = "async-trait" 52 | version = "0.1.51" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e" 55 | dependencies = [ 56 | "proc-macro2", 57 | "quote", 58 | "syn", 59 | ] 60 | 61 | [[package]] 62 | name = "autocfg" 63 | version = "1.0.1" 64 | source = "registry+https://github.com/rust-lang/crates.io-index" 65 | checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 66 | 67 | [[package]] 68 | name = "base64" 69 | version = "0.13.0" 70 | source = "registry+https://github.com/rust-lang/crates.io-index" 71 | checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" 72 | 73 | [[package]] 74 | name = "bitflags" 75 | version = "1.3.2" 76 | source = "registry+https://github.com/rust-lang/crates.io-index" 77 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 78 | 79 | [[package]] 80 | name = "bumpalo" 81 | version = "3.8.0" 82 | source = "registry+https://github.com/rust-lang/crates.io-index" 83 | checksum = "8f1e260c3a9040a7c19a12468758f4c16f31a81a1fe087482be9570ec864bb6c" 84 | 85 | [[package]] 86 | name = "bytes" 87 | version = "1.1.0" 88 | source = "registry+https://github.com/rust-lang/crates.io-index" 89 | checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" 90 | 91 | [[package]] 92 | name = "cc" 93 | version = "1.0.71" 94 | source = "registry+https://github.com/rust-lang/crates.io-index" 95 | checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd" 96 | 97 | [[package]] 98 | name = "cfg-if" 99 | version = "1.0.0" 100 | source = "registry+https://github.com/rust-lang/crates.io-index" 101 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 102 | 103 | [[package]] 104 | name = "chrono" 105 | version = "0.4.19" 106 | source = "registry+https://github.com/rust-lang/crates.io-index" 107 | checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 108 | dependencies = [ 109 | "num-integer", 110 | "num-traits", 111 | ] 112 | 113 | [[package]] 114 | name = "data-encoding" 115 | version = "2.3.2" 116 | source = "registry+https://github.com/rust-lang/crates.io-index" 117 | checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" 118 | 119 | [[package]] 120 | name = "der-oid-macro" 121 | version = "0.5.0" 122 | source = "registry+https://github.com/rust-lang/crates.io-index" 123 | checksum = "c73af209b6a5dc8ca7cbaba720732304792cddc933cfea3d74509c2b1ef2f436" 124 | dependencies = [ 125 | "num-bigint", 126 | "num-traits", 127 | "syn", 128 | ] 129 | 130 | [[package]] 131 | name = "der-parser" 132 | version = "6.0.0" 133 | source = "registry+https://github.com/rust-lang/crates.io-index" 134 | checksum = "9807efb310ce4ea172924f3a69d82f9fd6c9c3a19336344591153e665b31c43e" 135 | dependencies = [ 136 | "der-oid-macro", 137 | "nom", 138 | "num-bigint", 139 | "num-traits", 140 | "rusticata-macros", 141 | ] 142 | 143 | [[package]] 144 | name = "either" 145 | version = "1.6.1" 146 | source = "registry+https://github.com/rust-lang/crates.io-index" 147 | checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 148 | 149 | [[package]] 150 | name = "fixedbitset" 151 | version = "0.4.0" 152 | source = "registry+https://github.com/rust-lang/crates.io-index" 153 | checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e" 154 | 155 | [[package]] 156 | name = "fnv" 157 | version = "1.0.7" 158 | source = "registry+https://github.com/rust-lang/crates.io-index" 159 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 160 | 161 | [[package]] 162 | name = "futures" 163 | version = "0.3.17" 164 | source = "registry+https://github.com/rust-lang/crates.io-index" 165 | checksum = "a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca" 166 | dependencies = [ 167 | "futures-channel", 168 | "futures-core", 169 | "futures-executor", 170 | "futures-io", 171 | "futures-sink", 172 | "futures-task", 173 | "futures-util", 174 | ] 175 | 176 | [[package]] 177 | name = "futures-channel" 178 | version = "0.3.17" 179 | source = "registry+https://github.com/rust-lang/crates.io-index" 180 | checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" 181 | dependencies = [ 182 | "futures-core", 183 | "futures-sink", 184 | ] 185 | 186 | [[package]] 187 | name = "futures-core" 188 | version = "0.3.17" 189 | source = "registry+https://github.com/rust-lang/crates.io-index" 190 | checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" 191 | 192 | [[package]] 193 | name = "futures-executor" 194 | version = "0.3.17" 195 | source = "registry+https://github.com/rust-lang/crates.io-index" 196 | checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c" 197 | dependencies = [ 198 | "futures-core", 199 | "futures-task", 200 | "futures-util", 201 | ] 202 | 203 | [[package]] 204 | name = "futures-io" 205 | version = "0.3.17" 206 | source = "registry+https://github.com/rust-lang/crates.io-index" 207 | checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377" 208 | 209 | [[package]] 210 | name = "futures-macro" 211 | version = "0.3.17" 212 | source = "registry+https://github.com/rust-lang/crates.io-index" 213 | checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb" 214 | dependencies = [ 215 | "autocfg", 216 | "proc-macro-hack", 217 | "proc-macro2", 218 | "quote", 219 | "syn", 220 | ] 221 | 222 | [[package]] 223 | name = "futures-sink" 224 | version = "0.3.17" 225 | source = "registry+https://github.com/rust-lang/crates.io-index" 226 | checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" 227 | 228 | [[package]] 229 | name = "futures-task" 230 | version = "0.3.17" 231 | source = "registry+https://github.com/rust-lang/crates.io-index" 232 | checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99" 233 | 234 | [[package]] 235 | name = "futures-util" 236 | version = "0.3.17" 237 | source = "registry+https://github.com/rust-lang/crates.io-index" 238 | checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481" 239 | dependencies = [ 240 | "autocfg", 241 | "futures-channel", 242 | "futures-core", 243 | "futures-io", 244 | "futures-macro", 245 | "futures-sink", 246 | "futures-task", 247 | "memchr", 248 | "pin-project-lite", 249 | "pin-utils", 250 | "proc-macro-hack", 251 | "proc-macro-nested", 252 | "slab", 253 | ] 254 | 255 | [[package]] 256 | name = "getrandom" 257 | version = "0.2.3" 258 | source = "registry+https://github.com/rust-lang/crates.io-index" 259 | checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" 260 | dependencies = [ 261 | "cfg-if", 262 | "libc", 263 | "wasi", 264 | ] 265 | 266 | [[package]] 267 | name = "h2" 268 | version = "0.3.7" 269 | source = "registry+https://github.com/rust-lang/crates.io-index" 270 | checksum = "7fd819562fcebdac5afc5c113c3ec36f902840b70fd4fc458799c8ce4607ae55" 271 | dependencies = [ 272 | "bytes", 273 | "fnv", 274 | "futures-core", 275 | "futures-sink", 276 | "futures-util", 277 | "http", 278 | "indexmap", 279 | "slab", 280 | "tokio", 281 | "tokio-util", 282 | "tracing", 283 | ] 284 | 285 | [[package]] 286 | name = "hashbrown" 287 | version = "0.11.2" 288 | source = "registry+https://github.com/rust-lang/crates.io-index" 289 | checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" 290 | 291 | [[package]] 292 | name = "heck" 293 | version = "0.3.3" 294 | source = "registry+https://github.com/rust-lang/crates.io-index" 295 | checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" 296 | dependencies = [ 297 | "unicode-segmentation", 298 | ] 299 | 300 | [[package]] 301 | name = "hermit-abi" 302 | version = "0.1.19" 303 | source = "registry+https://github.com/rust-lang/crates.io-index" 304 | checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 305 | dependencies = [ 306 | "libc", 307 | ] 308 | 309 | [[package]] 310 | name = "http" 311 | version = "0.2.5" 312 | source = "registry+https://github.com/rust-lang/crates.io-index" 313 | checksum = "1323096b05d41827dadeaee54c9981958c0f94e670bc94ed80037d1a7b8b186b" 314 | dependencies = [ 315 | "bytes", 316 | "fnv", 317 | "itoa", 318 | ] 319 | 320 | [[package]] 321 | name = "http-body" 322 | version = "0.4.4" 323 | source = "registry+https://github.com/rust-lang/crates.io-index" 324 | checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" 325 | dependencies = [ 326 | "bytes", 327 | "http", 328 | "pin-project-lite", 329 | ] 330 | 331 | [[package]] 332 | name = "httparse" 333 | version = "1.5.1" 334 | source = "registry+https://github.com/rust-lang/crates.io-index" 335 | checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" 336 | 337 | [[package]] 338 | name = "httpdate" 339 | version = "1.0.1" 340 | source = "registry+https://github.com/rust-lang/crates.io-index" 341 | checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" 342 | 343 | [[package]] 344 | name = "hyper" 345 | version = "0.14.14" 346 | source = "registry+https://github.com/rust-lang/crates.io-index" 347 | checksum = "2b91bb1f221b6ea1f1e4371216b70f40748774c2fb5971b450c07773fb92d26b" 348 | dependencies = [ 349 | "bytes", 350 | "futures-channel", 351 | "futures-core", 352 | "futures-util", 353 | "h2", 354 | "http", 355 | "http-body", 356 | "httparse", 357 | "httpdate", 358 | "itoa", 359 | "pin-project-lite", 360 | "socket2", 361 | "tokio", 362 | "tower-service", 363 | "tracing", 364 | "want", 365 | ] 366 | 367 | [[package]] 368 | name = "hyper-timeout" 369 | version = "0.4.1" 370 | source = "registry+https://github.com/rust-lang/crates.io-index" 371 | checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" 372 | dependencies = [ 373 | "hyper", 374 | "pin-project-lite", 375 | "tokio", 376 | "tokio-io-timeout", 377 | ] 378 | 379 | [[package]] 380 | name = "indexmap" 381 | version = "1.7.0" 382 | source = "registry+https://github.com/rust-lang/crates.io-index" 383 | checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" 384 | dependencies = [ 385 | "autocfg", 386 | "hashbrown", 387 | ] 388 | 389 | [[package]] 390 | name = "itertools" 391 | version = "0.10.1" 392 | source = "registry+https://github.com/rust-lang/crates.io-index" 393 | checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" 394 | dependencies = [ 395 | "either", 396 | ] 397 | 398 | [[package]] 399 | name = "itoa" 400 | version = "0.4.8" 401 | source = "registry+https://github.com/rust-lang/crates.io-index" 402 | checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" 403 | 404 | [[package]] 405 | name = "js-sys" 406 | version = "0.3.55" 407 | source = "registry+https://github.com/rust-lang/crates.io-index" 408 | checksum = "7cc9ffccd38c451a86bf13657df244e9c3f37493cce8e5e21e940963777acc84" 409 | dependencies = [ 410 | "wasm-bindgen", 411 | ] 412 | 413 | [[package]] 414 | name = "lazy_static" 415 | version = "1.4.0" 416 | source = "registry+https://github.com/rust-lang/crates.io-index" 417 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 418 | 419 | [[package]] 420 | name = "libc" 421 | version = "0.2.105" 422 | source = "registry+https://github.com/rust-lang/crates.io-index" 423 | checksum = "869d572136620d55835903746bcb5cdc54cb2851fd0aeec53220b4bb65ef3013" 424 | 425 | [[package]] 426 | name = "log" 427 | version = "0.4.14" 428 | source = "registry+https://github.com/rust-lang/crates.io-index" 429 | checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 430 | dependencies = [ 431 | "cfg-if", 432 | ] 433 | 434 | [[package]] 435 | name = "memchr" 436 | version = "2.4.1" 437 | source = "registry+https://github.com/rust-lang/crates.io-index" 438 | checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" 439 | 440 | [[package]] 441 | name = "minimal-lexical" 442 | version = "0.1.4" 443 | source = "registry+https://github.com/rust-lang/crates.io-index" 444 | checksum = "9c64630dcdd71f1a64c435f54885086a0de5d6a12d104d69b165fb7d5286d677" 445 | 446 | [[package]] 447 | name = "mio" 448 | version = "0.7.14" 449 | source = "registry+https://github.com/rust-lang/crates.io-index" 450 | checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" 451 | dependencies = [ 452 | "libc", 453 | "log", 454 | "miow", 455 | "ntapi", 456 | "winapi", 457 | ] 458 | 459 | [[package]] 460 | name = "miow" 461 | version = "0.3.7" 462 | source = "registry+https://github.com/rust-lang/crates.io-index" 463 | checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" 464 | dependencies = [ 465 | "winapi", 466 | ] 467 | 468 | [[package]] 469 | name = "multimap" 470 | version = "0.8.3" 471 | source = "registry+https://github.com/rust-lang/crates.io-index" 472 | checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" 473 | 474 | [[package]] 475 | name = "nom" 476 | version = "7.0.0" 477 | source = "registry+https://github.com/rust-lang/crates.io-index" 478 | checksum = "7ffd9d26838a953b4af82cbeb9f1592c6798916983959be223a7124e992742c1" 479 | dependencies = [ 480 | "memchr", 481 | "minimal-lexical", 482 | "version_check", 483 | ] 484 | 485 | [[package]] 486 | name = "ntapi" 487 | version = "0.3.6" 488 | source = "registry+https://github.com/rust-lang/crates.io-index" 489 | checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" 490 | dependencies = [ 491 | "winapi", 492 | ] 493 | 494 | [[package]] 495 | name = "num-bigint" 496 | version = "0.4.2" 497 | source = "registry+https://github.com/rust-lang/crates.io-index" 498 | checksum = "74e768dff5fb39a41b3bcd30bb25cf989706c90d028d1ad71971987aa309d535" 499 | dependencies = [ 500 | "autocfg", 501 | "num-integer", 502 | "num-traits", 503 | ] 504 | 505 | [[package]] 506 | name = "num-integer" 507 | version = "0.1.44" 508 | source = "registry+https://github.com/rust-lang/crates.io-index" 509 | checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" 510 | dependencies = [ 511 | "autocfg", 512 | "num-traits", 513 | ] 514 | 515 | [[package]] 516 | name = "num-traits" 517 | version = "0.2.14" 518 | source = "registry+https://github.com/rust-lang/crates.io-index" 519 | checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" 520 | dependencies = [ 521 | "autocfg", 522 | ] 523 | 524 | [[package]] 525 | name = "num_cpus" 526 | version = "1.13.0" 527 | source = "registry+https://github.com/rust-lang/crates.io-index" 528 | checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 529 | dependencies = [ 530 | "hermit-abi", 531 | "libc", 532 | ] 533 | 534 | [[package]] 535 | name = "oid-registry" 536 | version = "0.2.0" 537 | source = "registry+https://github.com/rust-lang/crates.io-index" 538 | checksum = "fe554cb2393bc784fd678c82c84cc0599c31ceadc7f03a594911f822cb8d1815" 539 | dependencies = [ 540 | "der-parser", 541 | ] 542 | 543 | [[package]] 544 | name = "once_cell" 545 | version = "1.8.0" 546 | source = "registry+https://github.com/rust-lang/crates.io-index" 547 | checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" 548 | 549 | [[package]] 550 | name = "pem" 551 | version = "1.0.1" 552 | source = "registry+https://github.com/rust-lang/crates.io-index" 553 | checksum = "06673860db84d02a63942fa69cd9543f2624a5df3aea7f33173048fa7ad5cf1a" 554 | dependencies = [ 555 | "base64", 556 | "once_cell", 557 | "regex", 558 | ] 559 | 560 | [[package]] 561 | name = "percent-encoding" 562 | version = "2.1.0" 563 | source = "registry+https://github.com/rust-lang/crates.io-index" 564 | checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" 565 | 566 | [[package]] 567 | name = "petgraph" 568 | version = "0.6.0" 569 | source = "registry+https://github.com/rust-lang/crates.io-index" 570 | checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" 571 | dependencies = [ 572 | "fixedbitset", 573 | "indexmap", 574 | ] 575 | 576 | [[package]] 577 | name = "pin-project" 578 | version = "1.0.8" 579 | source = "registry+https://github.com/rust-lang/crates.io-index" 580 | checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08" 581 | dependencies = [ 582 | "pin-project-internal", 583 | ] 584 | 585 | [[package]] 586 | name = "pin-project-internal" 587 | version = "1.0.8" 588 | source = "registry+https://github.com/rust-lang/crates.io-index" 589 | checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" 590 | dependencies = [ 591 | "proc-macro2", 592 | "quote", 593 | "syn", 594 | ] 595 | 596 | [[package]] 597 | name = "pin-project-lite" 598 | version = "0.2.7" 599 | source = "registry+https://github.com/rust-lang/crates.io-index" 600 | checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" 601 | 602 | [[package]] 603 | name = "pin-utils" 604 | version = "0.1.0" 605 | source = "registry+https://github.com/rust-lang/crates.io-index" 606 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 607 | 608 | [[package]] 609 | name = "ppv-lite86" 610 | version = "0.2.15" 611 | source = "registry+https://github.com/rust-lang/crates.io-index" 612 | checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba" 613 | 614 | [[package]] 615 | name = "proc-macro-hack" 616 | version = "0.5.19" 617 | source = "registry+https://github.com/rust-lang/crates.io-index" 618 | checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" 619 | 620 | [[package]] 621 | name = "proc-macro-nested" 622 | version = "0.1.7" 623 | source = "registry+https://github.com/rust-lang/crates.io-index" 624 | checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" 625 | 626 | [[package]] 627 | name = "proc-macro2" 628 | version = "1.0.32" 629 | source = "registry+https://github.com/rust-lang/crates.io-index" 630 | checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43" 631 | dependencies = [ 632 | "unicode-xid", 633 | ] 634 | 635 | [[package]] 636 | name = "prost" 637 | version = "0.9.0" 638 | source = "registry+https://github.com/rust-lang/crates.io-index" 639 | checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" 640 | dependencies = [ 641 | "bytes", 642 | "prost-derive", 643 | ] 644 | 645 | [[package]] 646 | name = "prost-build" 647 | version = "0.9.0" 648 | source = "registry+https://github.com/rust-lang/crates.io-index" 649 | checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" 650 | dependencies = [ 651 | "bytes", 652 | "heck", 653 | "itertools", 654 | "lazy_static", 655 | "log", 656 | "multimap", 657 | "petgraph", 658 | "prost", 659 | "prost-types", 660 | "regex", 661 | "tempfile", 662 | "which", 663 | ] 664 | 665 | [[package]] 666 | name = "prost-derive" 667 | version = "0.9.0" 668 | source = "registry+https://github.com/rust-lang/crates.io-index" 669 | checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" 670 | dependencies = [ 671 | "anyhow", 672 | "itertools", 673 | "proc-macro2", 674 | "quote", 675 | "syn", 676 | ] 677 | 678 | [[package]] 679 | name = "prost-types" 680 | version = "0.9.0" 681 | source = "registry+https://github.com/rust-lang/crates.io-index" 682 | checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" 683 | dependencies = [ 684 | "bytes", 685 | "prost", 686 | ] 687 | 688 | [[package]] 689 | name = "quote" 690 | version = "1.0.10" 691 | source = "registry+https://github.com/rust-lang/crates.io-index" 692 | checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" 693 | dependencies = [ 694 | "proc-macro2", 695 | ] 696 | 697 | [[package]] 698 | name = "rand" 699 | version = "0.8.4" 700 | source = "registry+https://github.com/rust-lang/crates.io-index" 701 | checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" 702 | dependencies = [ 703 | "libc", 704 | "rand_chacha", 705 | "rand_core", 706 | "rand_hc", 707 | ] 708 | 709 | [[package]] 710 | name = "rand_chacha" 711 | version = "0.3.1" 712 | source = "registry+https://github.com/rust-lang/crates.io-index" 713 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 714 | dependencies = [ 715 | "ppv-lite86", 716 | "rand_core", 717 | ] 718 | 719 | [[package]] 720 | name = "rand_core" 721 | version = "0.6.3" 722 | source = "registry+https://github.com/rust-lang/crates.io-index" 723 | checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 724 | dependencies = [ 725 | "getrandom", 726 | ] 727 | 728 | [[package]] 729 | name = "rand_hc" 730 | version = "0.3.1" 731 | source = "registry+https://github.com/rust-lang/crates.io-index" 732 | checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" 733 | dependencies = [ 734 | "rand_core", 735 | ] 736 | 737 | [[package]] 738 | name = "rcgen" 739 | version = "0.8.14" 740 | source = "registry+https://github.com/rust-lang/crates.io-index" 741 | checksum = "5911d1403f4143c9d56a702069d593e8d0f3fab880a85e103604d0893ea31ba7" 742 | dependencies = [ 743 | "chrono", 744 | "pem", 745 | "ring", 746 | "yasna", 747 | ] 748 | 749 | [[package]] 750 | name = "redox_syscall" 751 | version = "0.2.10" 752 | source = "registry+https://github.com/rust-lang/crates.io-index" 753 | checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" 754 | dependencies = [ 755 | "bitflags", 756 | ] 757 | 758 | [[package]] 759 | name = "regex" 760 | version = "1.5.4" 761 | source = "registry+https://github.com/rust-lang/crates.io-index" 762 | checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" 763 | dependencies = [ 764 | "aho-corasick", 765 | "memchr", 766 | "regex-syntax", 767 | ] 768 | 769 | [[package]] 770 | name = "regex-syntax" 771 | version = "0.6.25" 772 | source = "registry+https://github.com/rust-lang/crates.io-index" 773 | checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" 774 | 775 | [[package]] 776 | name = "remove_dir_all" 777 | version = "0.5.3" 778 | source = "registry+https://github.com/rust-lang/crates.io-index" 779 | checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" 780 | dependencies = [ 781 | "winapi", 782 | ] 783 | 784 | [[package]] 785 | name = "ring" 786 | version = "0.16.20" 787 | source = "registry+https://github.com/rust-lang/crates.io-index" 788 | checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" 789 | dependencies = [ 790 | "cc", 791 | "libc", 792 | "once_cell", 793 | "spin", 794 | "untrusted", 795 | "web-sys", 796 | "winapi", 797 | ] 798 | 799 | [[package]] 800 | name = "rusticata-macros" 801 | version = "4.0.0" 802 | source = "registry+https://github.com/rust-lang/crates.io-index" 803 | checksum = "65c52377bb2288aa522a0c8208947fada1e0c76397f108cc08f57efe6077b50d" 804 | dependencies = [ 805 | "nom", 806 | ] 807 | 808 | [[package]] 809 | name = "rustls" 810 | version = "0.19.1" 811 | source = "registry+https://github.com/rust-lang/crates.io-index" 812 | checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" 813 | dependencies = [ 814 | "base64", 815 | "log", 816 | "ring", 817 | "sct", 818 | "webpki", 819 | ] 820 | 821 | [[package]] 822 | name = "ryu" 823 | version = "1.0.5" 824 | source = "registry+https://github.com/rust-lang/crates.io-index" 825 | checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" 826 | 827 | [[package]] 828 | name = "sct" 829 | version = "0.6.1" 830 | source = "registry+https://github.com/rust-lang/crates.io-index" 831 | checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" 832 | dependencies = [ 833 | "ring", 834 | "untrusted", 835 | ] 836 | 837 | [[package]] 838 | name = "serde" 839 | version = "1.0.130" 840 | source = "registry+https://github.com/rust-lang/crates.io-index" 841 | checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" 842 | 843 | [[package]] 844 | name = "serde_json" 845 | version = "1.0.68" 846 | source = "registry+https://github.com/rust-lang/crates.io-index" 847 | checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8" 848 | dependencies = [ 849 | "itoa", 850 | "ryu", 851 | "serde", 852 | ] 853 | 854 | [[package]] 855 | name = "sharded-slab" 856 | version = "0.1.4" 857 | source = "registry+https://github.com/rust-lang/crates.io-index" 858 | checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" 859 | dependencies = [ 860 | "lazy_static", 861 | ] 862 | 863 | [[package]] 864 | name = "slab" 865 | version = "0.4.5" 866 | source = "registry+https://github.com/rust-lang/crates.io-index" 867 | checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" 868 | 869 | [[package]] 870 | name = "smallvec" 871 | version = "1.7.0" 872 | source = "registry+https://github.com/rust-lang/crates.io-index" 873 | checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309" 874 | 875 | [[package]] 876 | name = "socket2" 877 | version = "0.4.2" 878 | source = "registry+https://github.com/rust-lang/crates.io-index" 879 | checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" 880 | dependencies = [ 881 | "libc", 882 | "winapi", 883 | ] 884 | 885 | [[package]] 886 | name = "spin" 887 | version = "0.5.2" 888 | source = "registry+https://github.com/rust-lang/crates.io-index" 889 | checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" 890 | 891 | [[package]] 892 | name = "syn" 893 | version = "1.0.81" 894 | source = "registry+https://github.com/rust-lang/crates.io-index" 895 | checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966" 896 | dependencies = [ 897 | "proc-macro2", 898 | "quote", 899 | "unicode-xid", 900 | ] 901 | 902 | [[package]] 903 | name = "tempfile" 904 | version = "3.2.0" 905 | source = "registry+https://github.com/rust-lang/crates.io-index" 906 | checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" 907 | dependencies = [ 908 | "cfg-if", 909 | "libc", 910 | "rand", 911 | "redox_syscall", 912 | "remove_dir_all", 913 | "winapi", 914 | ] 915 | 916 | [[package]] 917 | name = "terraform-provider-helloworld" 918 | version = "0.1.0" 919 | dependencies = [ 920 | "anyhow", 921 | "async-stream", 922 | "async-trait", 923 | "base64", 924 | "futures", 925 | "futures-core", 926 | "prost", 927 | "rcgen", 928 | "rustls", 929 | "tokio", 930 | "tonic", 931 | "tonic-build", 932 | "tower-http", 933 | "tracing", 934 | "tracing-subscriber", 935 | "webpki", 936 | "x509-parser", 937 | ] 938 | 939 | [[package]] 940 | name = "thiserror" 941 | version = "1.0.30" 942 | source = "registry+https://github.com/rust-lang/crates.io-index" 943 | checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" 944 | dependencies = [ 945 | "thiserror-impl", 946 | ] 947 | 948 | [[package]] 949 | name = "thiserror-impl" 950 | version = "1.0.30" 951 | source = "registry+https://github.com/rust-lang/crates.io-index" 952 | checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" 953 | dependencies = [ 954 | "proc-macro2", 955 | "quote", 956 | "syn", 957 | ] 958 | 959 | [[package]] 960 | name = "thread_local" 961 | version = "1.1.3" 962 | source = "registry+https://github.com/rust-lang/crates.io-index" 963 | checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd" 964 | dependencies = [ 965 | "once_cell", 966 | ] 967 | 968 | [[package]] 969 | name = "tokio" 970 | version = "1.12.0" 971 | source = "registry+https://github.com/rust-lang/crates.io-index" 972 | checksum = "c2c2416fdedca8443ae44b4527de1ea633af61d8f7169ffa6e72c5b53d24efcc" 973 | dependencies = [ 974 | "autocfg", 975 | "bytes", 976 | "libc", 977 | "memchr", 978 | "mio", 979 | "num_cpus", 980 | "pin-project-lite", 981 | "tokio-macros", 982 | "winapi", 983 | ] 984 | 985 | [[package]] 986 | name = "tokio-io-timeout" 987 | version = "1.1.1" 988 | source = "registry+https://github.com/rust-lang/crates.io-index" 989 | checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9" 990 | dependencies = [ 991 | "pin-project-lite", 992 | "tokio", 993 | ] 994 | 995 | [[package]] 996 | name = "tokio-macros" 997 | version = "1.5.0" 998 | source = "registry+https://github.com/rust-lang/crates.io-index" 999 | checksum = "b2dd85aeaba7b68df939bd357c6afb36c87951be9e80bf9c859f2fc3e9fca0fd" 1000 | dependencies = [ 1001 | "proc-macro2", 1002 | "quote", 1003 | "syn", 1004 | ] 1005 | 1006 | [[package]] 1007 | name = "tokio-rustls" 1008 | version = "0.22.0" 1009 | source = "registry+https://github.com/rust-lang/crates.io-index" 1010 | checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" 1011 | dependencies = [ 1012 | "rustls", 1013 | "tokio", 1014 | "webpki", 1015 | ] 1016 | 1017 | [[package]] 1018 | name = "tokio-stream" 1019 | version = "0.1.7" 1020 | source = "registry+https://github.com/rust-lang/crates.io-index" 1021 | checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" 1022 | dependencies = [ 1023 | "futures-core", 1024 | "pin-project-lite", 1025 | "tokio", 1026 | ] 1027 | 1028 | [[package]] 1029 | name = "tokio-util" 1030 | version = "0.6.8" 1031 | source = "registry+https://github.com/rust-lang/crates.io-index" 1032 | checksum = "08d3725d3efa29485e87311c5b699de63cde14b00ed4d256b8318aa30ca452cd" 1033 | dependencies = [ 1034 | "bytes", 1035 | "futures-core", 1036 | "futures-sink", 1037 | "log", 1038 | "pin-project-lite", 1039 | "tokio", 1040 | ] 1041 | 1042 | [[package]] 1043 | name = "tonic" 1044 | version = "0.6.1" 1045 | source = "registry+https://github.com/rust-lang/crates.io-index" 1046 | checksum = "24203b79cf2d68909da91178db3026e77054effba0c5d93deb870d3ca7b35afa" 1047 | dependencies = [ 1048 | "async-stream", 1049 | "async-trait", 1050 | "base64", 1051 | "bytes", 1052 | "futures-core", 1053 | "futures-util", 1054 | "h2", 1055 | "http", 1056 | "http-body", 1057 | "hyper", 1058 | "hyper-timeout", 1059 | "percent-encoding", 1060 | "pin-project", 1061 | "prost", 1062 | "prost-derive", 1063 | "tokio", 1064 | "tokio-rustls", 1065 | "tokio-stream", 1066 | "tokio-util", 1067 | "tower", 1068 | "tower-layer", 1069 | "tower-service", 1070 | "tracing", 1071 | "tracing-futures", 1072 | ] 1073 | 1074 | [[package]] 1075 | name = "tonic-build" 1076 | version = "0.6.0" 1077 | source = "registry+https://github.com/rust-lang/crates.io-index" 1078 | checksum = "88358bb1dcfeb62dcce85c63006cafb964b7be481d522b7e09589d4d1e718d2a" 1079 | dependencies = [ 1080 | "proc-macro2", 1081 | "prost-build", 1082 | "quote", 1083 | "syn", 1084 | ] 1085 | 1086 | [[package]] 1087 | name = "tower" 1088 | version = "0.4.10" 1089 | source = "registry+https://github.com/rust-lang/crates.io-index" 1090 | checksum = "c00e500fff5fa1131c866b246041a6bf96da9c965f8fe4128cb1421f23e93c00" 1091 | dependencies = [ 1092 | "futures-core", 1093 | "futures-util", 1094 | "indexmap", 1095 | "pin-project", 1096 | "pin-project-lite", 1097 | "rand", 1098 | "slab", 1099 | "tokio", 1100 | "tokio-stream", 1101 | "tokio-util", 1102 | "tower-layer", 1103 | "tower-service", 1104 | "tracing", 1105 | ] 1106 | 1107 | [[package]] 1108 | name = "tower-http" 1109 | version = "0.1.1" 1110 | source = "registry+https://github.com/rust-lang/crates.io-index" 1111 | checksum = "0b7b56efe69aa0ad2b5da6b942e57ea9f6fe683b7a314d4ff48662e2c8838de1" 1112 | dependencies = [ 1113 | "bytes", 1114 | "futures-core", 1115 | "futures-util", 1116 | "http", 1117 | "http-body", 1118 | "pin-project", 1119 | "tower-layer", 1120 | "tower-service", 1121 | "tracing", 1122 | ] 1123 | 1124 | [[package]] 1125 | name = "tower-layer" 1126 | version = "0.3.1" 1127 | source = "registry+https://github.com/rust-lang/crates.io-index" 1128 | checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62" 1129 | 1130 | [[package]] 1131 | name = "tower-service" 1132 | version = "0.3.1" 1133 | source = "registry+https://github.com/rust-lang/crates.io-index" 1134 | checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" 1135 | 1136 | [[package]] 1137 | name = "tracing" 1138 | version = "0.1.29" 1139 | source = "registry+https://github.com/rust-lang/crates.io-index" 1140 | checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" 1141 | dependencies = [ 1142 | "cfg-if", 1143 | "log", 1144 | "pin-project-lite", 1145 | "tracing-attributes", 1146 | "tracing-core", 1147 | ] 1148 | 1149 | [[package]] 1150 | name = "tracing-attributes" 1151 | version = "0.1.18" 1152 | source = "registry+https://github.com/rust-lang/crates.io-index" 1153 | checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" 1154 | dependencies = [ 1155 | "proc-macro2", 1156 | "quote", 1157 | "syn", 1158 | ] 1159 | 1160 | [[package]] 1161 | name = "tracing-core" 1162 | version = "0.1.21" 1163 | source = "registry+https://github.com/rust-lang/crates.io-index" 1164 | checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" 1165 | dependencies = [ 1166 | "lazy_static", 1167 | ] 1168 | 1169 | [[package]] 1170 | name = "tracing-futures" 1171 | version = "0.2.5" 1172 | source = "registry+https://github.com/rust-lang/crates.io-index" 1173 | checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" 1174 | dependencies = [ 1175 | "pin-project", 1176 | "tracing", 1177 | ] 1178 | 1179 | [[package]] 1180 | name = "tracing-log" 1181 | version = "0.1.2" 1182 | source = "registry+https://github.com/rust-lang/crates.io-index" 1183 | checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" 1184 | dependencies = [ 1185 | "lazy_static", 1186 | "log", 1187 | "tracing-core", 1188 | ] 1189 | 1190 | [[package]] 1191 | name = "tracing-serde" 1192 | version = "0.1.2" 1193 | source = "registry+https://github.com/rust-lang/crates.io-index" 1194 | checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b" 1195 | dependencies = [ 1196 | "serde", 1197 | "tracing-core", 1198 | ] 1199 | 1200 | [[package]] 1201 | name = "tracing-subscriber" 1202 | version = "0.3.1" 1203 | source = "registry+https://github.com/rust-lang/crates.io-index" 1204 | checksum = "80a4ddde70311d8da398062ecf6fc2c309337de6b0f77d6c27aff8d53f6fca52" 1205 | dependencies = [ 1206 | "ansi_term", 1207 | "serde", 1208 | "serde_json", 1209 | "sharded-slab", 1210 | "smallvec", 1211 | "thread_local", 1212 | "tracing-core", 1213 | "tracing-log", 1214 | "tracing-serde", 1215 | ] 1216 | 1217 | [[package]] 1218 | name = "try-lock" 1219 | version = "0.2.3" 1220 | source = "registry+https://github.com/rust-lang/crates.io-index" 1221 | checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" 1222 | 1223 | [[package]] 1224 | name = "unicode-segmentation" 1225 | version = "1.8.0" 1226 | source = "registry+https://github.com/rust-lang/crates.io-index" 1227 | checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" 1228 | 1229 | [[package]] 1230 | name = "unicode-xid" 1231 | version = "0.2.2" 1232 | source = "registry+https://github.com/rust-lang/crates.io-index" 1233 | checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" 1234 | 1235 | [[package]] 1236 | name = "untrusted" 1237 | version = "0.7.1" 1238 | source = "registry+https://github.com/rust-lang/crates.io-index" 1239 | checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" 1240 | 1241 | [[package]] 1242 | name = "version_check" 1243 | version = "0.9.3" 1244 | source = "registry+https://github.com/rust-lang/crates.io-index" 1245 | checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" 1246 | 1247 | [[package]] 1248 | name = "want" 1249 | version = "0.3.0" 1250 | source = "registry+https://github.com/rust-lang/crates.io-index" 1251 | checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" 1252 | dependencies = [ 1253 | "log", 1254 | "try-lock", 1255 | ] 1256 | 1257 | [[package]] 1258 | name = "wasi" 1259 | version = "0.10.2+wasi-snapshot-preview1" 1260 | source = "registry+https://github.com/rust-lang/crates.io-index" 1261 | checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" 1262 | 1263 | [[package]] 1264 | name = "wasm-bindgen" 1265 | version = "0.2.78" 1266 | source = "registry+https://github.com/rust-lang/crates.io-index" 1267 | checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" 1268 | dependencies = [ 1269 | "cfg-if", 1270 | "wasm-bindgen-macro", 1271 | ] 1272 | 1273 | [[package]] 1274 | name = "wasm-bindgen-backend" 1275 | version = "0.2.78" 1276 | source = "registry+https://github.com/rust-lang/crates.io-index" 1277 | checksum = "a317bf8f9fba2476b4b2c85ef4c4af8ff39c3c7f0cdfeed4f82c34a880aa837b" 1278 | dependencies = [ 1279 | "bumpalo", 1280 | "lazy_static", 1281 | "log", 1282 | "proc-macro2", 1283 | "quote", 1284 | "syn", 1285 | "wasm-bindgen-shared", 1286 | ] 1287 | 1288 | [[package]] 1289 | name = "wasm-bindgen-macro" 1290 | version = "0.2.78" 1291 | source = "registry+https://github.com/rust-lang/crates.io-index" 1292 | checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" 1293 | dependencies = [ 1294 | "quote", 1295 | "wasm-bindgen-macro-support", 1296 | ] 1297 | 1298 | [[package]] 1299 | name = "wasm-bindgen-macro-support" 1300 | version = "0.2.78" 1301 | source = "registry+https://github.com/rust-lang/crates.io-index" 1302 | checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" 1303 | dependencies = [ 1304 | "proc-macro2", 1305 | "quote", 1306 | "syn", 1307 | "wasm-bindgen-backend", 1308 | "wasm-bindgen-shared", 1309 | ] 1310 | 1311 | [[package]] 1312 | name = "wasm-bindgen-shared" 1313 | version = "0.2.78" 1314 | source = "registry+https://github.com/rust-lang/crates.io-index" 1315 | checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" 1316 | 1317 | [[package]] 1318 | name = "web-sys" 1319 | version = "0.3.55" 1320 | source = "registry+https://github.com/rust-lang/crates.io-index" 1321 | checksum = "38eb105f1c59d9eaa6b5cdc92b859d85b926e82cb2e0945cd0c9259faa6fe9fb" 1322 | dependencies = [ 1323 | "js-sys", 1324 | "wasm-bindgen", 1325 | ] 1326 | 1327 | [[package]] 1328 | name = "webpki" 1329 | version = "0.21.4" 1330 | source = "registry+https://github.com/rust-lang/crates.io-index" 1331 | checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" 1332 | dependencies = [ 1333 | "ring", 1334 | "untrusted", 1335 | ] 1336 | 1337 | [[package]] 1338 | name = "which" 1339 | version = "4.2.2" 1340 | source = "registry+https://github.com/rust-lang/crates.io-index" 1341 | checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9" 1342 | dependencies = [ 1343 | "either", 1344 | "lazy_static", 1345 | "libc", 1346 | ] 1347 | 1348 | [[package]] 1349 | name = "winapi" 1350 | version = "0.3.9" 1351 | source = "registry+https://github.com/rust-lang/crates.io-index" 1352 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 1353 | dependencies = [ 1354 | "winapi-i686-pc-windows-gnu", 1355 | "winapi-x86_64-pc-windows-gnu", 1356 | ] 1357 | 1358 | [[package]] 1359 | name = "winapi-i686-pc-windows-gnu" 1360 | version = "0.4.0" 1361 | source = "registry+https://github.com/rust-lang/crates.io-index" 1362 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1363 | 1364 | [[package]] 1365 | name = "winapi-x86_64-pc-windows-gnu" 1366 | version = "0.4.0" 1367 | source = "registry+https://github.com/rust-lang/crates.io-index" 1368 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1369 | 1370 | [[package]] 1371 | name = "x509-parser" 1372 | version = "0.12.0" 1373 | source = "registry+https://github.com/rust-lang/crates.io-index" 1374 | checksum = "ffc90836a84cb72e6934137b1504d0cae304ef5d83904beb0c8d773bbfe256ed" 1375 | dependencies = [ 1376 | "base64", 1377 | "chrono", 1378 | "data-encoding", 1379 | "der-parser", 1380 | "lazy_static", 1381 | "nom", 1382 | "oid-registry", 1383 | "rusticata-macros", 1384 | "thiserror", 1385 | ] 1386 | 1387 | [[package]] 1388 | name = "yasna" 1389 | version = "0.4.0" 1390 | source = "registry+https://github.com/rust-lang/crates.io-index" 1391 | checksum = "e262a29d0e61ccf2b6190d7050d4b237535fc76ce4c1210d9caa316f71dffa75" 1392 | dependencies = [ 1393 | "chrono", 1394 | ] 1395 | --------------------------------------------------------------------------------