lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.beads/.gitignore66L
-rw-r--r--.beads/PRIME.md60L
-rw-r--r--.beads/README.md81L
-rw-r--r--.beads/config.yaml56L
-rw-r--r--.beads/metadata.json7L
-rw-r--r--.cargo/config.toml2L
-rw-r--r--.envrc1L
-rw-r--r--.gitignore54L
-rw-r--r--AGENTS.md78L
-rw-r--r--AGENT_INSTRUCTIONS.md215L
-rw-r--r--Cargo.lock8796L
-rw-r--r--Cargo.toml188L
-rw-r--r--LICENSE661L
-rw-r--r--README28L
-rw-r--r--build/nix/apps.nix112L
-rw-r--r--build/nix/checks.nix48L
-rw-r--r--build/nix/common.nix348L
-rw-r--r--build/nix/devshells.nix33L
-rw-r--r--build/nix/toolchains.nix20L
-rw-r--r--contracts/conformance/schema/vector.schema.json47L
-rw-r--r--contracts/conformance/vectors/events/listing_tags_full.v1.json27L
-rw-r--r--contracts/conformance/vectors/farm/build_draft.v1.json43L
-rw-r--r--contracts/conformance/vectors/identity/.gitkeep1L
-rw-r--r--contracts/conformance/vectors/listing/build_draft.v1.json33L
-rw-r--r--contracts/conformance/vectors/listing/build_tags.v1.json29L
-rw-r--r--contracts/conformance/vectors/listing/parse_event.v1.json20L
-rw-r--r--contracts/conformance/vectors/order/build_order_decision_draft.v1.json36L
-rw-r--r--contracts/conformance/vectors/order/build_order_request_draft.v1.json74L
-rw-r--r--contracts/conformance/vectors/order/parse_listing_address.v1.json16L
-rw-r--r--contracts/conformance/vectors/order/parse_order_decision.v1.json22L
-rw-r--r--contracts/conformance/vectors/order/parse_order_request.v1.json31L
-rw-r--r--contracts/conformance/vectors/profile/build_draft.v1.json23L
-rw-r--r--contracts/conformance/vectors/social/mvp.v1.json447L
-rw-r--r--contracts/conformance/vectors/social/production.v1.json245L
-rw-r--r--contracts/conformance/vectors/social/upgraded_boundaries.v1.json262L
-rw-r--r--contracts/conformance/vectors/trade_validation/validate_listing_event.v1.json20L
-rw-r--r--contracts/coverage-profiles.toml19L
-rw-r--r--contracts/coverage.toml70L
-rw-r--r--contracts/events/social-events.md124L
-rw-r--r--contracts/manifest.toml71L
-rw-r--r--contracts/operations.toml402L
-rw-r--r--contracts/replica.toml14L
-rw-r--r--contracts/version.toml30L
-rw-r--r--crates/authority/Cargo.toml29L
-rw-r--r--crates/authority/src/actor.rs463L
-rw-r--r--crates/authority/src/authorization.rs624L
-rw-r--r--crates/authority/src/error.rs404L
-rw-r--r--crates/authority/src/lib.rs26L
-rw-r--r--crates/authority/src/local_signer.rs103L
-rw-r--r--crates/authority/src/signer.rs186L
-rw-r--r--crates/core/Cargo.toml35L
-rw-r--r--crates/core/README21L
-rw-r--r--crates/core/src/currency.rs136L
-rw-r--r--crates/core/src/decimal.rs153L
-rw-r--r--crates/core/src/discount.rs57L
-rw-r--r--crates/core/src/dto.rs376L
-rw-r--r--crates/core/src/lib.rs35L
-rw-r--r--crates/core/src/money.rs210L
-rw-r--r--crates/core/src/percent.rs77L
-rw-r--r--crates/core/src/quantity.rs236L
-rw-r--r--crates/core/src/quantity_price.rs194L
-rw-r--r--crates/core/src/serde_ext.rs28L
-rw-r--r--crates/core/src/unit.rs309L
-rw-r--r--crates/core/tests/common/mod.rs28L
-rw-r--r--crates/core/tests/currency.rs95L
-rw-r--r--crates/core/tests/decimal.rs61L
-rw-r--r--crates/core/tests/discount.rs59L
-rw-r--r--crates/core/tests/money.rs210L
-rw-r--r--crates/core/tests/percent.rs49L
-rw-r--r--crates/core/tests/quantity.rs219L
-rw-r--r--crates/core/tests/quantity_price.rs248L
-rw-r--r--crates/core/tests/serde.rs66L
-rw-r--r--crates/core/tests/unit.rs284L
-rw-r--r--crates/event_store/Cargo.toml39L
-rw-r--r--crates/event_store/README3L
-rw-r--r--crates/event_store/migrations/0001_event_store.down.sql5L
-rw-r--r--crates/event_store/migrations/0001_event_store.up.sql83L
-rw-r--r--crates/event_store/src/error.rs31L
-rw-r--r--crates/event_store/src/lib.rs28L
-rw-r--r--crates/event_store/src/migrations.rs3L
-rw-r--r--crates/event_store/src/model.rs550L
-rw-r--r--crates/event_store/src/store.rs1892L
-rw-r--r--crates/events/Cargo.toml35L
-rw-r--r--crates/events/README50L
-rw-r--r--crates/events/src/account.rs15L
-rw-r--r--crates/events/src/app_data.rs16L
-rw-r--r--crates/events/src/article.rs70L
-rw-r--r--crates/events/src/calendar.rs262L
-rw-r--r--crates/events/src/comment.rs12L
-rw-r--r--crates/events/src/contract.rs2812L
-rw-r--r--crates/events/src/coop.rs39L
-rw-r--r--crates/events/src/document.rs27L
-rw-r--r--crates/events/src/draft.rs734L
-rw-r--r--crates/events/src/dto.rs2116L
-rw-r--r--crates/events/src/event_head.rs490L
-rw-r--r--crates/events/src/farm.rs78L
-rw-r--r--crates/events/src/farm_crdt.rs587L
-rw-r--r--crates/events/src/farm_file.rs127L
-rw-r--r--crates/events/src/farm_workspace.rs141L
-rw-r--r--crates/events/src/file_metadata.rs107L
-rw-r--r--crates/events/src/follow.rs19L
-rw-r--r--crates/events/src/geochat.rs14L
-rw-r--r--crates/events/src/gift_wrap.rs21L
-rw-r--r--crates/events/src/group.rs281L
-rw-r--r--crates/events/src/http_auth.rs56L
-rw-r--r--crates/events/src/ids.rs616L
-rw-r--r--crates/events/src/job.rs42L
-rw-r--r--crates/events/src/job_feedback.rs21L
-rw-r--r--crates/events/src/job_request.rs37L
-rw-r--r--crates/events/src/job_result.rs18L
-rw-r--r--crates/events/src/kinds.rs909L
-rw-r--r--crates/events/src/lib.rs86L
-rw-r--r--crates/events/src/list.rs46L
-rw-r--r--crates/events/src/list_set.rs16L
-rw-r--r--crates/events/src/listing.rs184L
-rw-r--r--crates/events/src/message.rs24L
-rw-r--r--crates/events/src/message_file.rs37L
-rw-r--r--crates/events/src/order.rs1946L
-rw-r--r--crates/events/src/order_economics.rs128L
-rw-r--r--crates/events/src/plot.rs35L
-rw-r--r--crates/events/src/post.rs78L
-rw-r--r--crates/events/src/profile.rs117L
-rw-r--r--crates/events/src/reaction.rs11L
-rw-r--r--crates/events/src/relay_auth.rs40L
-rw-r--r--crates/events/src/relay_document.rs22L
-rw-r--r--crates/events/src/report.rs72L
-rw-r--r--crates/events/src/repost.rs65L
-rw-r--r--crates/events/src/resource_area.rs36L
-rw-r--r--crates/events/src/resource_cap.rs31L
-rw-r--r--crates/events/src/seal.rs11L
-rw-r--r--crates/events/src/social.rs192L
-rw-r--r--crates/events/src/tags.rs127L
-rw-r--r--crates/events/src/trade_validation.rs94L
-rw-r--r--crates/events_codec/Cargo.toml33L
-rw-r--r--crates/events_codec/README54L
-rw-r--r--crates/events_codec/src/app_data/decode.rs96L
-rw-r--r--crates/events_codec/src/app_data/encode.rs40L
-rw-r--r--crates/events_codec/src/app_data/mod.rs4L
-rw-r--r--crates/events_codec/src/article/decode.rs130L
-rw-r--r--crates/events_codec/src/article/encode.rs65L
-rw-r--r--crates/events_codec/src/article/mod.rs2L
-rw-r--r--crates/events_codec/src/calendar/decode.rs492L
-rw-r--r--crates/events_codec/src/calendar/encode.rs323L
-rw-r--r--crates/events_codec/src/calendar/mod.rs2L
-rw-r--r--crates/events_codec/src/comment/decode.rs285L
-rw-r--r--crates/events_codec/src/comment/encode.rs209L
-rw-r--r--crates/events_codec/src/comment/mod.rs2L
-rw-r--r--crates/events_codec/src/coop/decode.rs108L
-rw-r--r--crates/events_codec/src/coop/encode.rs93L
-rw-r--r--crates/events_codec/src/coop/list_sets.rs347L
-rw-r--r--crates/events_codec/src/coop/mod.rs204L
-rw-r--r--crates/events_codec/src/d_tag.rs61L
-rw-r--r--crates/events_codec/src/document/decode.rs208L
-rw-r--r--crates/events_codec/src/document/encode.rs142L
-rw-r--r--crates/events_codec/src/document/mod.rs34L
-rw-r--r--crates/events_codec/src/error.rs58L
-rw-r--r--crates/events_codec/src/event_ref.rs183L
-rw-r--r--crates/events_codec/src/farm/decode.rs136L
-rw-r--r--crates/events_codec/src/farm/encode.rs95L
-rw-r--r--crates/events_codec/src/farm/list_sets.rs297L
-rw-r--r--crates/events_codec/src/farm/mod.rs412L
-rw-r--r--crates/events_codec/src/farm_crdt/decode.rs181L
-rw-r--r--crates/events_codec/src/farm_crdt/encode.rs119L
-rw-r--r--crates/events_codec/src/farm_crdt/mod.rs647L
-rw-r--r--crates/events_codec/src/farm_file/decode.rs330L
-rw-r--r--crates/events_codec/src/farm_file/encode.rs192L
-rw-r--r--crates/events_codec/src/farm_file/mod.rs480L
-rw-r--r--crates/events_codec/src/farm_workspace/decode.rs165L
-rw-r--r--crates/events_codec/src/farm_workspace/encode.rs100L
-rw-r--r--crates/events_codec/src/farm_workspace/mod.rs482L
-rw-r--r--crates/events_codec/src/field_helpers.rs370L
-rw-r--r--crates/events_codec/src/file_metadata/decode.rs175L
-rw-r--r--crates/events_codec/src/file_metadata/encode.rs100L
-rw-r--r--crates/events_codec/src/file_metadata/mod.rs2L
-rw-r--r--crates/events_codec/src/follow/decode.rs116L
-rw-r--r--crates/events_codec/src/follow/encode.rs193L
-rw-r--r--crates/events_codec/src/follow/mod.rs2L
-rw-r--r--crates/events_codec/src/geochat/decode.rs135L
-rw-r--r--crates/events_codec/src/geochat/encode.rs61L
-rw-r--r--crates/events_codec/src/geochat/mod.rs4L
-rw-r--r--crates/events_codec/src/gift_wrap/decode.rs125L
-rw-r--r--crates/events_codec/src/gift_wrap/encode.rs66L
-rw-r--r--crates/events_codec/src/gift_wrap/mod.rs4L
-rw-r--r--crates/events_codec/src/group/decode.rs339L
-rw-r--r--crates/events_codec/src/group/encode.rs388L
-rw-r--r--crates/events_codec/src/group/mod.rs638L
-rw-r--r--crates/events_codec/src/http_auth/decode.rs91L
-rw-r--r--crates/events_codec/src/http_auth/encode.rs48L
-rw-r--r--crates/events_codec/src/http_auth/mod.rs193L
-rw-r--r--crates/events_codec/src/job/encode.rs56L
-rw-r--r--crates/events_codec/src/job/error.rs42L
-rw-r--r--crates/events_codec/src/job/feedback/decode.rs127L
-rw-r--r--crates/events_codec/src/job/feedback/encode.rs68L
-rw-r--r--crates/events_codec/src/job/feedback/mod.rs2L
-rw-r--r--crates/events_codec/src/job/mod.rs7L
-rw-r--r--crates/events_codec/src/job/request/decode.rs110L
-rw-r--r--crates/events_codec/src/job/request/encode.rs90L
-rw-r--r--crates/events_codec/src/job/request/mod.rs2L
-rw-r--r--crates/events_codec/src/job/result/decode.rs123L
-rw-r--r--crates/events_codec/src/job/result/encode.rs85L
-rw-r--r--crates/events_codec/src/job/result/mod.rs2L
-rw-r--r--crates/events_codec/src/job/traits.rs191L
-rw-r--r--crates/events_codec/src/job/util.rs232L
-rw-r--r--crates/events_codec/src/lib.rs56L
-rw-r--r--crates/events_codec/src/list/decode.rs149L
-rw-r--r--crates/events_codec/src/list/encode.rs104L
-rw-r--r--crates/events_codec/src/list/mod.rs37L
-rw-r--r--crates/events_codec/src/list_set/decode.rs158L
-rw-r--r--crates/events_codec/src/list_set/encode.rs81L
-rw-r--r--crates/events_codec/src/list_set/mod.rs183L
-rw-r--r--crates/events_codec/src/listing/decode.rs709L
-rw-r--r--crates/events_codec/src/listing/encode.rs144L
-rw-r--r--crates/events_codec/src/listing/mod.rs3L
-rw-r--r--crates/events_codec/src/listing/tags.rs1645L
-rw-r--r--crates/events_codec/src/message/decode.rs91L
-rw-r--r--crates/events_codec/src/message/encode.rs34L
-rw-r--r--crates/events_codec/src/message/mod.rs5L
-rw-r--r--crates/events_codec/src/message/tags.rs348L
-rw-r--r--crates/events_codec/src/message_file/decode.rs203L
-rw-r--r--crates/events_codec/src/message_file/encode.rs120L
-rw-r--r--crates/events_codec/src/message_file/mod.rs4L
-rw-r--r--crates/events_codec/src/order/decode.rs1632L
-rw-r--r--crates/events_codec/src/order/encode.rs433L
-rw-r--r--crates/events_codec/src/order/mod.rs21L
-rw-r--r--crates/events_codec/src/order/tags.rs708L
-rw-r--r--crates/events_codec/src/parsed.rs147L
-rw-r--r--crates/events_codec/src/plot/decode.rs173L
-rw-r--r--crates/events_codec/src/plot/encode.rs112L
-rw-r--r--crates/events_codec/src/plot/mod.rs237L
-rw-r--r--crates/events_codec/src/post/decode.rs309L
-rw-r--r--crates/events_codec/src/post/encode.rs254L
-rw-r--r--crates/events_codec/src/post/mod.rs2L
-rw-r--r--crates/events_codec/src/profile/decode.rs129L
-rw-r--r--crates/events_codec/src/profile/encode.rs91L
-rw-r--r--crates/events_codec/src/profile/error.rs22L
-rw-r--r--crates/events_codec/src/profile/mod.rs19L
-rw-r--r--crates/events_codec/src/reaction/decode.rs177L
-rw-r--r--crates/events_codec/src/reaction/encode.rs134L
-rw-r--r--crates/events_codec/src/reaction/mod.rs2L
-rw-r--r--crates/events_codec/src/relay_auth/decode.rs84L
-rw-r--r--crates/events_codec/src/relay_auth/encode.rs44L
-rw-r--r--crates/events_codec/src/relay_auth/mod.rs160L
-rw-r--r--crates/events_codec/src/relay_document/decode.rs9L
-rw-r--r--crates/events_codec/src/relay_document/encode.rs12L
-rw-r--r--crates/events_codec/src/relay_document/mod.rs2L
-rw-r--r--crates/events_codec/src/report/decode.rs214L
-rw-r--r--crates/events_codec/src/report/encode.rs155L
-rw-r--r--crates/events_codec/src/report/mod.rs2L
-rw-r--r--crates/events_codec/src/repost/decode.rs222L
-rw-r--r--crates/events_codec/src/repost/encode.rs186L
-rw-r--r--crates/events_codec/src/repost/mod.rs2L
-rw-r--r--crates/events_codec/src/resource_area/decode.rs109L
-rw-r--r--crates/events_codec/src/resource_area/encode.rs100L
-rw-r--r--crates/events_codec/src/resource_area/list_sets.rs331L
-rw-r--r--crates/events_codec/src/resource_area/mod.rs248L
-rw-r--r--crates/events_codec/src/resource_cap/decode.rs104L
-rw-r--r--crates/events_codec/src/resource_cap/encode.rs159L
-rw-r--r--crates/events_codec/src/resource_cap/mod.rs99L
-rw-r--r--crates/events_codec/src/seal/decode.rs83L
-rw-r--r--crates/events_codec/src/seal/encode.rs36L
-rw-r--r--crates/events_codec/src/seal/mod.rs4L
-rw-r--r--crates/events_codec/src/social_helpers.rs472L
-rw-r--r--crates/events_codec/src/tag_builders.rs234L
-rw-r--r--crates/events_codec/src/test_fixtures.rs107L
-rw-r--r--crates/events_codec/src/wire.rs48L
-rw-r--r--crates/events_codec/tests/app_data.rs159L
-rw-r--r--crates/events_codec/tests/article.rs219L
-rw-r--r--crates/events_codec/tests/calendar.rs880L
-rw-r--r--crates/events_codec/tests/codec_error_job.rs180L
-rw-r--r--crates/events_codec/tests/comment.rs548L
-rw-r--r--crates/events_codec/tests/common/mod.rs48L
-rw-r--r--crates/events_codec/tests/domain_encode_non_serde.rs1287L
-rw-r--r--crates/events_codec/tests/event_ref.rs328L
-rw-r--r--crates/events_codec/tests/farm_crdt.rs45L
-rw-r--r--crates/events_codec/tests/farm_workspace.rs153L
-rw-r--r--crates/events_codec/tests/field_events.rs397L
-rw-r--r--crates/events_codec/tests/file_metadata.rs386L
-rw-r--r--crates/events_codec/tests/follow.rs520L
-rw-r--r--crates/events_codec/tests/geochat.rs270L
-rw-r--r--crates/events_codec/tests/gift_wrap.rs281L
-rw-r--r--crates/events_codec/tests/group.rs423L
-rw-r--r--crates/events_codec/tests/job_feedback.rs217L
-rw-r--r--crates/events_codec/tests/job_request.rs171L
-rw-r--r--crates/events_codec/tests/job_result.rs252L
-rw-r--r--crates/events_codec/tests/job_traits.rs202L
-rw-r--r--crates/events_codec/tests/job_util.rs306L
-rw-r--r--crates/events_codec/tests/list.rs383L
-rw-r--r--crates/events_codec/tests/list_private.rs47L
-rw-r--r--crates/events_codec/tests/list_set.rs260L
-rw-r--r--crates/events_codec/tests/listing.rs1212L
-rw-r--r--crates/events_codec/tests/message.rs468L
-rw-r--r--crates/events_codec/tests/message_file.rs542L
-rw-r--r--crates/events_codec/tests/post.rs744L
-rw-r--r--crates/events_codec/tests/profile.rs210L
-rw-r--r--crates/events_codec/tests/profile_encode.rs76L
-rw-r--r--crates/events_codec/tests/reaction.rs438L
-rw-r--r--crates/events_codec/tests/relay_document.rs25L
-rw-r--r--crates/events_codec/tests/report.rs453L
-rw-r--r--crates/events_codec/tests/repost.rs456L
-rw-r--r--crates/events_codec/tests/seal.rs130L
-rw-r--r--crates/events_codec/tests/social_events.rs189L
-rw-r--r--crates/events_codec/tests/structured_decode.rs923L
-rw-r--r--crates/events_codec/tests/structured_encode_default.rs1046L
-rw-r--r--crates/events_codec/tests/tag_builders.rs748L
-rw-r--r--crates/events_codec/tests/wire.rs50L
-rw-r--r--crates/events_indexed/Cargo.toml30L
-rw-r--r--crates/events_indexed/README21L
-rw-r--r--crates/events_indexed/src/checkpoint.rs103L
-rw-r--r--crates/events_indexed/src/dto.rs198L
-rw-r--r--crates/events_indexed/src/lib.rs17L
-rw-r--r--crates/events_indexed/src/manifest.rs241L
-rw-r--r--crates/events_indexed/src/serde_ext.rs61L
-rw-r--r--crates/events_indexed/src/types.rs103L
-rw-r--r--crates/geocoder/Cargo.toml22L
-rw-r--r--crates/geocoder/README24L
-rw-r--r--crates/geocoder/src/error.rs11L
-rw-r--r--crates/geocoder/src/geocoder.rs899L
-rw-r--r--crates/geocoder/src/lib.rs12L
-rw-r--r--crates/geocoder/src/model.rs42L
-rw-r--r--crates/geocoder/tests/geocoder.rs499L
-rw-r--r--crates/identity/Cargo.toml52L
-rw-r--r--crates/identity/README25L
-rw-r--r--crates/identity/src/error.rs74L
-rw-r--r--crates/identity/src/identity.rs598L
-rw-r--r--crates/identity/src/lib.rs34L
-rw-r--r--crates/identity/src/storage.rs663L
-rw-r--r--crates/identity/src/test_fixtures.rs107L
-rw-r--r--crates/identity/src/username.rs91L
-rw-r--r--crates/identity/tests/identity.rs1008L
-rw-r--r--crates/local_events/Cargo.toml29L
-rw-r--r--crates/local_events/README8L
-rw-r--r--crates/local_events/migrations/0000_local_events.down.sql2L
-rw-r--r--crates/local_events/migrations/0000_local_events.up.sql43L
-rw-r--r--crates/local_events/migrations/0001_change_tracking.down.sql114L
-rw-r--r--crates/local_events/migrations/0001_change_tracking.up.sql119L
-rw-r--r--crates/local_events/migrations/0002_network_source_runtime.down.sql1L
-rw-r--r--crates/local_events/migrations/0002_network_source_runtime.up.sql97L
-rw-r--r--crates/local_events/src/error.rs14L
-rw-r--r--crates/local_events/src/lib.rs30L
-rw-r--r--crates/local_events/src/migrations.rs55L
-rw-r--r--crates/local_events/src/models.rs497L
-rw-r--r--crates/local_events/src/order_work.rs806L
-rw-r--r--crates/local_events/src/relay_delivery.rs598L
-rw-r--r--crates/local_events/src/relay_set.rs49L
-rw-r--r--crates/local_events/src/relay_url.rs210L
-rw-r--r--crates/local_events/src/store.rs976L
-rw-r--r--crates/local_events/tests/order_work.rs294L
-rw-r--r--crates/local_events/tests/relay_delivery.rs361L
-rw-r--r--crates/local_events/tests/relay_set.rs36L
-rw-r--r--crates/local_events/tests/relay_url.rs154L
-rw-r--r--crates/local_events/tests/store.rs556L
-rw-r--r--crates/log/Cargo.toml32L
-rw-r--r--crates/log/README22L
-rw-r--r--crates/log/src/error.rs25L
-rw-r--r--crates/log/src/init.rs211L
-rw-r--r--crates/log/src/lib.rs111L
-rw-r--r--crates/log/src/options.rs108L
-rw-r--r--crates/net/Cargo.toml64L
-rw-r--r--crates/net/README20L
-rw-r--r--crates/net/build.rs77L
-rw-r--r--crates/net/src/builder.rs63L
-rw-r--r--crates/net/src/config.rs20L
-rw-r--r--crates/net/src/error.rs72L
-rw-r--r--crates/net/src/keys.rs351L
-rw-r--r--crates/net/src/lib.rs20L
-rw-r--r--crates/net/src/logging.rs83L
-rw-r--r--crates/net/src/net.rs239L
-rw-r--r--crates/net/src/nostr_client/connection.rs46L
-rw-r--r--crates/net/src/nostr_client/events/custom.rs57L
-rw-r--r--crates/net/src/nostr_client/events/post.rs88L
-rw-r--r--crates/net/src/nostr_client/events/profile.rs73L
-rw-r--r--crates/net/src/nostr_client/inner.rs40L
-rw-r--r--crates/net/src/nostr_client/manager.rs91L
-rw-r--r--crates/net/src/nostr_client/mod.rs13L
-rw-r--r--crates/net/src/nostr_client/status.rs75L
-rw-r--r--crates/net/src/nostr_client/types.rs14L
-rw-r--r--crates/net/tests/error.rs38L
-rw-r--r--crates/nostr/Cargo.toml49L
-rw-r--r--crates/nostr/README22L
-rw-r--r--crates/nostr/src/client.rs259L
-rw-r--r--crates/nostr/src/codec_adapters.rs123L
-rw-r--r--crates/nostr/src/draft_signing.rs110L
-rw-r--r--crates/nostr/src/error.rs70L
-rw-r--r--crates/nostr/src/event_adapters.rs94L
-rw-r--r--crates/nostr/src/event_convert.rs25L
-rw-r--r--crates/nostr/src/event_verify.rs143L
-rw-r--r--crates/nostr/src/events/application_handler.rs167L
-rw-r--r--crates/nostr/src/events/jobs.rs35L
-rw-r--r--crates/nostr/src/events/metadata.rs53L
-rw-r--r--crates/nostr/src/events/mod.rs68L
-rw-r--r--crates/nostr/src/events/post.rs71L
-rw-r--r--crates/nostr/src/filter.rs33L
-rw-r--r--crates/nostr/src/identity_profile.rs94L
-rw-r--r--crates/nostr/src/job_adapter.rs81L
-rw-r--r--crates/nostr/src/lib.rs143L
-rw-r--r--crates/nostr/src/nip11.rs20L
-rw-r--r--crates/nostr/src/nip17.rs312L
-rw-r--r--crates/nostr/src/parse.rs22L
-rw-r--r--crates/nostr/src/relays.rs22L
-rw-r--r--crates/nostr/src/tags.rs114L
-rw-r--r--crates/nostr/src/test_fixtures.rs107L
-rw-r--r--crates/nostr/src/types.rs45L
-rw-r--r--crates/nostr/src/util.rs30L
-rw-r--r--crates/nostr/tests/coverage.rs433L
-rw-r--r--crates/nostr_accounts/Cargo.toml56L
-rw-r--r--crates/nostr_accounts/README25L
-rw-r--r--crates/nostr_accounts/src/error.rs82L
-rw-r--r--crates/nostr_accounts/src/lib.rs37L
-rw-r--r--crates/nostr_accounts/src/manager.rs2057L
-rw-r--r--crates/nostr_accounts/src/model.rs60L
-rw-r--r--crates/nostr_accounts/src/ndb_bridge.rs67L
-rw-r--r--crates/nostr_accounts/src/store.rs207L
-rw-r--r--crates/nostr_accounts/src/vault.rs12L
-rw-r--r--crates/nostr_connect/Cargo.toml23L
-rw-r--r--crates/nostr_connect/README22L
-rw-r--r--crates/nostr_connect/src/client.rs175L
-rw-r--r--crates/nostr_connect/src/error.rs55L
-rw-r--r--crates/nostr_connect/src/lib.rs31L
-rw-r--r--crates/nostr_connect/src/message.rs641L
-rw-r--r--crates/nostr_connect/src/method.rs83L
-rw-r--r--crates/nostr_connect/src/permission.rs199L
-rw-r--r--crates/nostr_connect/src/test_fixtures.rs107L
-rw-r--r--crates/nostr_connect/src/uri.rs204L
-rw-r--r--crates/nostr_connect/tests/client.rs443L
-rw-r--r--crates/nostr_connect/tests/coverage.rs1266L
-rw-r--r--crates/nostr_connect/tests/protocol.rs296L
-rw-r--r--crates/nostr_ndb/Cargo.toml41L
-rw-r--r--crates/nostr_ndb/README23L
-rw-r--r--crates/nostr_ndb/src/config.rs51L
-rw-r--r--crates/nostr_ndb/src/error.rs58L
-rw-r--r--crates/nostr_ndb/src/filter.rs272L
-rw-r--r--crates/nostr_ndb/src/ingest.rs38L
-rw-r--r--crates/nostr_ndb/src/lib.rs51L
-rw-r--r--crates/nostr_ndb/src/ndb.rs1053L
-rw-r--r--crates/nostr_ndb/src/query.rs60L
-rw-r--r--crates/nostr_ndb/src/runtime_adapter.rs118L
-rw-r--r--crates/nostr_ndb/src/subscription.rs106L
-rw-r--r--crates/nostr_ndb/src/test_fixtures.rs107L
-rw-r--r--crates/nostr_runtime/Cargo.toml31L
-rw-r--r--crates/nostr_runtime/README23L
-rw-r--r--crates/nostr_runtime/src/error.rs69L
-rw-r--r--crates/nostr_runtime/src/lib.rs25L
-rw-r--r--crates/nostr_runtime/src/runtime.rs572L
-rw-r--r--crates/nostr_runtime/src/sink.rs64L
-rw-r--r--crates/nostr_runtime/src/types.rs272L
-rw-r--r--crates/nostr_signer/Cargo.toml42L
-rw-r--r--crates/nostr_signer/README26L
-rw-r--r--crates/nostr_signer/migrations/0000_init.down.sql8L
-rw-r--r--crates/nostr_signer/migrations/0000_init.up.sql97L
-rw-r--r--crates/nostr_signer/migrations/0001_publish_workflows.down.sql1L
-rw-r--r--crates/nostr_signer/migrations/0001_publish_workflows.up.sql16L
-rw-r--r--crates/nostr_signer/src/backend.rs1822L
-rw-r--r--crates/nostr_signer/src/capability.rs370L
-rw-r--r--crates/nostr_signer/src/error.rs139L
-rw-r--r--crates/nostr_signer/src/evaluation.rs577L
-rw-r--r--crates/nostr_signer/src/lib.rs66L
-rw-r--r--crates/nostr_signer/src/manager.rs4042L
-rw-r--r--crates/nostr_signer/src/migrations.rs36L
-rw-r--r--crates/nostr_signer/src/model.rs1605L
-rw-r--r--crates/nostr_signer/src/nip46.rs2095L
-rw-r--r--crates/nostr_signer/src/sqlite.rs225L
-rw-r--r--crates/nostr_signer/src/store.rs1100L
-rw-r--r--crates/nostr_signer/src/test_fixtures.rs107L
-rw-r--r--crates/nostr_signer/src/test_support.rs82L
-rw-r--r--crates/outbox/Cargo.toml45L
-rw-r--r--crates/outbox/README3L
-rw-r--r--crates/outbox/migrations/0001_outbox.down.sql3L
-rw-r--r--crates/outbox/migrations/0001_outbox.up.sql60L
-rw-r--r--crates/outbox/src/error.rs48L
-rw-r--r--crates/outbox/src/lib.rs18L
-rw-r--r--crates/outbox/src/migrations.rs4L
-rw-r--r--crates/outbox/src/model.rs377L
-rw-r--r--crates/outbox/src/store.rs2917L
-rw-r--r--crates/protected_store/Cargo.toml28L
-rw-r--r--crates/protected_store/README25L
-rw-r--r--crates/protected_store/src/error.rs101L
-rw-r--r--crates/protected_store/src/file.rs309L
-rw-r--r--crates/protected_store/src/lib.rs620L
-rw-r--r--crates/protected_store/tests/coverage.rs91L
-rw-r--r--crates/publish_proxy_protocol/Cargo.toml24L
-rw-r--r--crates/publish_proxy_protocol/README3L
-rw-r--r--crates/publish_proxy_protocol/src/lib.rs547L
-rw-r--r--crates/relay_transport/Cargo.toml60L
-rw-r--r--crates/relay_transport/README3L
-rw-r--r--crates/relay_transport/src/error.rs58L
-rw-r--r--crates/relay_transport/src/fetch.rs276L
-rw-r--r--crates/relay_transport/src/lib.rs32L
-rw-r--r--crates/relay_transport/src/outbox.rs302L
-rw-r--r--crates/relay_transport/src/outcome.rs157L
-rw-r--r--crates/relay_transport/src/publish.rs369L
-rw-r--r--crates/relay_transport/src/relay.rs252L
-rw-r--r--crates/relay_transport/tests/transport.rs1425L
-rw-r--r--crates/replica_db/Cargo.toml34L
-rw-r--r--crates/replica_db/README22L
-rw-r--r--crates/replica_db/migrations/0000_init.down.sql1L
-rw-r--r--crates/replica_db/migrations/0000_init.up.sql5L
-rw-r--r--crates/replica_db/migrations/0001_log_error.down.sql1L
-rw-r--r--crates/replica_db/migrations/0001_log_error.up.sql13L
-rw-r--r--crates/replica_db/migrations/0002_farm.down.sql1L
-rw-r--r--crates/replica_db/migrations/0002_farm.up.sql18L
-rw-r--r--crates/replica_db/migrations/0003_gcs_location.down.sql1L
-rw-r--r--crates/replica_db/migrations/0003_gcs_location.up.sql27L
-rw-r--r--crates/replica_db/migrations/0004_trade_product.down.sql1L
-rw-r--r--crates/replica_db/migrations/0004_trade_product.up.sql22L
-rw-r--r--crates/replica_db/migrations/0005_nostr_profile.down.sql1L
-rw-r--r--crates/replica_db/migrations/0005_nostr_profile.up.sql16L
-rw-r--r--crates/replica_db/migrations/0006_nostr_relay.down.sql1L
-rw-r--r--crates/replica_db/migrations/0006_nostr_relay.up.sql15L
-rw-r--r--crates/replica_db/migrations/0007_media_image.down.sql1L
-rw-r--r--crates/replica_db/migrations/0007_media_image.up.sql11L
-rw-r--r--crates/replica_db/migrations/0008_farm_gcs_location.down.sql1L
-rw-r--r--crates/replica_db/migrations/0008_farm_gcs_location.up.sql11L
-rw-r--r--crates/replica_db/migrations/0009_nostr_profile_relay.down.sql1L
-rw-r--r--crates/replica_db/migrations/0009_nostr_profile_relay.up.sql7L
-rw-r--r--crates/replica_db/migrations/0010_trade_product_location.down.sql1L
-rw-r--r--crates/replica_db/migrations/0010_trade_product_location.up.sql7L
-rw-r--r--crates/replica_db/migrations/0011_trade_product_media.down.sql1L
-rw-r--r--crates/replica_db/migrations/0011_trade_product_media.up.sql7L
-rw-r--r--crates/replica_db/migrations/0012_plot.down.sql1L
-rw-r--r--crates/replica_db/migrations/0012_plot.up.sql16L
-rw-r--r--crates/replica_db/migrations/0013_plot_gcs_location.down.sql1L
-rw-r--r--crates/replica_db/migrations/0013_plot_gcs_location.up.sql11L
-rw-r--r--crates/replica_db/migrations/0014_farm_tag.down.sql1L
-rw-r--r--crates/replica_db/migrations/0014_farm_tag.up.sql9L
-rw-r--r--crates/replica_db/migrations/0015_plot_tag.down.sql1L
-rw-r--r--crates/replica_db/migrations/0015_plot_tag.up.sql9L
-rw-r--r--crates/replica_db/migrations/0016_farm_member.down.sql1L
-rw-r--r--crates/replica_db/migrations/0016_farm_member.up.sql10L
-rw-r--r--crates/replica_db/migrations/0017_farm_member_claim.down.sql1L
-rw-r--r--crates/replica_db/migrations/0017_farm_member_claim.up.sql8L
-rw-r--r--crates/replica_db/migrations/0018_nostr_event_head.down.sql1L
-rw-r--r--crates/replica_db/migrations/0018_nostr_event_head.up.sql14L
-rw-r--r--crates/replica_db/migrations/0019_repair_missing_indexes.down.sql4L
-rw-r--r--crates/replica_db/migrations/0019_repair_missing_indexes.up.sql4L
-rw-r--r--crates/replica_db/migrations/0020_trade_product_listing_addr.down.sql1L
-rw-r--r--crates/replica_db/migrations/0020_trade_product_listing_addr.up.sql1L
-rw-r--r--crates/replica_db/migrations/0021_trade_product_primary_bin_id.down.sql1L
-rw-r--r--crates/replica_db/migrations/0021_trade_product_primary_bin_id.up.sql1L
-rw-r--r--crates/replica_db/migrations/0022_trade_product_exact_economics.down.sql3L
-rw-r--r--crates/replica_db/migrations/0022_trade_product_exact_economics.up.sql3L
-rw-r--r--crates/replica_db/migrations/0023_trade_product_verified_primary_bin.down.sql1L
-rw-r--r--crates/replica_db/migrations/0023_trade_product_verified_primary_bin.up.sql1L
-rw-r--r--crates/replica_db/src/backup.rs993L
-rw-r--r--crates/replica_db/src/export.rs283L
-rw-r--r--crates/replica_db/src/lib.rs766L
-rw-r--r--crates/replica_db/src/migrations.rs140L
-rw-r--r--crates/replica_db/src/models/farm.rs152L
-rw-r--r--crates/replica_db/src/models/farm_gcs_location.rs150L
-rw-r--r--crates/replica_db/src/models/farm_member.rs149L
-rw-r--r--crates/replica_db/src/models/farm_member_claim.rs150L
-rw-r--r--crates/replica_db/src/models/farm_tag.rs148L
-rw-r--r--crates/replica_db/src/models/gcs_location.rs226L
-rw-r--r--crates/replica_db/src/models/log_error.rs149L
-rw-r--r--crates/replica_db/src/models/media_image.rs206L
-rw-r--r--crates/replica_db/src/models/mod.rs18L
-rw-r--r--crates/replica_db/src/models/nostr_event_head.rs150L
-rw-r--r--crates/replica_db/src/models/nostr_profile.rs203L
-rw-r--r--crates/replica_db/src/models/nostr_profile_relay.rs45L
-rw-r--r--crates/replica_db/src/models/nostr_relay.rs206L
-rw-r--r--crates/replica_db/src/models/plot.rs148L
-rw-r--r--crates/replica_db/src/models/plot_gcs_location.rs150L
-rw-r--r--crates/replica_db/src/models/plot_tag.rs148L
-rw-r--r--crates/replica_db/src/models/trade_product.rs139L
-rw-r--r--crates/replica_db/src/models/trade_product_location.rs45L
-rw-r--r--crates/replica_db/src/models/trade_product_media.rs45L
-rw-r--r--crates/replica_db/src/query.rs229L
-rw-r--r--crates/replica_db/tests/backup_export_paths.rs305L
-rw-r--r--crates/replica_db/tests/error_paths.rs977L
-rw-r--r--crates/replica_db/tests/full_mode.rs1350L
-rw-r--r--crates/replica_db/tests/migration_repairs.rs104L
-rw-r--r--crates/replica_db/tests/region_scripted_paths.rs744L
-rw-r--r--crates/replica_db_schema/Cargo.toml26L
-rw-r--r--crates/replica_db_schema/README22L
-rw-r--r--crates/replica_db_schema/src/dto.rs2204L
-rw-r--r--crates/replica_db_schema/src/lib.rs26L
-rw-r--r--crates/replica_db_schema/src/models/farm.rs138L
-rw-r--r--crates/replica_db_schema/src/models/farm_gcs_location.rs108L
-rw-r--r--crates/replica_db_schema/src/models/farm_member.rs108L
-rw-r--r--crates/replica_db_schema/src/models/farm_member_claim.rs104L
-rw-r--r--crates/replica_db_schema/src/models/farm_tag.rs102L
-rw-r--r--crates/replica_db_schema/src/models/gcs_location.rs216L
-rw-r--r--crates/replica_db_schema/src/models/log_error.rs119L
-rw-r--r--crates/replica_db_schema/src/models/media_image.rs133L
-rw-r--r--crates/replica_db_schema/src/models/mod.rs18L
-rw-r--r--crates/replica_db_schema/src/models/nostr_event_head.rs119L
-rw-r--r--crates/replica_db_schema/src/models/nostr_profile.rs153L
-rw-r--r--crates/replica_db_schema/src/models/nostr_profile_relay.rs13L
-rw-r--r--crates/replica_db_schema/src/models/nostr_relay.rs149L
-rw-r--r--crates/replica_db_schema/src/models/plot.rs126L
-rw-r--r--crates/replica_db_schema/src/models/plot_gcs_location.rs108L
-rw-r--r--crates/replica_db_schema/src/models/plot_tag.rs102L
-rw-r--r--crates/replica_db_schema/src/models/trade_product.rs173L
-rw-r--r--crates/replica_db_schema/src/models/trade_product_location.rs13L
-rw-r--r--crates/replica_db_schema/src/models/trade_product_media.rs13L
-rw-r--r--crates/replica_db_schema/tests/query_bind_values.rs354L
-rw-r--r--crates/replica_sync/Cargo.toml58L
-rw-r--r--crates/replica_sync/README25L
-rw-r--r--crates/replica_sync/src/canonical.rs160L
-rw-r--r--crates/replica_sync/src/emit.rs2484L
-rw-r--r--crates/replica_sync/src/error.rs91L
-rw-r--r--crates/replica_sync/src/event_head.rs125L
-rw-r--r--crates/replica_sync/src/geo.rs116L
-rw-r--r--crates/replica_sync/src/ingest.rs4460L
-rw-r--r--crates/replica_sync/src/lib.rs42L
-rw-r--r--crates/replica_sync/src/sync_state.rs319L
-rw-r--r--crates/replica_sync/src/tests.rs245L
-rw-r--r--crates/replica_sync/src/types.rs40L
-rw-r--r--crates/replica_sync/tests/ingest_roundtrip.rs2185L
-rw-r--r--crates/runtime/Cargo.toml36L
-rw-r--r--crates/runtime/README22L
-rw-r--r--crates/runtime/src/backoff.rs209L
-rw-r--r--crates/runtime/src/cli.rs106L
-rw-r--r--crates/runtime/src/config.rs749L
-rw-r--r--crates/runtime/src/error.rs141L
-rw-r--r--crates/runtime/src/json.rs644L
-rw-r--r--crates/runtime/src/lib.rs42L
-rw-r--r--crates/runtime/src/secret_file.rs331L
-rw-r--r--crates/runtime/src/secret_file/tests.rs356L
-rw-r--r--crates/runtime/src/service.rs149L
-rw-r--r--crates/runtime/src/signals.rs116L
-rw-r--r--crates/runtime/src/tracing.rs139L
-rw-r--r--crates/runtime/src/tracing/tests.rs137L
-rw-r--r--crates/runtime_distribution/Cargo.toml18L
-rw-r--r--crates/runtime_distribution/README23L
-rw-r--r--crates/runtime_distribution/src/error.rs51L
-rw-r--r--crates/runtime_distribution/src/lib.rs643L
-rw-r--r--crates/runtime_distribution/src/model.rs84L
-rw-r--r--crates/runtime_distribution/src/resolve.rs227L
-rw-r--r--crates/runtime_manager/Cargo.toml24L
-rw-r--r--crates/runtime_manager/README26L
-rw-r--r--crates/runtime_manager/src/error.rs126L
-rw-r--r--crates/runtime_manager/src/lib.rs362L
-rw-r--r--crates/runtime_manager/src/lifecycle.rs1477L
-rw-r--r--crates/runtime_manager/src/managed.rs1338L
-rw-r--r--crates/runtime_manager/src/model.rs162L
-rw-r--r--crates/runtime_manager/src/paths.rs396L
-rw-r--r--crates/runtime_manager/src/registry.rs296L
-rw-r--r--crates/runtime_paths/Cargo.toml17L
-rw-r--r--crates/runtime_paths/README25L
-rw-r--r--crates/runtime_paths/src/conventions.rs297L
-rw-r--r--crates/runtime_paths/src/error.rs35L
-rw-r--r--crates/runtime_paths/src/lib.rs345L
-rw-r--r--crates/runtime_paths/src/migration.rs184L
-rw-r--r--crates/runtime_paths/src/namespace.rs148L
-rw-r--r--crates/runtime_paths/src/platform.rs179L
-rw-r--r--crates/runtime_paths/src/roots.rs315L
-rw-r--r--crates/runtime_paths/src/service.rs650L
-rw-r--r--crates/secret_vault/Cargo.toml22L
-rw-r--r--crates/secret_vault/README23L
-rw-r--r--crates/secret_vault/src/backend.rs54L
-rw-r--r--crates/secret_vault/src/error.rs164L
-rw-r--r--crates/secret_vault/src/lib.rs56L
-rw-r--r--crates/secret_vault/src/policy.rs196L
-rw-r--r--crates/secret_vault/src/selection.rs323L
-rw-r--r--crates/secret_vault/src/vault.rs125L
-rw-r--r--crates/secret_vault/src/wrap.rs9L
-rw-r--r--crates/simplex_agent_proto/Cargo.toml22L
-rw-r--r--crates/simplex_agent_proto/README26L
-rw-r--r--crates/simplex_agent_proto/src/codec.rs929L
-rw-r--r--crates/simplex_agent_proto/src/error.rs122L
-rw-r--r--crates/simplex_agent_proto/src/lib.rs44L
-rw-r--r--crates/simplex_agent_proto/src/model.rs150L
-rw-r--r--crates/simplex_agent_proto/src/short_link.rs1092L
-rw-r--r--crates/simplex_agent_runtime/Cargo.toml38L
-rw-r--r--crates/simplex_agent_runtime/README25L
-rw-r--r--crates/simplex_agent_runtime/src/error.rs53L
-rw-r--r--crates/simplex_agent_runtime/src/lib.rs17L
-rw-r--r--crates/simplex_agent_runtime/src/runtime.rs4432L
-rw-r--r--crates/simplex_agent_runtime/src/types.rs68L
-rw-r--r--crates/simplex_agent_store/Cargo.toml49L
-rw-r--r--crates/simplex_agent_store/README24L
-rw-r--r--crates/simplex_agent_store/src/error.rs67L
-rw-r--r--crates/simplex_agent_store/src/lib.rs23L
-rw-r--r--crates/simplex_agent_store/src/store.rs4640L
-rw-r--r--crates/simplex_app_store/Cargo.toml38L
-rw-r--r--crates/simplex_app_store/src/error.rs63L
-rw-r--r--crates/simplex_app_store/src/lib.rs41L
-rw-r--r--crates/simplex_app_store/src/model.rs199L
-rw-r--r--crates/simplex_app_store/src/store.rs2734L
-rw-r--r--crates/simplex_chat_proto/Cargo.toml28L
-rw-r--r--crates/simplex_chat_proto/README23L
-rw-r--r--crates/simplex_chat_proto/src/codec.rs925L
-rw-r--r--crates/simplex_chat_proto/src/error.rs57L
-rw-r--r--crates/simplex_chat_proto/src/lib.rs39L
-rw-r--r--crates/simplex_chat_proto/src/model.rs702L
-rw-r--r--crates/simplex_chat_proto/src/version.rs120L
-rw-r--r--crates/simplex_chat_proto/tests/chat_proto.rs251L
-rw-r--r--crates/simplex_interop_tests/Cargo.toml36L
-rw-r--r--crates/simplex_interop_tests/README23L
-rw-r--r--crates/simplex_interop_tests/src/fixtures.rs39L
-rw-r--r--crates/simplex_interop_tests/src/lib.rs496L
-rw-r--r--crates/simplex_interop_tests/src/policy.rs280L
-rw-r--r--crates/simplex_smp_crypto/Cargo.toml52L
-rw-r--r--crates/simplex_smp_crypto/README22L
-rw-r--r--crates/simplex_smp_crypto/src/auth.rs343L
-rw-r--r--crates/simplex_smp_crypto/src/error.rs143L
-rw-r--r--crates/simplex_smp_crypto/src/lib.rs79L
-rw-r--r--crates/simplex_smp_crypto/src/message.rs326L
-rw-r--r--crates/simplex_smp_crypto/src/official_ratchet.rs1671L
-rw-r--r--crates/simplex_smp_crypto/src/ratchet.rs1418L
-rw-r--r--crates/simplex_smp_crypto/src/short_link.rs347L
-rw-r--r--crates/simplex_smp_proto/Cargo.toml20L
-rw-r--r--crates/simplex_smp_proto/README23L
-rw-r--r--crates/simplex_smp_proto/src/error.rs83L
-rw-r--r--crates/simplex_smp_proto/src/lib.rs53L
-rw-r--r--crates/simplex_smp_proto/src/uri.rs396L
-rw-r--r--crates/simplex_smp_proto/src/version.rs118L
-rw-r--r--crates/simplex_smp_proto/src/wire.rs2774L
-rw-r--r--crates/simplex_smp_transport/Cargo.toml35L
-rw-r--r--crates/simplex_smp_transport/README22L
-rw-r--r--crates/simplex_smp_transport/src/client.rs1226L
-rw-r--r--crates/simplex_smp_transport/src/error.rs142L
-rw-r--r--crates/simplex_smp_transport/src/executor.rs45L
-rw-r--r--crates/simplex_smp_transport/src/frame.rs333L
-rw-r--r--crates/simplex_smp_transport/src/handshake.rs494L
-rw-r--r--crates/simplex_smp_transport/src/lib.rs34L
-rw-r--r--crates/sp1_guest_trade/Cargo.toml36L
-rw-r--r--crates/sp1_guest_trade/src/bin/order_acceptance_guest.rs14L
-rw-r--r--crates/sp1_guest_trade/src/lib.rs1657L
-rw-r--r--crates/sp1_host_trade/Cargo.toml43L
-rw-r--r--crates/sp1_host_trade/build.rs26L
-rw-r--r--crates/sp1_host_trade/src/lib.rs3107L
-rw-r--r--crates/sp1_host_trade/tests/fixtures/remote_returned_proof_order_acceptance_core_v1.json136L
-rw-r--r--crates/sql_core/Cargo.toml30L
-rw-r--r--crates/sql_core/README24L
-rw-r--r--crates/sql_core/src/error.rs59L
-rw-r--r--crates/sql_core/src/executor_embedded.rs43L
-rw-r--r--crates/sql_core/src/executor_sqlite.rs80L
-rw-r--r--crates/sql_core/src/lib.rs64L
-rw-r--r--crates/sql_core/src/migrations.rs87L
-rw-r--r--crates/sql_core/src/sqlite_util.rs59L
-rw-r--r--crates/sql_core/src/utils.rs167L
-rw-r--r--crates/sql_core/tests/coverage.rs674L
-rw-r--r--crates/test_fixtures/Cargo.toml15L
-rw-r--r--crates/test_fixtures/README24L
-rw-r--r--crates/test_fixtures/src/lib.rs167L
-rw-r--r--crates/trade/Cargo.toml85L
-rw-r--r--crates/trade/README23L
-rw-r--r--crates/trade/src/dto.rs315L
-rw-r--r--crates/trade/src/lib.rs12L
-rw-r--r--crates/trade/src/listing/codec.rs2501L
-rw-r--r--crates/trade/src/listing/draft.rs503L
-rw-r--r--crates/trade/src/listing/mod.rs283L
-rw-r--r--crates/trade/src/listing/model.rs17L
-rw-r--r--crates/trade/src/listing/mutation.rs459L
-rw-r--r--crates/trade/src/listing/price_ext.rs215L
-rw-r--r--crates/trade/src/listing/validation.rs535L
-rw-r--r--crates/trade/src/order.rs4493L
-rw-r--r--crates/trade/src/prelude.rs4L
-rw-r--r--crates/trade/src/validation_receipt.rs1692L
-rw-r--r--crates/types/Cargo.toml20L
-rw-r--r--crates/types/README20L
-rw-r--r--crates/types/src/lib.rs1L
-rw-r--r--crates/types/src/types.rs59L
-rw-r--r--crates/types/tests/types.rs49L
-rw-r--r--flake.lock119L
-rw-r--r--flake.nix75L
-rw-r--r--rust-toolchain-coverage.toml10L
-rw-r--r--rust-toolchain.toml3L
-rw-r--r--tools/xtask/Cargo.toml20L
-rw-r--r--tools/xtask/README24L
-rw-r--r--tools/xtask/src/contract.rs6484L
-rw-r--r--tools/xtask/src/coverage.rs5183L
-rw-r--r--tools/xtask/src/hygiene.rs483L
-rw-r--r--tools/xtask/src/main.rs239L
-rw-r--r--treefmt.nix12L