Cargo Features
[dependencies]
globetrotter = { version = "0.0.4", default-features = false, features = ["typescript", "rust", "golang", "python", "rayon"] }
- default = golang, python, rayon, rust, typescript
-
These default features are set whenever
globetrotter
is added without
somewhere in the dependency tree.default-features = false - typescript default
-
Enables globetrotter-typescript
optional: language targets
Affects
v1::parse_typescript_outputs
,v1::Outputs.typescript
,target::TypescriptOutputError
… - rust default
-
Enables globetrotter-rust
Affects
v1::parse_rust_outputs
,v1::Outputs.rust
,target::RustOutputError
… - golang default
-
Enables globetrotter-golang
Affects
v1::Outputs.golang
,target::GolangOutputError
… - python default
-
Enables globetrotter-python
Affects
v1::Outputs.python
,target::PythonOutputError
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.