Files
nats-server/go.mod
Neil 7781407618 v2.10: Use Go 1.21 in nightlies, update rand usage (#4490)
- Use Go 1.21 in nightlies
- Both rand.Seed and rand.Read are both deprecated, remove its use to
fix staticcheck errors

```go
server/client.go:95:2: SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative 
  has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. 
  Programs that call Seed with a known value to get a specific sequence of results should use 
  New(NewSource(seed)) to obtain a local random generator. (staticcheck)

server/jetstream_test.go:20399:2: SA1019: rand.Read has been deprecated since Go 1.20 
  because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
```
2023-09-06 10:22:25 +01:00

22 lines
496 B
Modula-2

module github.com/nats-io/nats-server/v2
go 1.20
require (
github.com/klauspost/compress v1.16.7
github.com/minio/highwayhash v1.0.2
github.com/nats-io/jwt/v2 v2.5.0
github.com/nats-io/nats.go v1.28.0
github.com/nats-io/nkeys v0.4.4
github.com/nats-io/nuid v1.0.1
go.uber.org/automaxprocs v1.5.3
golang.org/x/crypto v0.12.0
golang.org/x/sys v0.11.0
golang.org/x/time v0.3.0
)
require (
github.com/golang/protobuf v1.4.2 // indirect
google.golang.org/protobuf v1.23.0 // indirect
)