The ‘extern package’ keyword

The extern package keyword specifies an external package or dependency to be used.

Example:

## File: src/main.sh
extern package my_extern_package

main() {
  my_package_print "Hello, world!"
}
## File: Manifest.toml
[packages]
name = "my_package"
version = "0.1.0"

[dependencies]
my_extern_package = "0.1.0"

© 2024 Francesco Bianco. All rights reserved.