add license headers and LICENSE file for derive

This commit is contained in:
Terts Diepraam
2023-11-30 11:20:20 +01:00
parent c40705e03d
commit d3ec7cd308
12 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) Terts Diepraam
Copyright (c) uutils developers
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
+1
View File
@@ -0,0 +1 @@
../LICENSE
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use std::ops::RangeInclusive;
use proc_macro2::TokenStream;
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use std::ops::RangeInclusive;
use syn::{
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use proc_macro2::TokenStream;
use quote::quote;
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use std::{
io::Read,
path::{Path, PathBuf},
-2
View File
@@ -1,5 +1,3 @@
// This file is part of the uutils coreutils package.
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use syn::{
parse::{Parse, ParseStream},
parse_macro_input, Data, DeriveInput, Fields, Token,
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
mod argument;
mod attributes;
mod flags;
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use std::{
error::Error as StdError,
ffi::OsString,
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
//! Argument parsing for the uutils coreutils project
//!
//! This crate provides the argument parsing for the
+3
View File
@@ -1,3 +1,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use crate::error::Error;
use std::{
ffi::{OsStr, OsString},