Add all crates for standard library to workspace

This commit is contained in:
Filip Tibell 2024-04-21 14:52:27 +02:00
parent 99a8fa3c4c
commit e53d247c95
No known key found for this signature in database
24 changed files with 239 additions and 1 deletions

56
Cargo.lock generated
View file

@ -1537,6 +1537,62 @@ dependencies = [
"zip_next",
]
[[package]]
name = "lune-std"
version = "0.8.3"
dependencies = [
"lune-std-datetime",
"lune-std-fs",
"lune-std-luau",
"lune-std-net",
"lune-std-process",
"lune-std-regex",
"lune-std-roblox",
"lune-std-serde",
"lune-std-stdio",
"lune-std-task",
]
[[package]]
name = "lune-std-datetime"
version = "0.8.3"
[[package]]
name = "lune-std-fs"
version = "0.8.3"
[[package]]
name = "lune-std-luau"
version = "0.8.3"
[[package]]
name = "lune-std-net"
version = "0.8.3"
[[package]]
name = "lune-std-process"
version = "0.8.3"
[[package]]
name = "lune-std-regex"
version = "0.8.3"
[[package]]
name = "lune-std-roblox"
version = "0.8.3"
[[package]]
name = "lune-std-serde"
version = "0.8.3"
[[package]]
name = "lune-std-stdio"
version = "0.8.3"
[[package]]
name = "lune-std-task"
version = "0.8.3"
[[package]]
name = "lz4"
version = "1.24.0"

View file

@ -1,7 +1,20 @@
[workspace]
resolver = "2"
default-members = ["crates/lune"]
members = ["crates/lune"]
members = [
"crates/lune",
"crates/lune-std",
"crates/lune-std-datetime",
"crates/lune-std-fs",
"crates/lune-std-luau",
"crates/lune-std-net",
"crates/lune-std-process",
"crates/lune-std-regex",
"crates/lune-std-roblox",
"crates/lune-std-serde",
"crates/lune-std-stdio",
"crates/lune-std-task",
]
# Profile for building the release binary, with the following options set:
#

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-datetime"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-fs"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-luau"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-net"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-process"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-regex"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-roblox"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-serde"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-stdio"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,11 @@
[package]
name = "lune-std-task"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]

View file

@ -0,0 +1,48 @@
[package]
name = "lune-std"
version = "0.8.3"
edition = "2021"
license = "MPL-2.0"
[lib]
path = "src/lib.rs"
[lints]
workspace = true
[features]
default = [
"datetime",
"fs",
"luau",
"net",
"process",
"regex",
"roblox",
"serde",
"stdio",
"task",
]
datetime = ["dep:lune-std-datetime"]
fs = ["dep:lune-std-fs"]
luau = ["dep:lune-std-luau"]
net = ["dep:lune-std-net"]
process = ["dep:lune-std-process"]
regex = ["dep:lune-std-regex"]
roblox = ["dep:lune-std-roblox"]
serde = ["dep:lune-std-serde"]
stdio = ["dep:lune-std-stdio"]
task = ["dep:lune-std-task"]
[dependencies]
lune-std-datetime = { optional = true, version = "0.8.3", path = "../lune-std-datetime" }
lune-std-fs = { optional = true, version = "0.8.3", path = "../lune-std-fs" }
lune-std-luau = { optional = true, version = "0.8.3", path = "../lune-std-luau" }
lune-std-net = { optional = true, version = "0.8.3", path = "../lune-std-net" }
lune-std-process = { optional = true, version = "0.8.3", path = "../lune-std-process" }
lune-std-regex = { optional = true, version = "0.8.3", path = "../lune-std-regex" }
lune-std-roblox = { optional = true, version = "0.8.3", path = "../lune-std-roblox" }
lune-std-serde = { optional = true, version = "0.8.3", path = "../lune-std-serde" }
lune-std-stdio = { optional = true, version = "0.8.3", path = "../lune-std-stdio" }
lune-std-task = { optional = true, version = "0.8.3", path = "../lune-std-task" }

View file

@ -0,0 +1 @@
#![allow(clippy::cargo_common_metadata)]