Browse Source

Bump version for publishing, expand manifests, minor doc update.

Kestrel 2 years ago
parent
commit
d00089ace9
5 changed files with 36 additions and 10 deletions
  1. 3 3
      Cargo.lock
  2. 4 0
      README.md
  3. 9 2
      rustructure-macros/Cargo.toml
  4. 11 2
      rustructure-test/Cargo.toml
  5. 9 3
      rustructure/Cargo.toml

+ 3 - 3
Cargo.lock

@@ -22,14 +22,14 @@ dependencies = [
 
 [[package]]
 name = "rustructure"
-version = "0.1.1"
+version = "0.2.0"
 dependencies = [
  "rustructure-macros",
 ]
 
 [[package]]
 name = "rustructure-macros"
-version = "0.1.1"
+version = "0.2.0"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -38,7 +38,7 @@ dependencies = [
 
 [[package]]
 name = "rustructure-test"
-version = "0.1.1"
+version = "0.2.0"
 dependencies = [
  "rustructure",
 ]

+ 4 - 0
README.md

@@ -39,3 +39,7 @@ assert_eq!(
     )".to_string()
 );
 ```
+
+If it is of interest, you can find test cases for the library (via
+`StringWalker`) in the unpublished `rustructure-test` crate [in the source
+repository](https://git.flying-kestrel.ca/kestrel/rustructure).

+ 9 - 2
rustructure-macros/Cargo.toml

@@ -1,7 +1,14 @@
 [package]
 name = "rustructure-macros"
-version = "0.1.1"
+version = "0.2.0"
 edition = "2021"
+description = "Macros for rustructure crate."
+readme = "../README.md"
+authors = [
+    "Kestrel <kestrel@flying-kestrel.ca>"
+]
+repository = "https://git.flying-kestrel.ca/kestrel/rustructure"
+license = "BSD-4-Clause"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
@@ -9,6 +16,6 @@ edition = "2021"
 proc-macro = true
 
 [dependencies]
-syn = { version = "1.0", features = ["derive", "extra-traits"] }
+syn = { version = "1.0", features = ["derive"] }
 proc-macro2 = "1.0"
 quote = "1.0"

+ 11 - 2
rustructure-test/Cargo.toml

@@ -1,9 +1,18 @@
 [package]
 name = "rustructure-test"
-version = "0.1.1"
+version = "0.2.0"
 edition = "2021"
+description = "Tests for rustructure crate."
+readme = "../README.md"
+authors = [
+    "Kestrel <kestrel@flying-kestrel.ca>"
+]
+repository = "https://git.flying-kestrel.ca/kestrel/rustructure"
+license = "BSD-4-Clause"
+# This crate is for tests that do not need to be published
+publish = false
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-rustructure = { path = "../rustructure", version = "0.1.1", features = ["std"] }
+rustructure = { path = "../rustructure", version = "0.2.0", features = ["std"] }

+ 9 - 3
rustructure/Cargo.toml

@@ -1,7 +1,14 @@
 [package]
 name = "rustructure"
-version = "0.1.1"
+version = "0.2.0"
 edition = "2021"
+description = "Run-time introspection on compile-time flagged structures."
+readme = "../README.md"
+authors = [
+    "Kestrel <kestrel@flying-kestrel.ca>"
+]
+repository = "https://git.flying-kestrel.ca/kestrel/rustructure"
+license = "BSD-4-Clause"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
@@ -10,5 +17,4 @@ default = ["std"]
 std = []
 
 [dependencies]
-rustructure-macros = { path = "../rustructure-macros", version = "0.1.1" }
-
+rustructure-macros = { path = "../rustructure-macros", version = "0.2.0" }