63 lines
2.3 KiB
TOML
63 lines
2.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
# core primitives + interface
|
|
"crates/core/trusty-core",
|
|
"crates/core/trusty-store",
|
|
"crates/core/trusty-policy",
|
|
# storage backends
|
|
"crates/adapters/trusty-memory",
|
|
"crates/adapters/trusty-sqlite",
|
|
"crates/adapters/trusty-postgres",
|
|
"crates/adapters/trusty-tokio",
|
|
# policy <-> chain wiring
|
|
"crates/adapters/trusty-policy-audit",
|
|
"crates/adapters/trusty-policy-postgres",
|
|
"crates/adapters/trusty-policy-conditions",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["MM Advisory LLC / Eric Gottlieb"]
|
|
license = "LicenseRef-Proprietary"
|
|
repository = "https://github.com/mmadvisory/trusty"
|
|
rust-version = "1.75"
|
|
# Published only to the PRIVATE Modo-Melius registry on this machine.
|
|
# The crates-io default is still refused: see the registry allowlist below.
|
|
publish = ["modo-melius"]
|
|
|
|
[workspace.dependencies]
|
|
trusty-core = { path = "crates/core/trusty-core", version = "0.1.0" }
|
|
trusty-store = { path = "crates/core/trusty-store", version = "0.1.0" }
|
|
trusty-policy = { path = "crates/core/trusty-policy", version = "0.1.0" }
|
|
trusty-memory = { path = "crates/adapters/trusty-memory", version = "0.1.0" }
|
|
trusty-sqlite = { path = "crates/adapters/trusty-sqlite", version = "0.1.0" }
|
|
trusty-postgres = { path = "crates/adapters/trusty-postgres", version = "0.1.0" }
|
|
trusty-tokio = { path = "crates/adapters/trusty-tokio", version = "0.1.0" }
|
|
trusty-policy-audit = { path = "crates/adapters/trusty-policy-audit", version = "0.1.0" }
|
|
trusty-policy-postgres = { path = "crates/adapters/trusty-policy-postgres", version = "0.1.0" }
|
|
trusty-policy-conditions = { path = "crates/adapters/trusty-policy-conditions", version = "0.1.0" }
|
|
|
|
serde = { version = "=1.0.228", features = ["derive"] }
|
|
serde_json = { version = "=1.0.149", features = ["preserve_order"] }
|
|
sha2 = "0.10"
|
|
siphasher = "1"
|
|
zeroize = { version = "1", features = ["zeroize_derive"] }
|
|
hex = "0.4"
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
|
thiserror = "1"
|
|
ed25519-dalek = { version = "2", features = ["std", "rand_core"] }
|
|
rand = "0.8"
|
|
postgres = "0.19"
|
|
tokio = { version = "1", default-features = false }
|
|
tracing = "0.1"
|
|
toml = "0.8"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
opt-level = 3
|
|
strip = "symbols"
|