Skip to content

Commit

Permalink
Create extension
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpursley committed Jun 23, 2024
1 parent bf1b0c9 commit e9309ce
Show file tree
Hide file tree
Showing 12 changed files with 3,426 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[target.'cfg(target_os="macos")']
# Postgres symbols won't be available until runtime
rustflags = ["-Clink-arg=-Wl,-undefined,dynamic_lookup"]
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
pull_request:
branches:
- main
paths-ignore:
- '*.md'
push:
branches:
- main
paths-ignore:
- '*.md'
release:
types:
- created

jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.77.2
components: clippy, rustfmt
- run: make init
- run: make lint
- run: make test
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.DS_Store
.idea/
/target
*.iml
**/*.rs.bk
.scratch
.trunk
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# pg_smtp_client

## Setup

```shell
make init
```

## Running the Extension Locally

```shell
make run
```

## Running Unit Tests

```shell
make test
```
Loading

0 comments on commit e9309ce

Please sign in to comment.