Cargo Features
[dependencies]
north = { version = "0.1.4", default-features = false, features = ["api-native", "api-poem", "db-arango", "db-sql"] }
- default = api-poem
-
The
api-poemfeature is set by default whenevernorthis added withoutsomewhere in the dependency tree.default-features = false - api-native = hyper
- api-poem default = poem, poem-openapi
-
Affects
contracts::NorthApiTrait,contracts::NorthServiceBuilderTrait.handler,contracts::NorthServiceBuilderTrait.custom_http_server,contracts::NorthServiceBuilderTrait.controller,contracts::NorthServiceBuilderTrait.with_data,helper::respond_json,helper::RequestObject,helper::ResponseObject,north::new_service,service::NorthService.poem_app… - db-arango = aragog
-
Affects
contracts::NorthServiceBuilderTrait.with_database,utils::boxed_connection… - db-sql
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.
- hyper api-native?
-
Enables hyper ^0.14
- poem api-poem
-
Enables poem ^1.3.57
- poem-openapi api-poem
-
Enables poem-openapi ^3.0.0
- aragog db-arango?
-
Enables aragog
Database