pub fn repo_dependencies(&mut self) -> Vec<Package> {
        let mut dependencies = Vec::new();
        self.visit_dependencies(|_, _, table| {
            for (name, value) in table.iter() {
                let name = if let Item::Value(Value::InlineTable(t)) = value {
                    if let Some(Value::String(name)) = t.get("package") {
                        name.value()
                    } else {
                        name
                    }
                } else {
                    name
                };

                if let Ok(package) = Package::from_str(name, true) {
                    if !dependencies.contains(&package) {
                        dependencies.push(package);
                    }
                }
            }
        });
        dependencies
    }
Returns all dependencies of the package, that come from the repository.

For example, for esp-println this will return [esp-build, esp-metadata]
(at the time of writing).
xtask/src/cargo.rs