Add copyright to source files

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/1/head
trivernis 4 years ago
parent f4462356f6
commit e62e841d47
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use async_std::io::{Read, ReadExt}; use async_std::io::{Read, ReadExt};
use byteorder::{BigEndian, ByteOrder, ReadBytesExt}; use byteorder::{BigEndian, ByteOrder, ReadBytesExt};

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use crate::event::Event; use crate::event::Event;

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use std::collections::HashMap; use std::collections::HashMap;
use crate::event::Event; use crate::event::Event;

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::Arc; use std::sync::Arc;

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
#[macro_use] #[macro_use]
pub mod utils; pub mod utils;

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use x25519_dalek::PublicKey; use x25519_dalek::PublicKey;
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use async_std::net::{TcpListener, TcpStream}; use async_std::net::{TcpListener, TcpStream};
use std::collections::HashMap; use std::collections::HashMap;
use std::iter::FromIterator; use std::iter::FromIterator;

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use std::sync::Arc; use std::sync::Arc;
use rand::{thread_rng, RngCore}; use rand::{thread_rng, RngCore};

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use async_std::prelude::*; use async_std::prelude::*;
use byteorder::{BigEndian, ByteOrder}; use byteorder::{BigEndian, ByteOrder};

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
pub use crypto_box::PublicKey; pub use crypto_box::PublicKey;
pub use crypto_box::SecretKey; pub use crypto_box::SecretKey;

@ -1,2 +1,8 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
pub mod result; pub mod result;
pub mod sync; pub mod sync;

@ -1,3 +1,9 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use std::error::Error; use std::error::Error;
use std::{fmt, io}; use std::{fmt, io};

@ -1,6 +1,12 @@
/*
* vented asynchronous event based tcp server
* Copyright (C) 2020 trivernis
* See LICENSE for more information
*/
use std::mem;
use std::sync::Arc; use std::sync::Arc;
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
use std::{mem};
use parking_lot::Mutex; use parking_lot::Mutex;

Loading…
Cancel
Save