Skip to content

Commit

Permalink
misc: add publishing metadata to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann committed May 15, 2020
1 parent cad77f3 commit 595f5a9
Show file tree
Hide file tree
Showing 12 changed files with 87 additions and 37 deletions.
16 changes: 10 additions & 6 deletions crates/mun/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ name = "mun"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
default-run = "mun"
description = "Command-line interface for compiling, monitoring and running Mun code"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Command-line interface for compiling, monitoring and running Mun code"
keywords = ["cli", "game", "hot reloading", "language", "mun", "scripting"]
categories = ["Command-line interface", "Game development", "Mun"]
default-run = "mun"

[dependencies]
failure = "0.1.7"
clap = "2.33.0"
mun_abi = { path = "../mun_abi" }
mun_compiler = { path = "../mun_compiler" }
mun_compiler_daemon = { path = "../mun_compiler_daemon" }
mun_runtime = { path = "../mun_runtime" }
mun_abi = { version = "=0.2.0", path = "../mun_abi" }
mun_compiler = { version = "=0.2.0", path = "../mun_compiler" }
mun_compiler_daemon = { version = "=0.2.0", path = "../mun_compiler_daemon" }
mun_runtime = { version = "=0.2.0", path = "../mun_runtime" }

[dev-dependencies.cargo-husky]
version = "1"
Expand Down
6 changes: 5 additions & 1 deletion crates/mun_abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name = "mun_abi"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Rust wrapper for the Mun ABI"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Rust wrapper for the Mun ABI"
keywords = ["ffi", "game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
md5 = "0.7.0"
Expand Down
14 changes: 9 additions & 5 deletions crates/mun_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ name = "mun_codegen"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "LLVM IR code generation for Mun"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "LLVM IR code generation for Mun"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
abi = { path = "../mun_abi", package = "mun_abi" }
hir = { path = "../mun_hir", package = "mun_hir" }
mun_target = { path = "../mun_target" }
mun_lld = { path = "../mun_lld" }
abi = { version = "=0.2.0", path = "../mun_abi", package = "mun_abi" }
hir = { version = "=0.2.0", path = "../mun_hir", package = "mun_hir" }
mun_target = { version = "=0.2.0", path = "../mun_target" }
mun_lld = { version = "=70.2.0", path = "../mun_lld" }
failure = "0.1.7"
salsa="0.12"
md5="0.6.1"
Expand Down
14 changes: 9 additions & 5 deletions crates/mun_compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@ name = "mun_compiler"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Binary compilation functionality for Mun"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Binary compilation functionality for Mun"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
failure = "0.1.7"
mun_codegen = { path="../mun_codegen" }
mun_syntax = { path="../mun_syntax" }
mun_hir = {path="../mun_hir"}
mun_target = {path="../mun_target"}
mun_codegen = { version = "=0.2.0", path="../mun_codegen" }
mun_syntax = { version = "=0.2.0", path="../mun_syntax" }
mun_hir = { version = "=0.2.0", path="../mun_hir" }
mun_target = { version = "=0.2.0", path="../mun_target" }
annotate-snippets = { version = "0.6.1", features = ["color"] }
unicode-segmentation = "1.6.0"
ansi_term = "0.12.1"
Expand Down
8 changes: 6 additions & 2 deletions crates/mun_compiler_daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ name = "mun_compiler_daemon"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Functionality for continuously monitoring Mun source files for changes and triggering recompilation"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Functionality for continuously monitoring Mun source files for changes and triggering recompilation"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
failure = "0.1.7"
mun_compiler = { path = "../mun_compiler" }
mun_compiler = { version = "=0.2.0", path = "../mun_compiler" }
notify = "4.0.12"
10 changes: 7 additions & 3 deletions crates/mun_hir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ name = "mun_hir"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Provides high-level intermediate representation of Mun code"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Provides high-level intermediate representation of Mun code"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
salsa="0.12"
superslice = "1.0"
mun_syntax={path="../mun_syntax"}
mun_target={path="../mun_target"}
mun_syntax = { version = "=0.2.0", path = "../mun_syntax" }
mun_target = { version = "=0.2.0", path = "../mun_target" }
rustc-hash = "1.1"
once_cell = "0.2"
relative-path = "0.4.0"
Expand Down
6 changes: 5 additions & 1 deletion crates/mun_lld/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name = "mun_lld"
version = "70.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Bindings for LLD used to link Mun binaries"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Bindings for LLD used to link Mun binaries"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
libc = "0.2.65"
Expand Down
14 changes: 10 additions & 4 deletions crates/mun_memory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
[package]
name = "mun_memory"
version = "0.1.0"
authors = ["Wodann <[email protected]>"]
authors = ["The Mun Team <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
description = "Memory management functionality for Mun"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
abi = { path = "../mun_abi", package = "mun_abi" }
abi = { version = "=0.2.0", path = "../mun_abi", package = "mun_abi" }
once_cell = "1.3.1"
parking_lot = "0.10"
lazy_static = "1.4.0"
Expand Down
10 changes: 7 additions & 3 deletions crates/mun_runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@ name = "mun_runtime"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "A runtime for hot reloading and invoking Mun from Rust"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "A runtime for hot reloading and invoking Mun from Rust"
keywords = ["game", "hot reloading", "language", "mun", "runtime", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
abi = { path = "../mun_abi", package = "mun_abi" }
abi = { version = "=0.2.0", path = "../mun_abi", package = "mun_abi" }
failure = "0.1.7"
libloading = "0.5"
md5 = "0.7.0"
memory = { path = "../mun_memory", package = "mun_memory" }
memory = { version = "=0.1.0", path = "../mun_memory", package = "mun_memory" }
notify = "4.0.12"
parking_lot = "0.10"
tempfile = "3"
Expand Down
12 changes: 8 additions & 4 deletions crates/mun_runtime_capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name = "mun_runtime_capi"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Provides a C API for the Mun runtime"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Provides a C api to the mun_runtime crate"
keywords = ["ffi", "game", "hot reloading", "language", "mun", "scripting"]
categories = ["API bindings", "Game development", "Mun"]

[lib]
name = "mun_runtime"
Expand All @@ -15,9 +19,9 @@ crate-type = ["cdylib"]
[dependencies]
failure = "0.1.7"
lazy_static = "1.4.0"
abi = { path = "../mun_abi", package = "mun_abi" }
memory = { path = "../mun_memory", package = "mun_memory" }
runtime = { path = "../mun_runtime", package = "mun_runtime" }
abi = { version = "=0.2.0", path = "../mun_abi", package = "mun_abi" }
memory = { version = "=0.1.0", path = "../mun_memory", package = "mun_memory" }
runtime = { version = "=0.2.0", path = "../mun_runtime", package = "mun_runtime" }
parking_lot = "0.10"
rand = "0.7.2"

Expand Down
8 changes: 6 additions & 2 deletions crates/mun_syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ name = "mun_syntax"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Parsing functionality for the Mun programming language"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Parsing functionality for the Mun programming language"
keywords = ["game", "hot reloading", "language", "mun", "scripting", "syntax"]
categories = ["Game development", "Mun"]

[dependencies]
abi = { path = "../mun_abi", package = "mun_abi" }
abi = { version = "=0.2.0", path = "../mun_abi", package = "mun_abi" }
rowan = "0.6.1"
text_unit = { version = "0.1.6", features = ["serde"] }
smol_str = { version = "0.1.12", features = ["serde"] }
Expand Down
6 changes: 5 additions & 1 deletion crates/mun_target/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name = "mun_target"
version = "0.2.0"
authors = ["The Mun Team <[email protected]>"]
edition = "2018"
description = "Describes compilation targets for Mun"
documentation = "https://docs.mun-lang.org/v0.2"
readme = "README.md"
homepage = "https://mun-lang.org"
repository = "https://github.com/mun-lang/mun"
license = "MIT OR Apache-2.0"
description = "Describes compilation targets for Mun"
keywords = ["game", "hot reloading", "language", "mun", "scripting"]
categories = ["Game development", "Mun"]

[dependencies]
log = "0.4.8"
Expand Down

0 comments on commit 595f5a9

Please sign in to comment.