mirror of https://github.com/rwf2/Rocket.git
Rename 'codegen_next' to 'codegen'.
This commit is contained in:
parent
ed9d6096aa
commit
9ef0b731c8
|
@ -4,7 +4,7 @@ codegen-units = 4
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"core/lib/",
|
"core/lib/",
|
||||||
"core/codegen_next/",
|
"core/codegen/",
|
||||||
"core/http/",
|
"core/http/",
|
||||||
"contrib/lib",
|
"contrib/lib",
|
||||||
"contrib/codegen",
|
"contrib/codegen",
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_codegen_next"
|
name = "rocket_codegen"
|
||||||
version = "0.4.0-dev"
|
version = "0.4.0-dev"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
||||||
description = "Procedural macros for the Rocket web framework."
|
description = "Procedural macros for the Rocket web framework."
|
||||||
documentation = "https://api.rocket.rs/0.4.0-dev/rocket_codegen_next/"
|
documentation = "https://api.rocket.rs/0.4.0-dev/rocket_codegen/"
|
||||||
homepage = "https://rocket.rs"
|
homepage = "https://rocket.rs"
|
||||||
repository = "https://github.com/SergioBenitez/Rocket"
|
repository = "https://github.com/SergioBenitez/Rocket"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
|
@ -18,7 +18,7 @@ categories = ["web-programming::http-server"]
|
||||||
tls = ["rocket_http/tls"]
|
tls = ["rocket_http/tls"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket_codegen_next = { version = "0.4.0-dev", path = "../codegen_next" }
|
rocket_codegen = { version = "0.4.0-dev", path = "../codegen" }
|
||||||
rocket_http = { version = "0.4.0-dev", path = "../http" }
|
rocket_http = { version = "0.4.0-dev", path = "../http" }
|
||||||
yansi = "0.4"
|
yansi = "0.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
@ -98,8 +98,8 @@
|
||||||
//!
|
//!
|
||||||
//! [testing chapter of the guide]: https://rocket.rs/guide/testing/#testing
|
//! [testing chapter of the guide]: https://rocket.rs/guide/testing/#testing
|
||||||
|
|
||||||
#[allow(unused_imports)] #[macro_use] extern crate rocket_codegen_next;
|
#[allow(unused_imports)] #[macro_use] extern crate rocket_codegen;
|
||||||
#[doc(hidden)] pub use rocket_codegen_next::*;
|
#[doc(hidden)] pub use rocket_codegen::*;
|
||||||
|
|
||||||
extern crate rocket_http;
|
extern crate rocket_http;
|
||||||
#[macro_use] extern crate log;
|
#[macro_use] extern crate log;
|
||||||
|
|
|
@ -34,7 +34,7 @@ SITE_ROOT=$(relative "site") || exit $?
|
||||||
|
|
||||||
# Root of project-like directories.
|
# Root of project-like directories.
|
||||||
CORE_LIB_ROOT=$(relative "core/lib") || exit $?
|
CORE_LIB_ROOT=$(relative "core/lib") || exit $?
|
||||||
CORE_CODEGEN_NEXT_ROOT=$(relative "core/codegen_next") || exit $?
|
CORE_CODEGEN_ROOT=$(relative "core/codegen") || exit $?
|
||||||
CORE_HTTP_ROOT=$(relative "core/http") || exit $?
|
CORE_HTTP_ROOT=$(relative "core/http") || exit $?
|
||||||
CONTRIB_LIB_ROOT=$(relative "contrib/lib") || exit $?
|
CONTRIB_LIB_ROOT=$(relative "contrib/lib") || exit $?
|
||||||
CONTRIB_CODEGEN_ROOT=$(relative "contrib/codegen") || exit $?
|
CONTRIB_CODEGEN_ROOT=$(relative "contrib/codegen") || exit $?
|
||||||
|
@ -45,7 +45,7 @@ DOC_DIR=$(relative "target/doc") || exit $?
|
||||||
|
|
||||||
ALL_PROJECT_DIRS=(
|
ALL_PROJECT_DIRS=(
|
||||||
"${CORE_LIB_ROOT}"
|
"${CORE_LIB_ROOT}"
|
||||||
"${CORE_CODEGEN_NEXT_ROOT}"
|
"${CORE_CODEGEN_ROOT}"
|
||||||
"${CORE_HTTP_ROOT}"
|
"${CORE_HTTP_ROOT}"
|
||||||
"${CONTRIB_LIB_ROOT}"
|
"${CONTRIB_LIB_ROOT}"
|
||||||
"${CONTRIB_CODEGEN_ROOT}"
|
"${CONTRIB_CODEGEN_ROOT}"
|
||||||
|
@ -58,7 +58,7 @@ if [ "${1}" = "-p" ]; then
|
||||||
echo "CONTRIB_ROOT: ${CONTRIB_ROOT}"
|
echo "CONTRIB_ROOT: ${CONTRIB_ROOT}"
|
||||||
echo "SITE_ROOT: ${SITE_ROOT}"
|
echo "SITE_ROOT: ${SITE_ROOT}"
|
||||||
echo "CORE_LIB_ROOT: ${CORE_LIB_ROOT}"
|
echo "CORE_LIB_ROOT: ${CORE_LIB_ROOT}"
|
||||||
echo "CORE_CODEGEN_NEXT_ROOT: ${CORE_CODEGEN_NEXT_ROOT}"
|
echo "CORE_CODEGEN_ROOT: ${CORE_CODEGEN_ROOT}"
|
||||||
echo "CORE_HTTP_ROOT: ${CORE_HTTP_ROOT}"
|
echo "CORE_HTTP_ROOT: ${CORE_HTTP_ROOT}"
|
||||||
echo "CONTRIB_LIB_ROOT: ${CONTRIB_LIB_ROOT}"
|
echo "CONTRIB_LIB_ROOT: ${CONTRIB_LIB_ROOT}"
|
||||||
echo "CONTRIB_CODEGEN_ROOT: ${CONTRIB_CODEGEN_ROOT}"
|
echo "CONTRIB_CODEGEN_ROOT: ${CONTRIB_CODEGEN_ROOT}"
|
||||||
|
|
|
@ -20,7 +20,7 @@ fi
|
||||||
echo ":::: Generating the docs..."
|
echo ":::: Generating the docs..."
|
||||||
pushd "${PROJECT_ROOT}" > /dev/null 2>&1
|
pushd "${PROJECT_ROOT}" > /dev/null 2>&1
|
||||||
RUSTDOCFLAGS="-Z unstable-options --crate-version ${ROCKET_VERSION}" \
|
RUSTDOCFLAGS="-Z unstable-options --crate-version ${ROCKET_VERSION}" \
|
||||||
cargo doc -p rocket -p rocket_contrib -p rocket_codegen_next --no-deps --all-features
|
cargo doc -p rocket -p rocket_contrib -p rocket_codegen --no-deps --all-features
|
||||||
popd > /dev/null 2>&1
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
# Blank index, for redirection.
|
# Blank index, for redirection.
|
||||||
|
|
Loading…
Reference in New Issue