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

View file

@ -3,3 +3,33 @@
[workspace]
resolver = "2"
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
[package]
name = "fayalite-proc-macros-impl"
version = "0.1.0"
edition = "2021"
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]
base16ct = "0.2.0"
num-bigint = "0.4.4"
prettyplease = "0.2.20"
proc-macro2 = "1.0.78"
quote = "1.0.35"
sha2 = "0.10.8"
syn = { version = "2.0.53", features = ["full", "fold", "visit", "extra-traits"] }
tempfile = "3.10.1"
base16ct = { workspace = true }
num-bigint = { workspace = true }
prettyplease = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
sha2 = { workspace = true }
syn = { workspace = true }
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
[package]
name = "fayalite-proc-macros"
version = "0.1.0"
edition = "2021"
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]
proc-macro = true
[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
[package]
name = "fayalite-visit-gen"
version = "0.1.0"
edition = "2021"
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]
indexmap = { version = "2.2.6", features = ["serde"] }
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"] }
syn = { version = "2.0.66", features = ["full", "extra-traits"] }
thiserror = "1.0.61"
indexmap = { workspace = true }
prettyplease = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
syn = { workspace = true }
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
[package]
name = "fayalite"
version = "0.1.0"
edition = "2021"
description = "Hardware Description Language embedded in Rust, using FIRRTL's semantics"
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]
bitvec = { version = "1.0.1", features = ["serde"] }
hashbrown = "0.14.3"
num-bigint = "0.4.4"
num-traits = "0.2.16"
paste = "1.0.14"
fayalite-proc-macros = { version = "=0.1.0", path = "../fayalite-proc-macros" }
serde = { version = "1.0.202", features = ["derive"] }
serde_json = "1.0.117"
bitvec = { workspace = true }
hashbrown = { workspace = true }
num-bigint = { workspace = true }
num-traits = { workspace = true }
fayalite-proc-macros = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
[dev-dependencies]
trybuild = "1.0"
trybuild = { workspace = true }
[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