Skip to content

Commit

Permalink
feat: improve package metadata for future crate discoverability (#478)
Browse files Browse the repository at this point in the history
* improve package meta data for future crate discoverability

* fix: forgot what that was for
  • Loading branch information
load1n9 authored Dec 6, 2024
1 parent 797cba3 commit cb2e8c3
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 28 deletions.
24 changes: 21 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
[workspace]
resolver = "2"
members = ["nova_cli", "nova_vm", "common", "small_string", "tests"]
members = ["nova_cli", "nova_vm", "small_string", "tests"]

[profile.release]
lto = true
[workspace.package]
edition = "2021"
version = "0.1.0"
license = "MPL-2.0"
homepage = "https://trynova.dev"
keywords = [
"nova",
"engine",
"language",
"JavaScript",
"TypeScript",
"VM",
"data-oriented",
"data-oriented design"
]
categories = ["development-tools", "programming-languages"]
authors = ["The Nova Team"]

[workspace.dependencies]
ahash = "0.8.11"
Expand All @@ -30,3 +45,6 @@ sonic-rs = "0.3.16"
unicode-normalization = "0.1.24"
wtf8 = "0.1"
fast_float = "0.2.0"

[profile.release]
lto = true
8 changes: 0 additions & 8 deletions common/Cargo.toml

This file was deleted.

12 changes: 0 additions & 12 deletions common/src/lib.rs

This file was deleted.

11 changes: 9 additions & 2 deletions nova_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
[package]
name = "nova_cli"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/trynova/nova/tree/main/nova_cli"
description = "Nova Command Line Interface"
default-run = "nova_cli"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
clap = { workspace = true}
Expand Down
11 changes: 9 additions & 2 deletions nova_vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
[package]
name = "nova_vm"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/trynova/nova/tree/main/nova_vm"
description = "Nova Virtual Machine"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
ahash = { workspace = true }
Expand Down
7 changes: 6 additions & 1 deletion small_string/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[package]
name = "small_string"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/trynova/nova/tree/main/small_string"
description = "Small string optimization for Rust"
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true

[lib]
path = "lib.rs"

0 comments on commit cb2e8c3

Please sign in to comment.