update to using workspace package spec

This commit is contained in:
Brendan Hansknecht 2023-03-06 16:36:18 -08:00
parent c8edcecb7a
commit 5485c8a5b0
No known key found for this signature in database
GPG Key ID: A199D0660F95F948
65 changed files with 267 additions and 260 deletions

4
Cargo.lock generated
View File

@ -3912,7 +3912,7 @@ dependencies = [
[[package]]
name = "roc_wasm_interp"
version = "0.1.0"
version = "0.0.1"
dependencies = [
"bitvec",
"bumpalo",
@ -5000,7 +5000,7 @@ dependencies = [
[[package]]
name = "valgrind"
version = "0.1.0"
version = "0.0.1"
dependencies = [
"bumpalo",
"cli_utils",

View File

@ -42,6 +42,13 @@ exclude = [
# workspace, and without `resolver = "2"` here, you can't use `-p` like this.
resolver = "2"
[workspace.package]
authors = ["The Roc Contributors"]
edition = "2021"
license = "UPL-1.0"
repository = "https://github.com/roc-lang/roc"
version = "0.0.1"
[workspace.dependencies]
# NOTE: roc-lang/inkwell is a fork of TheDan64/inkwell which does not change anything.
#

View File

@ -1,9 +1,9 @@
[package]
name = "roc_ast"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "AST as used by the editor and (soon) docs. In contrast to the compiler, these types do not keep track of a location in a file."
[dependencies]

View File

@ -1,10 +1,10 @@
[package]
name = "roc_cli"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
repository = "https://github.com/roc-lang/roc"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true
description = "The Roc binary that brings together all functionality in the Roc toolset."
default-run = "roc"

View File

@ -1,10 +1,10 @@
[package]
name = "cli_utils"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
repository = "https://github.com/roc-lang/roc"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true
description = "Provides shared code for cli tests and benchmarks."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,9 +1,9 @@
[package]
name = "roc_code_markup"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Our own markup language for Roc code. Used by the editor and the docs."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
authors = ["The Roc Contributors"]
edition = "2021"
license = "UPL-1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
name = "roc_alias_analysis"
version = "0.0.1"
version.workspace = true
[dependencies]
morphic_lib = {path = "../../vendor/morphic_lib"}

View File

@ -1,10 +1,10 @@
[package]
name = "arena-pool"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
repository = "https://github.com/roc-lang/roc"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true
description = "An implementation of an arena allocator designed for the compiler's workloads."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_build"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Responsible for coordinating building and linking of a Roc app with its host."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_builtins"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides the Roc functions and modules that are implicitly imported into every module."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_can"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Canonicalize a roc abstract syntax tree, resolving symbols, re-ordering definitions, and preparing a module for type inference."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_collections"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Domain-specific collections created for the needs of the compiler."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_constrain"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Responsible for building the set of constraints that are used during type inference of a program, and for gathering context needed for pleasant error messages when a type error occurs."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_debug_flags"
version = "0.0.1"
edition = "2021"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Environment variables that can be toggled to aid debugging of the compiler itself."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_derive"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides auto-derivers for builtin abilities like `Hash` and `Decode`."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_derive_key"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
[dependencies]
roc_collections = { path = "../collections" }

View File

@ -1,9 +1,9 @@
[package]
name = "roc_exhaustive"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides exhaustiveness checking for Roc."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_fmt"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "The roc code formatter."
[dependencies]

View File

@ -1,10 +1,10 @@
[package]
name = "roc_gen_dev"
description = "The development backend for the Roc compiler"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
[dependencies]
roc_collections = { path = "../collections" }

View File

@ -1,10 +1,10 @@
[package]
name = "roc_gen_llvm"
description = "The LLVM backend for the Roc compiler"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
[dependencies]
roc_alias_analysis = { path = "../alias_analysis" }

View File

@ -1,9 +1,9 @@
[package]
name = "roc_gen_wasm"
version = "0.0.1"
edition = "2021"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Provides the WASM backend to generate Roc binaries."
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "roc_ident"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Implements data structures used for efficiently representing small strings, like identifiers."

View File

@ -1,9 +1,9 @@
[package]
name = "roc_late_solve"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides type unification and solving primitives from the perspective of the compiler backend."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_load"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Used to load a .roc file and coordinate the compiler pipeline, including parsing, type checking, and code generation."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_load_internal"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "The internal implementation of roc_load, separate from roc_load to support caching."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_module"
version = "0.0.1"
authors = ["The Roc Contributors"]
edition = "2021"
license = "UPL-1.0"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
description = "Implements data structures used for efficiently representing unique modules and identifiers in Roc programs."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_mono"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Roc's main intermediate representation (IR), which is responsible for monomorphization, defunctionalization, inserting ref-count instructions, and transforming a Roc program into a form that is easy to consume by a backend."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_parse"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Implements the Roc parser, which transforms a textual representation of a Roc program to an AST."
[features]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_problem"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides types to describe problems that can occur when compiling Roc code."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_region"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Data structures for storing source-code-location information, used heavily for contextual error messages."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_target"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides types and helpers for compiler targets such as default_x86_64."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_serialize"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides helpers for serializing and deserializing to/from bytes."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_solve"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "The entry point of Roc's type inference system. Implements type inference and specialization of abilities."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_solve_problem"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides types to describe problems that can occur during solving."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "test_derive"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Tests Roc's auto-derivers."
[[test]]

View File

@ -1,9 +1,9 @@
[package]
name = "test_gen"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Contains all of Roc's code generation tests."
[[test]]

View File

@ -1,9 +1,9 @@
[package]
name = "test_mono"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Tests Roc's generation of the mono intermediate representation."
[[test]]

View File

@ -1,9 +1,9 @@
[package]
name = "test_mono_macros"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Macros for use in test_mono."
[lib]

View File

@ -1,9 +1,9 @@
[package]
name = "test_syntax"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Tests for the parse + fmt crates."
[features]

View File

@ -1,9 +1,9 @@
[package]
name = "test_syntax-fuzz"
version = "0.0.0"
authors = ["Automatically generated"]
version.workspace = true
authors.workspace = true
publish = false
edition = "2021"
edition.workspace = true
[package.metadata]
cargo-fuzz = true

View File

@ -1,9 +1,9 @@
[package]
name = "roc_types"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Various representations and utilities for dealing with types in the Roc compiler."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
authors = ["The Roc Contributors"]
edition = "2021"
license = "UPL-1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
name = "roc_unify"
version = "0.0.1"
version.workspace = true
description = "Implements Roc's unification algorithm, the heartstone of Roc's type inference."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_docs"
version = "0.0.1"
license = "UPL-1.0"
authors = ["The Roc Contributors"]
edition = "2021"
version.workspace = true
license.workspace = true
authors.workspace = true
edition.workspace = true
description = "Generates html documentation from Roc files and is used for Rocs builtins."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_docs_cli"
version = "0.0.1"
license = "UPL-1.0"
authors = ["The Roc Contributors"]
edition = "2021"
version.workspace = true
license.workspace = true
authors.workspace = true
edition.workspace = true
description = "Provides a binary that is only used for static build servers."
# This binary is only used on static build servers, e.g. Netlify.

View File

@ -1,9 +1,9 @@
[package]
name = "roc_editor"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "An editor for Roc"
[package.metadata.cargo-udeps.ignore]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_error_macros"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Provides macros for consistent reporting of errors in Roc's rust code."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_glue"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Generates code needed for platform hosts to communicate with Roc apps. This tool is not necessary for writing a platform in another language, however, it's a great convenience! Currently supports Rust platforms, and the plan is to support any language via a plugin model."
[dependencies]

View File

@ -11,10 +11,10 @@
[package]
name = "host"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2018"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
links = "app"
[lib]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_highlight"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "For syntax highlighting, starts with a string and returns our markup nodes."
[dependencies]

View File

@ -1,10 +1,10 @@
[package]
name = "roc_linker"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
repository = "https://github.com/roc-lang/roc"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true
description = "A surgical linker for Roc"
[lib]

View File

@ -1,10 +1,10 @@
[package]
name = "roc_packaging"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
repository = "https://github.com/roc-lang/roc"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true
description = "Functionality for packaging Roc source code - e.g. for distribution over the network"
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
edition = "2021"
edition.workspace = true
name = "roc_repl_cli"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
authors.workspace = true
license.workspace = true
description = "Command Line Interface(CLI) functionality for the Read-Evaluate-Print-Loop (REPL)."

View File

@ -1,9 +1,9 @@
[package]
edition = "2021"
edition.workspace = true
name = "roc_repl_eval"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
authors.workspace = true
license.workspace = true
description = "Provides the functionality for the REPL to evaluate Roc expressions."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,9 +1,9 @@
[package]
name = "roc_repl_expect"
version = "0.0.1"
edition = "2021"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Supports evaluating expect and printing contextual information when they fail."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
edition = "2021"
edition.workspace = true
name = "repl_test"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
authors.workspace = true
license.workspace = true
description = "Tests the roc REPL."
[build-dependencies]

View File

@ -1,9 +1,9 @@
[package]
edition = "2021"
edition.workspace = true
name = "roc_repl_wasm"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
authors.workspace = true
license.workspace = true
description = "Provides a build of the REPL for the Roc website using WebAssembly."
[lib]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_reporting"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Responsible for generating warning and error messages."
[dependencies]

View File

@ -1,12 +1,12 @@
[package]
authors = ["The Roc Contributors"]
authors.workspace = true
description = "Rust representations of Roc data structures"
edition = "2021"
license = "UPL-1.0"
edition.workspace = true
license.workspace = true
name = "roc_std"
readme = "README.md"
repository = "https://github.com/roc-lang/roc"
version = "0.0.1"
repository.workspace = true
version.workspace = true
[dependencies]
static_assertions = "1.1.0"

View File

@ -1,9 +1,9 @@
[package]
name = "roc_test_utils"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Utility functions used all over the code base."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_tracing"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Utilities for setting up tracing at various executable entry points."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_utils"
version = "0.0.1"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
description = "Utility functions used all over the code base."
[dependencies]

View File

@ -1,9 +1,9 @@
[package]
name = "valgrind"
version = "0.1.0"
edition = "2021"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
[dev-dependencies]
cli_utils = { path = "../cli_utils" }

View File

@ -1,11 +1,11 @@
[package]
authors = ["The Roc Contributors"]
authors.workspace = true
description = "Rust wrapper for a WebAssembly test platform built on libc"
edition = "2021"
license = "UPL-1.0"
edition.workspace = true
license.workspace = true
name = "wasi_libc_sys"
repository = "https://github.com/roc-lang/roc"
version = "0.0.1"
repository.workspace = true
version.workspace = true
[build-dependencies]
roc_utils = {path = "../utils"}

View File

@ -1,9 +1,9 @@
[package]
name = "roc_wasm_interp"
version = "0.1.0"
edition = "2021"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "A WebAssembly interpreter for testing the compiler."
[[bin]]

View File

@ -1,9 +1,9 @@
[package]
name = "roc_wasm_module"
version = "0.0.1"
edition = "2021"
authors = ["The Roc Contributors"]
license = "UPL-1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Parse, manipulate, and serialize WebAssembly modules."
[dependencies]