Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compiler_base): add config for crate.io. #207

Merged
merged 1 commit into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions compiler_base/3rdparty/rustc_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
name = "rustc_data_structures"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "Reuse rustc_data_structures for compiler_base"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["rustc", "rustc_data_structures"]
categories = ["command-line-utilities"]

[lib]
doctest = false
Expand Down
3 changes: 3 additions & 0 deletions compiler_base/3rdparty/rustc_data_structures/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reuse rustc_data_structures for compiler_base.

note: [WIP] Do not use it.
10 changes: 9 additions & 1 deletion compiler_base/3rdparty/rustc_errors/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "rustc_errors"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "Reuse rustc_errors for compiler_base"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["rustc", "rustc_errors"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 3 additions & 0 deletions compiler_base/3rdparty/rustc_errors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reuse rustc_errors for compiler_base.

note: [WIP] Do not use it.
8 changes: 8 additions & 0 deletions compiler_base/3rdparty/rustc_span/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
name = "rustc_span"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "Reuse rustc_span for compiler_base"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["rustc", "rustc_span"]
categories = ["command-line-utilities"]

[lib]
doctest = false
Expand Down
3 changes: 3 additions & 0 deletions compiler_base/3rdparty/rustc_span/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reuse rustc_span for compiler_base.

note: [WIP] Do not use it.
2 changes: 1 addition & 1 deletion compiler_base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = "A common domain programming language framework."
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["compiler", "error"]
keywords = ["compiler"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
16 changes: 12 additions & 4 deletions compiler_base/error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
[package]
name = "compiler_base_error"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "compiler_base_error"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["compiler", "error"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
compiler_base_span = {path = "../span", version = "0.1.0"}
compiler_base_macros = {path = "../macros", version = "0.1.0"}
rustc_errors = {path="../3rdparty/rustc_errors", version="0.1.0"}
compiler_base_span = {path = "../span", version = "0.0.0"}
compiler_base_macros = {path = "../macros", version = "0.0.0"}
rustc_errors = {path="../3rdparty/rustc_errors", version="0.0.0"}
unic-langid = {version="0.9.0", features = ["macros"]}

fluent = "0.16.0"
Expand Down
3 changes: 3 additions & 0 deletions compiler_base/error/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
compiler_base_error

note: [WIP] Do not use it.
10 changes: 9 additions & 1 deletion compiler_base/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "compiler_base_macros"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "compiler_base_macros"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["compiler", "macro"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 3 additions & 0 deletions compiler_base/macros/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
compiler_base_macros

note: [WIP] Do not use it.
10 changes: 9 additions & 1 deletion compiler_base/session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "compiler_base_session"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "compiler_base_session"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["compiler", "session"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 3 additions & 0 deletions compiler_base/session/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
compiler_base_session

note: [WIP] Do not use it.
10 changes: 9 additions & 1 deletion compiler_base/span/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "compiler_base_span"
version = "0.1.0"
version = "0.0.0"
edition = "2021"
authors = ["zongzhe1024@163.com"]
license = "Apache-2.0 & MIT"
description = "compiler_base_span"
readme = "README.md"
homepage = "https://github.com/KusionStack/KCLVM"
repository = "https://github.com/KusionStack/KCLVM"
keywords = ["compiler", "span"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 3 additions & 0 deletions compiler_base/span/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
compiler_base_span

note: [WIP] Do not use it.