Move int-to-c-enum from kernel/libs to ostd/libs
This commit is contained in:
parent
01cac4268e
commit
6f54cc56e7
|
|
@ -15,6 +15,8 @@ members = [
|
|||
"ostd/libs/align_ext",
|
||||
"ostd/libs/ostd-macros",
|
||||
"ostd/libs/id-alloc",
|
||||
"ostd/libs/int-to-c-enum",
|
||||
"ostd/libs/int-to-c-enum/derive",
|
||||
"ostd/libs/linux-bzimage/builder",
|
||||
"ostd/libs/linux-bzimage/boot-params",
|
||||
"ostd/libs/linux-bzimage/setup",
|
||||
|
|
@ -35,8 +37,6 @@ members = [
|
|||
"kernel/comps/virtio",
|
||||
"kernel/comps/pci",
|
||||
"kernel/libs/cpio-decoder",
|
||||
"kernel/libs/int-to-c-enum",
|
||||
"kernel/libs/int-to-c-enum/derive",
|
||||
"kernel/libs/aster-rights",
|
||||
"kernel/libs/aster-rights-proc",
|
||||
"kernel/libs/aster-util",
|
||||
|
|
@ -84,6 +84,7 @@ ostd = { version = "0.17.0", path = "ostd" }
|
|||
# Crates under ostd/libs
|
||||
align_ext = { path = "ostd/libs/align_ext", version = "0.1.0" }
|
||||
id-alloc = { path = "ostd/libs/id-alloc", version = "0.1.0" }
|
||||
int-to-c-enum = { path = "ostd/libs/int-to-c-enum", version = "0.1.0" }
|
||||
linux-boot-params = { version = "0.17.0", path = "ostd/libs/linux-bzimage/boot-params" }
|
||||
ostd-macros = { version = "0.17.0", path = "ostd/libs/ostd-macros" }
|
||||
ostd-test = { version = "0.17.0", path = "ostd/libs/ostd-test" }
|
||||
|
|
@ -112,7 +113,6 @@ aster-util = { path = "kernel/libs/aster-util" }
|
|||
atomic-integer-wrapper = { path = "kernel/libs/atomic-integer-wrapper" }
|
||||
cpio-decoder = { path = "kernel/libs/cpio-decoder" }
|
||||
device-id = { path = "kernel/libs/device-id" }
|
||||
int-to-c-enum = { path = "kernel/libs/int-to-c-enum", version = "0.1.0" }
|
||||
jhash = { path = "kernel/libs/jhash" }
|
||||
keyable-arc = { path = "kernel/libs/keyable-arc" }
|
||||
logo-ascii-art = { path = "kernel/libs/logo-ascii-art" }
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -207,6 +207,8 @@ export
|
|||
NON_OSDK_CRATES := \
|
||||
ostd/libs/align_ext \
|
||||
ostd/libs/id-alloc \
|
||||
ostd/libs/int-to-c-enum \
|
||||
ostd/libs/int-to-c-enum/derive \
|
||||
ostd/libs/linux-bzimage/builder \
|
||||
ostd/libs/linux-bzimage/boot-params \
|
||||
ostd/libs/ostd-macros \
|
||||
|
|
@ -215,8 +217,6 @@ NON_OSDK_CRATES := \
|
|||
kernel/libs/aster-rights-proc \
|
||||
kernel/libs/atomic-integer-wrapper \
|
||||
kernel/libs/cpio-decoder \
|
||||
kernel/libs/int-to-c-enum \
|
||||
kernel/libs/int-to-c-enum/derive \
|
||||
kernel/libs/jhash \
|
||||
kernel/libs/keyable-arc \
|
||||
kernel/libs/logo-ascii-art \
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
[package]
|
||||
name = "int-to-c-enum"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
description = "TryFromInt - A convenient derive macro for converting an integer to an enum"
|
||||
readme = "README.md"
|
||||
repository.workspace = true
|
||||
license.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
[package]
|
||||
name = "int-to-c-enum-derive"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
description = "int-to-c-enum's proc macros"
|
||||
repository.workspace = true
|
||||
license.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
Loading…
Reference in New Issue