From 88f8dfb7b0fb33c4572e8e953939dc29e5ff619e Mon Sep 17 00:00:00 2001 From: Aldrin Jenson Date: Thu, 12 Oct 2023 17:38:35 +0530 Subject: [PATCH] add license --- Cargo.lock | 3 --- server/src/external_service.rs | 18 ++++++++++++++++++ server/src/handlers/http/external.rs | 18 ++++++++++++++++++ 3 files changed, 36 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bef28d691..7909059b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3407,9 +3407,6 @@ name = "semver" version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" -dependencies = [ - "serde", -] [[package]] name = "seq-macro" diff --git a/server/src/external_service.rs b/server/src/external_service.rs index e011e98f7..6264be3c9 100644 --- a/server/src/external_service.rs +++ b/server/src/external_service.rs @@ -1,3 +1,21 @@ +/* + * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + use std::{ collections::HashMap, sync::{Arc, RwLock}, diff --git a/server/src/handlers/http/external.rs b/server/src/handlers/http/external.rs index 6f3a26550..7a683d129 100644 --- a/server/src/handlers/http/external.rs +++ b/server/src/handlers/http/external.rs @@ -1,3 +1,21 @@ +/* + * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + use std::sync::RwLock; use actix_web::{http::header::ContentType, web, HttpRequest, HttpResponse, Responder};