Cargo Features
[dependencies]
open-stock = { version = "0.1.20", default-features = false, features = ["all", "types", "process", "methods", "sql"] }
- default = all
-
The
all
feature is set by default wheneveropen-stock
is added without
somewhere in the dependency tree.default-features = false - all default = methods, process, sql, types
-
Enables sea-orm ^0.12.1
- types all methods?
-
Affects
structs::Customer
,structs::CustomerWithTransactionsOut
,structs::CustomerInput
,structs::AccountType
,structs::Employee
,structs::Access
,structs::Action
,structs::all_actions
,structs::EmployeeAuth
,structs::EmployeeInput
,structs::Attendance
,structs::TrackType
,structs::All
,structs::KioskPreferences
,structs::AuthenticationLog
,structs::Kiosk
,discount::DiscountValue
,discount::DiscountMap
,variant::VariantIdTag
,variant::VariantCategoryList
… - process all = async-trait, dotenv, futures, geo, photon-geocoding, rand, rocket, rust-argon2, sea-orm, sea-orm-migration, sea-orm-rocket, tokio
-
Affects
open-stock::entities
,open-stock::migrator
,open-stock::entities
,open-stock::pool
,common::get_key_cookie
,common::verify_cookie
,common::create_cookie
,common::cookie_status_wrapper
,common::Error
,structs::CustomerWithTransactions
,structs::QuantityAlterationIntent
,pool::Db
,pool::RocketDbPool
,pool::session_ingress_worker
,pool::ingest_file
,pool::session_garbage_collector
,structs::DerivableTransaction
… - methods all sql? = types
- sql all = methods
-
Affects
authrecord::Model
,open-stock::migrator
…
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.
- tokio process?
-
Enables tokio
Core Utils
- rocket process?
- sea-orm-rocket process?
-
Enables sea-orm-rocket
ORM
- sea-orm-migration process?
-
Enables sea-orm-migration ^0.12.1
- sea-orm all process?
-
Enables sea-orm ^0.12.1
- async-trait process?
-
Enables async-trait
Traits & Futures
- futures process?
- geo process?
-
Enables geo ^0.27.0
Positioning
- photon-geocoding process?
- rust-argon2 process?
-
Enables rust-argon2
Passwords
- dotenv process?
-
Enables dotenv
Environment
- rand process?