mirror of
https://github.com/topjohnwu/argh.git
synced 2024-11-23 03:39:41 +00:00
Prep for release
This patch: * Converts argh into using a workspace * Moves `argh` files into `argh/`. * Changes each crate to include the license and README.md
This commit is contained in:
parent
d98b6be239
commit
ea19834969
19
Cargo.toml
19
Cargo.toml
@ -1,13 +1,6 @@
|
||||
[package]
|
||||
name = "argh"
|
||||
version = "0.1.4"
|
||||
authors = ["Taylor Cramer <cramertj@google.com>", "Benjamin Brittain <bwb@google.com>", "Erick Tryzelaar <etryzelaar@google.com>"]
|
||||
edition = "2018"
|
||||
keywords = ["args", "arguments", "derive", "cli"]
|
||||
license = "BSD-3-Clause"
|
||||
description = "Derive-based argument parser optimized for code size"
|
||||
repository = "https://github.com/google/argh"
|
||||
|
||||
[dependencies]
|
||||
argh_shared = { version = "0.1.4", path = "./argh_shared" }
|
||||
argh_derive = { version = "0.1.4", path = "./argh_derive" }
|
||||
[workspace]
|
||||
members = [
|
||||
"argh",
|
||||
"argh_derive",
|
||||
"argh_shared",
|
||||
]
|
||||
|
15
argh/Cargo.toml
Normal file
15
argh/Cargo.toml
Normal file
@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "argh"
|
||||
version = "0.1.5"
|
||||
authors = ["Taylor Cramer <cramertj@google.com>", "Benjamin Brittain <bwb@google.com>", "Erick Tryzelaar <etryzelaar@google.com>"]
|
||||
edition = "2018"
|
||||
keywords = ["args", "arguments", "derive", "cli"]
|
||||
license = "BSD-3-Clause"
|
||||
description = "Derive-based argument parser optimized for code size"
|
||||
repository = "https://github.com/google/argh"
|
||||
readme = "README.md"
|
||||
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
|
||||
|
||||
[dependencies]
|
||||
argh_shared = { version = "0.1.5", path = "../argh_shared" }
|
||||
argh_derive = { version = "0.1.5", path = "../argh_derive" }
|
1
argh/LICENSE
Symbolic link
1
argh/LICENSE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE
|
1
argh/README.md
Symbolic link
1
argh/README.md
Symbolic link
@ -0,0 +1 @@
|
||||
../README.md
|
@ -1,11 +1,13 @@
|
||||
[package]
|
||||
name = "argh_derive"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
authors = ["Taylor Cramer <cramertj@google.com>", "Benjamin Brittain <bwb@google.com>", "Erick Tryzelaar <etryzelaar@google.com>"]
|
||||
edition = "2018"
|
||||
license = "BSD-3-Clause"
|
||||
description = "Derive-based argument parsing optimized for code size"
|
||||
repository = "https://github.com/google/argh"
|
||||
readme = "README.md"
|
||||
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
@ -15,4 +17,4 @@ heck = "0.3.1"
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
syn = "1.0"
|
||||
argh_shared = { version = "0.1.4", path = "../argh_shared" }
|
||||
argh_shared = { version = "0.1.5", path = "../argh_shared" }
|
||||
|
@ -1,27 +0,0 @@
|
||||
Copyright 2019 The Fuchsia Authors. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1
argh_derive/LICENSE
Symbolic link
1
argh_derive/LICENSE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE
|
1
argh_derive/README.md
Symbolic link
1
argh_derive/README.md
Symbolic link
@ -0,0 +1 @@
|
||||
../README.md
|
@ -1,8 +1,10 @@
|
||||
[package]
|
||||
name = "argh_shared"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
authors = ["Taylor Cramer <cramertj@google.com>", "Benjamin Brittain <bwb@google.com>", "Erick Tryzelaar <etryzelaar@google.com>"]
|
||||
edition = "2018"
|
||||
license = "BSD-3-Clause"
|
||||
description = "Derive-based argument parsing optimized for code size"
|
||||
repository = "https://github.com/google/argh"
|
||||
readme = "README.md"
|
||||
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
|
||||
|
@ -1,27 +0,0 @@
|
||||
Copyright 2019 The Fuchsia Authors. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1
argh_shared/LICENSE
Symbolic link
1
argh_shared/LICENSE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE
|
1
argh_shared/README.md
Symbolic link
1
argh_shared/README.md
Symbolic link
@ -0,0 +1 @@
|
||||
../README.md
|
Loading…
Reference in New Issue
Block a user