Compare commits

...

2 commits

Author SHA1 Message Date
Jacob Lifshay 6a5f1b8af1
prep for eventual publishing
All checks were successful
/ test (push) Successful in 9m43s
2024-07-11 22:39:00 -07:00
Jacob Lifshay 109dda21ce
remove unused paste dependency 2024-07-11 22:36:10 -07:00
16 changed files with 98 additions and 46 deletions

7
Cargo.lock generated
View file

@ -136,7 +136,6 @@ dependencies = [
"hashbrown", "hashbrown",
"num-bigint", "num-bigint",
"num-traits", "num-traits",
"paste",
"serde", "serde",
"serde_json", "serde_json",
"trybuild", "trybuild",
@ -273,12 +272,6 @@ version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "paste"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
[[package]] [[package]]
name = "prettyplease" name = "prettyplease"
version = "0.2.20" version = "0.2.20"

View file

@ -3,3 +3,33 @@
[workspace] [workspace]
resolver = "2" resolver = "2"
members = ["crates/*"] members = ["crates/*"]
[workspace.package]
version = "0.1.0"
license = "LGPL-3.0-or-later"
edition = "2021"
repository = "https://git.libre-chip.org/libre-chip/fayalite"
keywords = ["hdl", "hardware", "semiconductors", "firrtl", "fpga"]
categories = ["simulation", "development-tools", "compilers"]
rust-version = "1.79"
[workspace.dependencies]
fayalite-proc-macros = { version = "=0.1.0", path = "crates/fayalite-proc-macros" }
fayalite-proc-macros-impl = { version = "=0.1.0", path = "crates/fayalite-proc-macros-impl" }
fayalite-visit-gen = { version = "=0.1.0", path = "crates/fayalite-visit-gen" }
base16ct = "0.2.0"
bitvec = { version = "1.0.1", features = ["serde"] }
hashbrown = "0.14.3"
indexmap = { version = "2.2.6", features = ["serde"] }
num-bigint = "0.4.4"
num-traits = "0.2.16"
prettyplease = "0.2.20"
proc-macro2 = "1.0.83"
quote = "1.0.36"
serde = { version = "1.0.202", features = ["derive"] }
serde_json = { version = "1.0.117", features = ["preserve_order"] }
sha2 = "0.10.8"
syn = { version = "2.0.66", features = ["full", "fold", "visit", "extra-traits"] }
tempfile = "3.10.1"
thiserror = "1.0.61"
trybuild = "1.0"

0
README.md Normal file
View file

View file

@ -2,17 +2,22 @@
# See Notices.txt for copyright information # See Notices.txt for copyright information
[package] [package]
name = "fayalite-proc-macros-impl" name = "fayalite-proc-macros-impl"
version = "0.1.0"
edition = "2021"
workspace = "../.." workspace = "../.."
license = "LGPL-3.0-or-later" description = "an implementation detail of fayalite -- the procedural macros' implementations"
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[dependencies] [dependencies]
base16ct = "0.2.0" base16ct = { workspace = true }
num-bigint = "0.4.4" num-bigint = { workspace = true }
prettyplease = "0.2.20" prettyplease = { workspace = true }
proc-macro2 = "1.0.78" proc-macro2 = { workspace = true }
quote = "1.0.35" quote = { workspace = true }
sha2 = "0.10.8" sha2 = { workspace = true }
syn = { version = "2.0.53", features = ["full", "fold", "visit", "extra-traits"] } syn = { workspace = true }
tempfile = "3.10.1" tempfile = { workspace = true }

View file

@ -0,0 +1 @@
../../LICENSE.md

View file

@ -0,0 +1 @@
../../Notices.txt

View file

@ -2,13 +2,18 @@
# See Notices.txt for copyright information # See Notices.txt for copyright information
[package] [package]
name = "fayalite-proc-macros" name = "fayalite-proc-macros"
version = "0.1.0"
edition = "2021"
workspace = "../.." workspace = "../.."
license = "LGPL-3.0-or-later" description = "an implementation detail of fayalite -- the procedural macros"
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[lib] [lib]
proc-macro = true proc-macro = true
[dependencies] [dependencies]
fayalite-proc-macros-impl = { version = "=0.1.0", path = "../fayalite-proc-macros-impl" } fayalite-proc-macros-impl = { workspace = true }

View file

@ -0,0 +1 @@
../../LICENSE.md

View file

@ -0,0 +1 @@
../../Notices.txt

View file

@ -2,17 +2,22 @@
# See Notices.txt for copyright information # See Notices.txt for copyright information
[package] [package]
name = "fayalite-visit-gen" name = "fayalite-visit-gen"
version = "0.1.0"
edition = "2021"
workspace = "../.." workspace = "../.."
license = "LGPL-3.0-or-later" description = "an implementation detail of fayalite -- Visit/Fold implementation generator"
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[dependencies] [dependencies]
indexmap = { version = "2.2.6", features = ["serde"] } indexmap = { workspace = true }
prettyplease = "0.2.20" prettyplease = { workspace = true }
proc-macro2 = "1.0.83" proc-macro2 = { workspace = true }
quote = "1.0.36" quote = { workspace = true }
serde = { version = "1.0.202", features = ["derive"] } serde = { workspace = true }
serde_json = { version = "1.0.117", features = ["preserve_order"] } serde_json = { workspace = true }
syn = { version = "2.0.66", features = ["full", "extra-traits"] } syn = { workspace = true }
thiserror = "1.0.61" thiserror = { workspace = true }

View file

@ -0,0 +1 @@
../../LICENSE.md

View file

@ -0,0 +1 @@
../../Notices.txt

View file

@ -2,23 +2,28 @@
# See Notices.txt for copyright information # See Notices.txt for copyright information
[package] [package]
name = "fayalite" name = "fayalite"
version = "0.1.0" description = "Hardware Description Language embedded in Rust, using FIRRTL's semantics"
edition = "2021"
workspace = "../.." workspace = "../.."
license = "LGPL-3.0-or-later" readme = "README.md"
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[dependencies] [dependencies]
bitvec = { version = "1.0.1", features = ["serde"] } bitvec = { workspace = true }
hashbrown = "0.14.3" hashbrown = { workspace = true }
num-bigint = "0.4.4" num-bigint = { workspace = true }
num-traits = "0.2.16" num-traits = { workspace = true }
paste = "1.0.14" fayalite-proc-macros = { workspace = true }
fayalite-proc-macros = { version = "=0.1.0", path = "../fayalite-proc-macros" } serde = { workspace = true }
serde = { version = "1.0.202", features = ["derive"] } serde_json = { workspace = true }
serde_json = "1.0.117"
[dev-dependencies] [dev-dependencies]
trybuild = "1.0" trybuild = { workspace = true }
[build-dependencies] [build-dependencies]
fayalite-visit-gen = { version = "=0.1.0", path = "../fayalite-visit-gen" } fayalite-visit-gen = { workspace = true }

1
crates/fayalite/LICENSE.md Symbolic link
View file

@ -0,0 +1 @@
../../LICENSE.md

1
crates/fayalite/Notices.txt Symbolic link
View file

@ -0,0 +1 @@
../../Notices.txt

1
crates/fayalite/README.md Symbolic link
View file

@ -0,0 +1 @@
../../README.md