Skip to main content

Module manifest

Module manifest 

Source

Re-exportsยง

use crate::util::data_structures::HashMap; ๐Ÿ”’
use std::borrow::Cow; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hasher; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::rc::Rc; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’
use cargo_util_schemas::manifest::RustVersion; ๐Ÿ”’
use cargo_util_schemas::manifest::Hints; ๐Ÿ”’
use cargo_util_schemas::manifest::TomlManifest; ๐Ÿ”’
use cargo_util_schemas::manifest::TomlProfiles; ๐Ÿ”’
use semver::Version; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::ser; ๐Ÿ”’
use url::Url; ๐Ÿ”’
use crate::compiler::rustdoc::RustdocScrapeExamples; ๐Ÿ”’
use crate::compiler::CompileKind; ๐Ÿ”’
use crate::compiler::CrateType; ๐Ÿ”’
use crate::resolver::ResolveBehavior; ๐Ÿ”’
use crate::util::interning::InternedString; ๐Ÿ”’
use crate::util::Filesystem; ๐Ÿ”’
use crate::util::GlobalContext; ๐Ÿ”’
use crate::util::short_hash; ๐Ÿ”’
use crate::workspace::Dependency; ๐Ÿ”’
use crate::workspace::PackageId; ๐Ÿ”’
use crate::workspace::PackageIdSpec; ๐Ÿ”’
use crate::workspace::Patch; ๐Ÿ”’
use crate::workspace::SourceId; ๐Ÿ”’
use crate::workspace::Summary; ๐Ÿ”’
use crate::workspace::Edition; ๐Ÿ”’
use crate::workspace::Feature; ๐Ÿ”’
use crate::workspace::Features; ๐Ÿ”’
use crate::workspace::WorkspaceConfig; ๐Ÿ”’
use crate::util::errors::*; ๐Ÿ”’

Macrosยง

get_metadata_env ๐Ÿ”’
metadata_envs ๐Ÿ”’

Structsยง

DelayedWarning
When parsing Cargo.toml, some warnings should silenced if the manifest comes from a dependency. ManifestWarning allows this delayed emission of warnings.
Manifest
Contains all the information about a package, as loaded from a Cargo.toml.
ManifestMetadata
General metadata about a package which is just blindly uploaded to the registry.
MetadataEnvs ๐Ÿ”’
SerializedTarget ๐Ÿ”’
Target
Information about a binary, a library, an example, etc. that is part of the package.
TargetInner ๐Ÿ”’
VirtualManifest
Warnings

Enumsยง

EitherManifest
TargetKind
TargetSourcePath

Constantsยง

MANIFEST_PREAMBLE